summaryrefslogtreecommitdiff
path: root/src/lib/evil
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-04-13 15:55:31 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-04-14 15:52:50 -0700
commit4c921204575a8bc96d9449810ab963d0461c6152 (patch)
tree4315118990d0fc30551e288203d5aa9d6cebcac9 /src/lib/evil
parenta73ca351de75ae39743db6bbe1a89243988ba970 (diff)
evil: make it possible to build the library alone.
So I have been battling with autotools on this for a full week now, and what we want is basically impossible. A.k.a. one file definition and possibility to do a full build or just a partial build of efl. Even moving to just partial build require to land a massive patch that change everything in our build system and this is just not a road I want to take. For reference, if one day automake allow the use of any kind of variable (autoconf AC_SUBST expansion or $()) in the _SOURCES parameter, it will be possible to fix. Alternatively if they allow to build subdirectory before they do BUILT_SOURCE, it would make it possible to incrementaly move to only partial build. In the mean time, a less problematic solution is to duplicate source code.
Diffstat (limited to 'src/lib/evil')
-rw-r--r--src/lib/evil/Makefile.am81
1 files changed, 81 insertions, 0 deletions
diff --git a/src/lib/evil/Makefile.am b/src/lib/evil/Makefile.am
new file mode 100644
index 0000000..2ac122f
--- /dev/null
+++ b/src/lib/evil/Makefile.am
@@ -0,0 +1,81 @@
1if HAVE_WINDOWS
2
3### Library
4
5lib_LTLIBRARIES = libevil.la
6
7install_evilheadersdir = $(includedir)/evil-@VMAJ@
8dist_install_evilheaders_DATA = \
9Evil.h \
10evil_dlfcn.h \
11evil_fcntl.h \
12evil_inet.h \
13evil_langinfo.h \
14evil_locale.h \
15evil_macro.h \
16evil_macro_pop.h \
17evil_macro_wrapper.h \
18evil_main.h \
19evil_stdio.h \
20evil_stdlib.h \
21evil_string.h \
22evil_time.h \
23evil_unistd.h \
24evil_util.h \
25dirent.h \
26fnmatch.h \
27pwd.h
28
29evilmmanheadersdir = $(includedir)/evil-@VMAJ@/sys
30dist_evilmmanheaders_DATA = \
31sys/mman.h
32
33libevil_la_SOURCES = \
34evil_dirent.c \
35evil_dlfcn.c \
36evil_fcntl.c \
37evil_fnmatch.c \
38evil_fnmatch_list_of_states.c \
39evil_inet.c \
40evil_langinfo.c \
41evil_locale.c \
42evil_link_xp.cpp \
43evil_main.c \
44evil_mman.c \
45evil_pwd.c \
46evil_stdio.c \
47evil_stdlib.c \
48evil_string.c \
49evil_time.c \
50evil_unistd.c \
51evil_util.c \
52evil_private.h \
53evil_fnmatch_private.h
54
55libevil_la_CPPFLAGS = @EVIL_CPPFLAGS@
56libevil_la_CFLAGS = @EVIL_CFLAGS@ @EVIL_CFLAGS_WRN@ -D__USE_MINGW_ANSI_STDIO
57libevil_la_CXXFLAGS = @EVIL_CXXFLAGS@ @EVIL_CFLAGS@
58libevil_la_LIBADD = @EVIL_SUBBUILD_LIBS@
59libevil_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
60
61# regex
62
63dist_install_evilheaders_DATA += \
64regex/regex.h
65
66libevil_la_SOURCES += \
67regex/regcomp.c \
68regex/regerror.c \
69regex/regexec.c \
70regex/regfree.c \
71regex/cclass.h \
72regex/cname.h \
73regex/regex2.h \
74regex/utils.h
75
76libevil_la_CPPFLAGS += \
77-I$(top_srcdir)/src/lib/evil \
78-I$(top_srcdir)/src/lib/evil/regex \
79-DPOSIX_MISTAKE
80
81endif