summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 908a1f1d1ab570a3f84f2c7345a3b120860f5644 (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
101
102
103
104
105
106
107
108
109
110
111
112
113
114

lib_LTLIBRARIES = liboidaglibext.la 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 -L.libs -loidaglibext

liboidadisass_la_LIBADD =				\
	analysis/libanalysis.la				\
	arch/libarch.la						\
	debug/libdebug.la					\
	debug/remgdb/libdebugremgdb.la		\
	debug/ptrace/libdebugptrace.la		\
	decomp/libdecomp.la					\
	format/libformat.la


#--- liboidaglibext

liboidaglibext_la_SOURCES =

liboidaglibext_la_LDFLAGS = $(LIBGTK_LIBS) $(LIBGRAPH_LIBS)

liboidaglibext_la_LIBADD =						\
	glibext/libglibext.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 =							\
	panels/libpanels.la


#--- liboidaplugin

liboidaplugin_la_SOURCES =

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

liboidaplugin_la_LIBADD =						\
	plugins/libplugins.la



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

openida_SOURCES = 						\
	configuration.h configuration.c		\
	editor.h editor.c					\
	main.c								\
	params.h params.c					\
	project.h project.c					\
	shell.h shell.c						\
	xdg.h xdg.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  -loidaglibext -loidadisass -loidagtkext			\
	-Lcommon/.libs -lcommon						\
	-Lpanels/.libs -lpanels						\
	-Lplugins/.libs -lplugins


openida_LDADD = $(LIBINTL) 				\
	dialogs/libdialogs.a 				\
	gui/libgui.la



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

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

SUBDIRS = glibext gtkext analysis arch format common debug decomp dialogs graph gui panels plugins