-## Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+## Copyright (C) 1996-2017 The Squid Software Foundation and contributors
##
## Squid software is distributed under GPLv2+ license and includes
## contributions from numerous individuals and organizations.
include $(top_srcdir)/src/Common.am
-
# Ideally this would be 100% inline functions and macro wrappers.
# Port Specific Configurations
-noinst_LTLIBRARIES = libcompat-squid.la
-libcompat_squid_la_SOURCES = \
+noinst_LTLIBRARIES = libcompatsquid.la
+libcompatsquid_la_SOURCES = \
assert.cc \
assert.h \
cmsg.h \
cppunit.h \
debug.cc \
debug.h \
- drand48.h \
eui64_aton.h \
eui64_aton.c \
fdsetsize.h \
+ getaddrinfo.cc \
getaddrinfo.h \
+ getnameinfo.cc \
getnameinfo.h \
GnuRegex.c \
GnuRegex.h \
+ inet_ntop.cc \
inet_ntop.h \
+ inet_pton.cc \
inet_pton.h \
initgroups.h \
+ memrchr.cc \
+ memrchr.h \
osdetect.h \
psignal.h \
shm.cc \
shm.h \
+ statvfs.h \
+ statvfs.cc \
stdio.h \
stdvarargs.h \
strnstr.cc \
os/solaris.h \
os/sunos.h
-libcompat_squid_la_LIBADD= $(LTLIBOBJS)
+libcompatsquid_la_LIBADD= $(LTLIBOBJS)
check_PROGRAMS += testPreCompiler
TESTS += testPreCompiler
testPreCompiler_SOURCES= \
testPreCompiler.h \
- testPreCompiler.cc \
- $(top_srcdir)/src/tests/testMain.cc
-testPreCompiler_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
+ testPreCompiler.cc
+testPreCompiler_LDADD= $(LIBCPPUNIT_LIBS)
testPreCompiler_LDFLAGS=
# os/ subdir prevents us using src/TestHeaders.am