summaryrefslogtreecommitdiff
path: root/legacy/evil/src/lib/Makefile.am
blob: bbcb1729eda7caf39d0db587096e73f72202f4d5 (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
115
116
117
118
119
120
121
122
123
124

MAINTAINERCLEANFILES = Makefile.in

lib_LTLIBRARIES = libevil.la libdl.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 dlfcn.h

if EVIL_HAVE_WINCE

nobase_dist_stdheaders_DATA += mingw32ce/errno.h

endif

# gdtoa
libevil_la_SOURCES = \
gdtoa/arithchk.c \
gdtoa/dmisc.c \
gdtoa/dtoa.c \
gdtoa/gd_arith.h \
gdtoa/g_dfmt.c \
gdtoa/gd_qnan.h \
gdtoa/gdtoa.c \
gdtoa/gdtoa_fltrnds.h \
gdtoa/gdtoa.h \
gdtoa/gdtoaimp.h \
gdtoa/gethex.c \
gdtoa/g_ffmt.c \
gdtoa/g__fmt.c \
gdtoa/gmisc.c \
gdtoa/g_xfmt.c \
gdtoa/hd_init.c \
gdtoa/hexnan.c \
gdtoa/misc.c \
gdtoa/qnan.c \
gdtoa/smisc.c \
gdtoa/strtodg.c \
gdtoa/strtof.c \
gdtoa/strtopx.c \
gdtoa/sum.c \
gdtoa/ulp.c

#evil
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 = @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

libdl_la_SOURCES = dlfcn.c

libdl_la_CPPFLAGS = @win32_cppflags@ -DEFL_EVIL_DLFCN_BUILD -DPSAPI_VERSION=1
libdl_la_CFLAGS = @win32_cflags@
libdl_la_LIBADD = $(top_builddir)/src/lib/libevil.la $(EFL_MPATROL_LIBS) @win32_dl_libs@
libdl_la_LDFLAGS = -no-undefined -Wl,--enable-auto-import -version-info @version_info@

EXTRA_DIST = gdtoa/README gdtoa/README.mingw

install-data-hook:
	rm -f $(libdir)/libevil.la $(libdir)/libdl.la