summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 347980bf8bbec1ef4879774fc08828fc012a856b (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100

lib_LTLIBRARIES = liboidadisass.la liboidagtkext.la liboidagui.la liboidaplugin.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								\
	format/libformat.la


#--- liboidagtkext

liboidagtkext_la_SOURCES =

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

liboidagtkext_la_LIBADD =						\
	graph/libgraph.la							\
	gtkext/libgtkext.la


#--- liboidagui

liboidagui_la_SOURCES =

liboidagui_la_LDFLAGS = $(LIBGTK_LIBS)			\
	-L.libs -loidagtkext

liboidagui_la_LIBADD =							\
	panel/libpanel.la


#--- liboidaplugin

liboidaplugin_la_SOURCES =

liboidaplugin_la_LDFLAGS = $(LIBGTK_LIBS)		\
	-L.libs -loidadisass -loidagui

liboidaplugin_la_LIBADD =						\
	plugins/libplugins.la



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

openida_SOURCES = 						\
	dlg_sections.h dlg_sections.c		\
	editor.c							\
	pan_strings.h pan_strings.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 graph panel plugins