summaryrefslogtreecommitdiff
path: root/src/Makefile_Embryo.am
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-11-01 12:56:52 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-11-01 12:56:52 +0000
commit58a9a0ad574c417bbe56043f151fc91ceba78822 (patch)
tree7578110d789dfdd63bee714449f952bf13d27a23 /src/Makefile_Embryo.am
parentede6b6ba795c688c6b9555c741d7b06c3fa712ef (diff)
merge: don't use recursive subdirs. Compilation should be faster.
Please check. note1: Only lib and bin for now, but should be extended to other stuff note2: distcheck does not work because eo_suite is failing. SVN revision: 78758
Diffstat (limited to 'src/Makefile_Embryo.am')
-rw-r--r--src/Makefile_Embryo.am91
1 files changed, 91 insertions, 0 deletions
diff --git a/src/Makefile_Embryo.am b/src/Makefile_Embryo.am
new file mode 100644
index 0000000000..05bdd417c5
--- /dev/null
+++ b/src/Makefile_Embryo.am
@@ -0,0 +1,91 @@
1
2### Library
3
4lib_LTLIBRARIES += lib/embryo/libembryo.la
5
6installed_embryomainheadersdir = $(includedir)/embryo-@VMAJ@
7dist_installed_embryomainheaders_DATA = lib/embryo/Embryo.h
8
9lib_embryo_libembryo_la_SOURCES = \
10lib/embryo/embryo_amx.c \
11lib/embryo/embryo_args.c \
12lib/embryo/embryo_float.c \
13lib/embryo/embryo_main.c \
14lib/embryo/embryo_rand.c \
15lib/embryo/embryo_str.c \
16lib/embryo/embryo_time.c \
17lib/embryo/embryo_private.h
18
19lib_embryo_libembryo_la_CPPFLAGS = \
20-I$(top_srcdir)/src/lib/eina \
21-I$(top_builddir)/src/lib/eina \
22-DPACKAGE_BIN_DIR=\"$(bindir)\" \
23-DPACKAGE_LIB_DIR=\"$(libdir)\" \
24-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
25-DEFL_EMBRYO_BUILD \
26@EFL_CFLAGS@
27
28if HAVE_WINDOWS
29lib_embryo_libembryo_la_CPPFLAGS += \
30-I$(top_srcdir)/src/lib/evil \
31-I$(top_builddir)/src/lib/evil
32endif
33
34lib_embryo_libembryo_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la
35
36if HAVE_WINDOWS
37lib_embryo_libembryo_la_LIBADD += $(top_builddir)/src/lib/evil/libevil.la
38endif
39
40lib_embryo_libembryo_la_LIBADD += -lm
41
42lib_embryo_libembryo_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
43
44### Binary
45
46bin_PROGRAMS += bin/embryo/embryo_cc
47
48bin_embryo_embryo_cc_SOURCES = \
49bin/embryo/embryo_cc_amx.h \
50bin/embryo/embryo_cc_sc.h \
51bin/embryo/embryo_cc_sc1.c \
52bin/embryo/embryo_cc_sc2.c \
53bin/embryo/embryo_cc_sc3.c \
54bin/embryo/embryo_cc_sc4.c \
55bin/embryo/embryo_cc_sc5.c \
56bin/embryo/embryo_cc_sc6.c \
57bin/embryo/embryo_cc_sc7.c \
58bin/embryo/embryo_cc_scexpand.c \
59bin/embryo/embryo_cc_sclist.c \
60bin/embryo/embryo_cc_scvars.c \
61bin/embryo/embryo_cc_prefix.c \
62bin/embryo/embryo_cc_prefix.h
63
64bin_embryo_embryo_cc_CPPFLAGS = \
65-I$(top_srcdir)/src/lib/eina \
66-I$(top_srcdir)/src/lib/embryo \
67-I$(top_builddir)/src/lib/eina \
68-I$(top_builddir)/src/lib/embryo \
69-DPACKAGE_BIN_DIR=\"$(bindir)\" \
70-DPACKAGE_LIB_DIR=\"$(libdir)\" \
71-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
72@EFL_CFLAGS@
73
74if HAVE_WINDOWS
75bin_embryo_embryo_cc_CPPFLAGS += \
76-I$(top_srcdir)/src/lib/evil \
77-I$(top_builddir)/src/lib/evil
78endif
79
80bin_embryo_embryo_cc_LDADD = \
81$(top_builddir)/src/lib/embryo/libembryo.la \
82$(top_builddir)/src/lib/eina/libeina.la
83
84if HAVE_WINDOWS
85bin_embryo_embryo_cc_LDADD += $(top_builddir)/src/lib/evil/libevil.la
86endif
87
88EXTRA_DIST += \
89bin/embryo/embryo_cc_sc5.scp \
90bin/embryo/embryo_cc_sc7.scp
91