summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: b7c2fa53b903a17fe1b0f26abf76d5b14737c955 (plain)
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
76
77
78
79
80
81
82
83
84

lib_LTLIBRARIES = liboidadisass.la liboidagtkext.la

bin_PROGRAMS=openida



############################################################
# Bibliothèques dynamiques
############################################################

#--- liboidadisas

liboidadisass_la_SOURCES =

liboidadisass_la_LDFLAGS = $(LIBGTK_LIBS) $(LIBXML_LIBS)	\
	-Lcommon/.libs -lcommon

liboidadisass_la_LIBADD =						\
	analysis/libanalysis.la						\
	arch/libarch.la								\
	arch/x86/libarchx86.la						\
	format/libformat.la							\
	format/dwarf/libformatdwarf.la				\
	format/elf/libformatelf.la					\
	format/java/libformatjava.la				\
	format/mangling/libformatmangling.la		\
	format/pe/libformatpe.la


#--- liboidagtkext

liboidagtkext_la_SOURCES =

liboidagtkext_la_LDFLAGS = $(LIBGTK_LIBS)		\
	-L.libs -loidadisass

liboidagtkext_la_LIBADD =						\
	gtkext/libgtkext.la



############################################################
# Programme principal
############################################################

openida_SOURCES = 						\
	dlg_sections.h dlg_sections.c		\
	editor.c							\
	pan_strings.h pan_strings.c			\
	pan_symbols.h pan_symbols.c			\
	project.h project.c					\
	shell.h shell.c						\
	xdg.h xdg.c							\
	xml.h xml.c


INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/intl $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) `pkg-config --cflags gthread-2.0` $(LIBPYTHON_CFLAGS) $(LIBVTE_CFLAGS)

AM_CPPFLAGS = 

AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS)


openida_LDFLAGS = $(LIBGTK_LIBS) -L/usr/X11R6/lib -ldl -lm $(LIBXML_LIBS) `pkg-config --libs gthread-2.0` $(LIBPYTHON_LIBS) $(LIBVTE_LIBS) \
	-L.libs -loidadisass -loidagtkext			\
	-Lcommon/.libs -lcommon						\
	-Lpanel/.libs -lpanel						\
	-Lplugins/.libs -lplugins


openida_LDADD = $(LIBINTL) 				\
	debug/libdebug.a					\
	debug/ptrace/libdebugptrace.a



############################################################
# Le reste du monde
############################################################

# gtkext doit être traité en premier, à cause des marshals GLib

SUBDIRS = gtkext analysis arch format common debug panel plugins