]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - compat/Makefile.am
Source Format Enforcement (#532)
[thirdparty/squid.git] / compat / Makefile.am
index 7b3f7b8cfc89d33a5c4602b6a9682ed51cdd446d..9ecfe3bb7934541ecf161469186f1a36a41d29b5 100644 (file)
@@ -1,18 +1,24 @@
+## Copyright (C) 1996-2020 The Squid Software Foundation and contributors
+##
+## Squid software is distributed under GPLv2+ license and includes
+## contributions from numerous individuals and organizations.
+## Please see the COPYING and CONTRIBUTORS files for details.
+
 #
 #  Makefile for the Squid Portability Library
 #
 
 include $(top_srcdir)/src/Common.am
 
-
 # Ideally this would be 100% inline functions and macro wrappers.
 
 # Port Specific Configurations
 
-noinst_LIBRARIES = libcompat-squid.a
-libcompat_squid_a_SOURCES = \
+noinst_LTLIBRARIES = libcompatsquid.la
+libcompatsquid_la_SOURCES = \
        assert.cc \
        assert.h \
+       cmsg.h \
        compat.cc \
        compat.h \
        compat_shared.h \
@@ -20,28 +26,37 @@ libcompat_squid_a_SOURCES = \
        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 \
+       openssl.h \
        osdetect.h \
        psignal.h \
        shm.cc \
        shm.h \
+       statvfs.h \
+       statvfs.cc \
        stdio.h \
        stdvarargs.h \
        strnstr.cc \
-       strsep.h \
        strtoll.h \
+       strnrchr.h \
+       strnrchr.c \
        tempnam.h \
        types.h \
-       unsafe.h \
        valgrind.h \
        xalloc.cc \
        xalloc.h \
@@ -54,13 +69,14 @@ libcompat_squid_a_SOURCES = \
        xstrto.h \
        \
        os/aix.h \
+       os/android.h \
        os/dragonfly.h \
        os/freebsd.h \
        os/hpux.h \
        os/linux.h \
        os/macosx.h \
-       os/mswin.h \
-       mswin.cc \
+       os/mswindows.h \
+       mswindows.cc \
        os/netbsd.h \
        os/next.h \
        os/openbsd.h \
@@ -69,19 +85,17 @@ libcompat_squid_a_SOURCES = \
        os/qnx.h \
        os/sgi.h \
        os/solaris.h \
-       os/sunos.h \
-       os/windows.h
+       os/sunos.h
 
-libcompat_squid_a_LIBADD= $(LIBOBJS)
+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