blob: b1c19e11dc90648aa09a555ae16ad6f3733d8520 (
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
|
## Process this file with automake to produce Makefile.in
AM_CPPFLAGS = \
-idirafter $(top_srcdir)/lib/compat \
-I$(top_builddir)
noinst_LTLIBRARIES = libcompat-test.la libcompat.la
libcompat_test_la_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_LIBCOMPAT=1
libcompat_test_la_SOURCES = \
compat.h \
strnlen.c \
strndup.c \
strerror.c \
strsignal.c \
snprintf.c vsnprintf.c \
asprintf.c vasprintf.c \
alphasort.c \
scandir.c \
unsetenv.c
if WITH_SELINUX
libcompat_test_la_SOURCES += selinux.c
endif
libcompat_la_SOURCES = \
empty.c \
compat.h \
gettext.h
# FIXME: unconditionally include these for now.
libcompat_la_SOURCES += md5.c md5.h
if !HAVE_GETOPT
libcompat_la_SOURCES += getopt.c getopt.h
endif
if !HAVE_GETOPT_LONG
libcompat_la_SOURCES += getopt1.c
endif
if !HAVE_OBSTACK_FREE
libcompat_la_SOURCES += obstack.c obstack.h
endif
if !HAVE_STRNLEN
libcompat_la_SOURCES += strnlen.c
endif
if !HAVE_STRNDUP
libcompat_la_SOURCES += strndup.c
endif
if !HAVE_STRERROR
libcompat_la_SOURCES += strerror.c
endif
if !HAVE_STRSIGNAL
libcompat_la_SOURCES += strsignal.c
endif
if WITH_SELINUX
if !HAVE_SETEXECFILECON
libcompat_la_SOURCES += selinux.c
endif
endif
if !HAVE_C99_SNPRINTF
libcompat_la_SOURCES += snprintf.c vsnprintf.c
endif
if !HAVE_ASPRINTF
libcompat_la_SOURCES += asprintf.c vasprintf.c
endif
if !HAVE_ALPHASORT
libcompat_la_SOURCES += alphasort.c
endif
if !HAVE_SCANDIR
libcompat_la_SOURCES += scandir.c
endif
if !HAVE_UNSETENV
libcompat_la_SOURCES += unsetenv.c
endif
|