forked from scanmem/scanmem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
75 lines (58 loc) · 1.32 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = test
if ENABLE_GUI
SUBDIRS += po gui
endif
# '-O2 -g' are added by `configure`, unless the user overrides CFLAGS
AM_CFLAGS = -std=gnu99 -Wall
# Utilities library, statically linked in sm and libsm
noinst_LTLIBRARIES = libutil.la
libutil_la_SOURCES = common.h \
common.c \
show_message.c
# libscanmem
lib_LTLIBRARIES = libscanmem.la
libscanmem_la_includedir = $(includedir)/scanmem
libscanmem_la_include_HEADERS = commands.h \
list.h \
maps.h \
scanmem.h \
scanroutines.h \
show_message.h \
targetmem.h \
value.h
libscanmem_la_SOURCES = commands.c \
ptrace.c \
handlers.h \
handlers.c \
interrupt.h \
interrupt.c \
licence.h \
maps.c \
scanmem.c \
scanroutines.c \
sets.h \
sets.c \
targetmem.c \
value.c
if !HAVE_GETLINE
libscanmem_la_SOURCES += getline.h \
getline.c
endif
libscanmem_la_LIBADD = libutil.la
libscanmem_la_LDFLAGS = -version-info 1:0:0 \
-export-symbols-regex '^sm_'
# scanmem CLI
bin_PROGRAMS = scanmem
scanmem_SOURCES = menu.h \
menu.c \
main.c
if !WITH_READLINE
scanmem_SOURCES += readline.h \
readline.c
endif
scanmem_LDADD = libutil.la libscanmem.la
# Misc
dist_man_MANS = scanmem.1
dist_doc_DATA = README
EXTRA_DIST = gpl-3.0.txt lgpl-3.0.txt