diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:45:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:45:20 +0000 |
commit | 9a08cbfcc1ef900a04580f35afe2a4592d7d6030 (patch) | |
tree | 004cc7027bca2f2c0bcb5806527c8e0c48df2d6e /lib/compat/Makefile.am | |
parent | Initial commit. (diff) | |
download | dpkg-56b3e277e23b0b6313500e1e330e80b5ab6e6522.tar.xz dpkg-56b3e277e23b0b6313500e1e330e80b5ab6e6522.zip |
Adding upstream version 1.19.8.upstream/1.19.8upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | lib/compat/Makefile.am | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/lib/compat/Makefile.am b/lib/compat/Makefile.am new file mode 100644 index 0000000..4477c27 --- /dev/null +++ b/lib/compat/Makefile.am @@ -0,0 +1,101 @@ +## 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 \ + md5.c md5.h \ + strchrnul.c \ + strnlen.c \ + strndup.c \ + strsignal.c \ + snprintf.c vsnprintf.c \ + asprintf.c vasprintf.c \ + alphasort.c \ + scandir.c \ + unsetenv.c + +if HAVE_SYS_ERRLIST +libcompat_test_la_SOURCES += strerror.c +endif + +if WITH_LIBSELINUX +libcompat_test_la_SOURCES += selinux.c +endif + +libcompat_la_SOURCES = \ + empty.c \ + compat.h \ + gettext.h + +if !HAVE_LIBMD_MD5 +libcompat_la_SOURCES += md5.c md5.h +endif + +if !HAVE_GETOPT +libcompat_la_SOURCES += getopt.c getopt.h +else +if !HAVE_GETOPT_LONG +libcompat_la_SOURCES += getopt.c getopt.h +endif +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_STRCHRNUL +libcompat_la_SOURCES += strchrnul.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_LIBSELINUX +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 |