summaryrefslogtreecommitdiff
path: root/legacy/evil/src/lib/Makefile.am
blob: 976ee3b73aecec4bfb9889bbe4009a93dad9b604 (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

MAINTAINERCLEANFILES = Makefile.in

SUBDIRS = gdtoa . dlfcn

lib_LTLIBRARIES = libevil.la

install_evilheadersdir = $(includedir)/evil-@VMAJ@
dist_install_evilheaders_DATA = \
Evil.h \
evil_fcntl.h \
evil_inet.h \
evil_langinfo.h \
evil_libgen.h \
evil_macro.h \
evil_macro_pop.h \
evil_main.h \
evil_print.h \
evil_stdlib.h \
evil_stdio.h \
evil_string.h \
evil_time.h \
evil_unistd.h \
evil_util.h

stdheadersdir = $(includedir)/evil-@VMAJ@
nobase_dist_stdheaders_DATA = pwd.h sys/mman.h fnmatch.h dirent.h

if EVIL_HAVE_WINCE

nobase_dist_stdheaders_DATA += mingw32ce/errno.h

endif

libevil_la_SOURCES = \
evil_dirent.c \
evil_fcntl.c \
evil_fnmatch.c \
evil_fnmatch_list_of_states.c \
evil_inet.c \
evil_langinfo.c \
evil_libgen.c \
evil_main.c \
evil_mman.c \
evil_pformata.c \
evil_pformatw.c \
evil_printa.c \
evil_printw.c \
evil_pwd.c \
evil_stdlib.c \
evil_stdio.c \
evil_string.c \
evil_time.c \
evil_unistd.c \
evil_util.c \
evil_uuid.c \
evil_pformat.h \
evil_private.h \
evil_fnmatch_private.h

if EVIL_HAVE_WINCE

libevil_la_SOURCES += evil_errno.c evil_link_ce.c

else

libevil_la_SOURCES += evil_link_xp.cpp

endif

libevil_la_CPPFLAGS = @win32_cppflags@ -DEFL_EVIL_BUILD
libevil_la_CFLAGS = @win32_cflags@
libevil_la_CXXFLAGS = @win32_cxxflags@
libevil_la_LIBADD = gdtoa/libgdtoa.la @win32_libs@ $(EFL_MPATROL_LIBS)
libevil_la_LDFLAGS = -no-undefined -Wl,--enable-auto-import -version-info @version_info@

if EVIL_HAVE_WINCE

libevil_la_LINK = $(LINK) $(libevil_la_LDFLAGS)

else

libevil_la_LINK = $(CXXLINK) $(libevil_la_LDFLAGS)

endif

install-data-hook:
	sed -i -e 's/-luuid//g' $(libdir)/$(lib_LTLIBRARIES)