summaryrefslogtreecommitdiff
path: root/src/Makefile_Evil.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_Evil.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_Evil.am')
-rw-r--r--src/Makefile_Evil.am180
1 files changed, 180 insertions, 0 deletions
diff --git a/src/Makefile_Evil.am b/src/Makefile_Evil.am
new file mode 100644
index 0000000000..eb263c0453
--- /dev/null
+++ b/src/Makefile_Evil.am
@@ -0,0 +1,180 @@
1
2### Library
3
4lib_LTLIBRARIES += lib/evil/libevil.la lib/evil/libdl.la
5
6install_evilheadersdir = $(includedir)/evil-@VMAJ@
7dist_install_evilheaders_DATA = \
8lib/evil/Evil.h \
9lib/evil/evil_fcntl.h \
10lib/evil/evil_inet.h \
11lib/evil/evil_langinfo.h \
12lib/evil/evil_libgen.h \
13lib/evil/evil_macro.h \
14lib/evil/evil_macro_pop.h \
15lib/evil/evil_main.h \
16lib/evil/evil_print.h \
17lib/evil/evil_stdlib.h \
18lib/evil/evil_stdio.h \
19lib/evil/evil_string.h \
20lib/evil/evil_time.h \
21lib/evil/evil_unistd.h \
22lib/evil/evil_util.h
23
24evilstdheadersdir = $(includedir)/evil-@VMAJ@
25nobase_dist_evilstdheaders_DATA = \
26lib/evil/pwd.h \
27lib/evil/sys/mman.h \
28lib/evil/fnmatch.h \
29lib/evil/dirent.h \
30lib/evil/dlfcn.h
31
32if HAVE_WINCE
33nobase_dist_evilstdheaders_DATA += lib/evil/mingw32ce/errno.h
34endif
35
36# gdtoa
37lib_evil_libevil_la_SOURCES = \
38lib/evil/gdtoa/arithchk.c \
39lib/evil/gdtoa/dmisc.c \
40lib/evil/gdtoa/dtoa.c \
41lib/evil/gdtoa/gd_arith.h \
42lib/evil/gdtoa/g_dfmt.c \
43lib/evil/gdtoa/gd_qnan.h \
44lib/evil/gdtoa/gdtoa.c \
45lib/evil/gdtoa/gdtoa_fltrnds.h \
46lib/evil/gdtoa/gdtoa.h \
47lib/evil/gdtoa/gdtoaimp.h \
48lib/evil/gdtoa/gethex.c \
49lib/evil/gdtoa/g_ffmt.c \
50lib/evil/gdtoa/g__fmt.c \
51lib/evil/gdtoa/gmisc.c \
52lib/evil/gdtoa/g_xfmt.c \
53lib/evil/gdtoa/hd_init.c \
54lib/evil/gdtoa/hexnan.c \
55lib/evil/gdtoa/misc.c \
56lib/evil/gdtoa/qnan.c \
57lib/evil/gdtoa/smisc.c \
58lib/evil/gdtoa/strtodg.c \
59lib/evil/gdtoa/strtof.c \
60lib/evil/gdtoa/strtopx.c \
61lib/evil/gdtoa/sum.c \
62lib/evil/gdtoa/ulp.c
63
64#evil
65lib_evil_libevil_la_SOURCES += \
66lib/evil/evil_dirent.c \
67lib/evil/evil_fcntl.c \
68lib/evil/evil_fnmatch.c \
69lib/evil/evil_fnmatch_list_of_states.c \
70lib/evil/evil_inet.c \
71lib/evil/evil_langinfo.c \
72lib/evil/evil_libgen.c \
73lib/evil/evil_main.c \
74lib/evil/evil_mman.c \
75lib/evil/evil_pformata.c \
76lib/evil/evil_pformatw.c \
77lib/evil/evil_printa.c \
78lib/evil/evil_printw.c \
79lib/evil/evil_pwd.c \
80lib/evil/evil_stdlib.c \
81lib/evil/evil_stdio.c \
82lib/evil/evil_string.c \
83lib/evil/evil_time.c \
84lib/evil/evil_unistd.c \
85lib/evil/evil_util.c \
86lib/evil/evil_uuid.c \
87lib/evil/evil_pformat.h \
88lib/evil/evil_private.h \
89lib/evil/evil_fnmatch_private.h
90
91if HAVE_WINCE
92lib_evil_libevil_la_SOURCES += lib/evil/evil_errno.c lib/evil/evil_link_ce.c
93else
94lib_evil_libevil_la_SOURCES += lib/evil/evil_link_xp.cpp
95endif
96
97lib_evil_libevil_la_CPPFLAGS = \
98-I$(top_srcdir)/src/lib/evil \
99-I$(top_builddir)/src/lib/evil \
100@EVIL_CPPFLAGS@
101lib_evil_libevil_la_CFLAGS = @EVIL_CFLAGS@
102lib_evil_libevil_la_CXXFLAGS = @EVIL_CXXFLAGS@
103lib_evil_libevil_la_LIBADD = @EVIL_LIBS@
104lib_evil_libevil_la_LDFLAGS = -no-undefined -version-info @version_info@
105
106if HAVE_WINCE
107lib_evil_libevil_la_LINK = $(LINK) $(libevil_la_LDFLAGS)
108else
109lib_evil_libevil_la_LINK = $(CXXLINK) $(libevil_la_LDFLAGS)
110endif
111
112lib_evil_libdl_la_SOURCES = lib/evil/dlfcn.c
113
114lib_evil_libdl_la_CPPFLAGS = \
115-I$(top_srcdir)/src/lib/evil \
116-I$(top_builddir)/src/lib/evil \
117@EVIL_DLFCN_CPPFLAGS@
118
119lib_evil_libdl_la_CFLAGS = @EVIL_CFLAGS@
120
121lib_evil_libdl_la_LIBADD = $(top_builddir)/src/lib/evil/libevil.la @EVIL_DLFCN_LIBS@
122
123lib_evil_libdl_la_LDFLAGS = -no-undefined -version-info @version_info@
124
125EXTRA_DIST += lib/evil/gdtoa/README lib/evil/gdtoa/README.mingw
126
127### Binary
128
129bin_PROGRAMS += bin/evil/evil_suite bin/evil/test_evil
130
131bin_evil_evil_suite_SOURCES = \
132bin/evil/evil_suite.c \
133bin/evil/evil_test_dlfcn.c \
134bin/evil/evil_test_environment.c \
135bin/evil/evil_test_gettimeofday.c \
136bin/evil/evil_test_link.c \
137bin/evil/evil_test_memcpy.c \
138bin/evil/evil_test_mkstemp.c \
139bin/evil/evil_test_pipe.c \
140bin/evil/evil_test_print.c \
141bin/evil/evil_test_realpath.c \
142bin/evil/evil_test_util.c \
143bin/evil/evil_suite.h \
144bin/evil/evil_test_dlfcn.h \
145bin/evil/evil_test_environment.h \
146bin/evil/evil_test_gettimeofday.h \
147bin/evil/evil_test_link.h \
148bin/evil/evil_test_memcpy.h \
149bin/evil/evil_test_mkstemp.h \
150bin/evil/evil_test_pipe.h \
151bin/evil/evil_test_print.h \
152bin/evil/evil_test_realpath.h \
153bin/evil/evil_test_util.h
154
155if HAVE_WINCE
156bin_evil_evil_suite_SOURCES += bin/evil/memcpy_glibc_arm.S
157#else
158#suite_SOURCES += bin/evil/memcpy_glibc_i686.S
159endif
160
161bin_evil_evil_suite_CPPFLAGS = \
162-I$(top_srcdir)/src/lib/evil \
163-I$(top_builddir)/src/lib/evil \
164@EFL_CFLAGS@ \
165@EVIL_CPPFLAGS@
166
167if HAVE_WINDOWS
168bin_evil_evil_suite_CPPFLAGS += \
169-I$(top_srcdir)/src/lib/evil \
170-I$(top_builddir)/src/lib/evil
171endif
172
173bin_evil_evil_suite_LDADD = \
174$(top_builddir)/src/lib/evil/libevil.la \
175$(top_builddir)/src/lib/eina/libdl.la \
176-lm
177
178bin_evil_test_evil_SOURCES = bin/evil/test_evil.c
179
180bin_evil_test_evil_LDADD = $(top_builddir)/src/lib/evil/libevil.la