]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/Makefile.am
Source Format Enforcement (#763)
[thirdparty/squid.git] / compat / Makefile.am
1 ## Copyright (C) 1996-2021 The Squid Software Foundation and contributors
2 ##
3 ## Squid software is distributed under GPLv2+ license and includes
4 ## contributions from numerous individuals and organizations.
5 ## Please see the COPYING and CONTRIBUTORS files for details.
6
7 #
8 # Makefile for the Squid Portability Library
9 #
10
11 include $(top_srcdir)/src/Common.am
12
13 # Ideally this would be 100% inline functions and macro wrappers.
14
15 # Port Specific Configurations
16
17 noinst_LTLIBRARIES = libcompatsquid.la
18 libcompatsquid_la_SOURCES = \
19 GnuRegex.c \
20 GnuRegex.h \
21 assert.cc \
22 assert.h \
23 cmsg.h \
24 compat.cc \
25 compat.h \
26 compat_shared.h \
27 cppunit.h \
28 cpu.h \
29 debug.cc \
30 debug.h \
31 eui64_aton.c \
32 eui64_aton.h \
33 fdsetsize.h \
34 getaddrinfo.cc \
35 getaddrinfo.h \
36 getnameinfo.cc \
37 getnameinfo.h \
38 inet_ntop.cc \
39 inet_ntop.h \
40 inet_pton.cc \
41 inet_pton.h \
42 initgroups.h \
43 memrchr.cc \
44 memrchr.h \
45 mswindows.cc \
46 openssl.h \
47 os/aix.h \
48 os/android.h \
49 os/dragonfly.h \
50 os/freebsd.h \
51 os/hpux.h \
52 os/linux.h \
53 os/macosx.h \
54 os/mswindows.h \
55 os/netbsd.h \
56 os/next.h \
57 os/openbsd.h \
58 os/opensolaris_10_netdb.h \
59 os/os2.h \
60 os/qnx.h \
61 os/sgi.h \
62 os/solaris.h \
63 os/sunos.h \
64 osdetect.h \
65 psignal.h \
66 shm.cc \
67 shm.h \
68 statvfs.cc \
69 statvfs.h \
70 stdio.h \
71 stdvarargs.h \
72 strnrchr.c \
73 strnrchr.h \
74 strnstr.cc \
75 strtoll.h \
76 tempnam.h \
77 types.h \
78 valgrind.h \
79 xalloc.cc \
80 xalloc.h \
81 xis.h \
82 xstrerror.cc \
83 xstrerror.h \
84 xstring.cc \
85 xstring.h \
86 xstrto.cc \
87 xstrto.h
88
89 libcompatsquid_la_LIBADD= $(LTLIBOBJS)
90
91 check_PROGRAMS += testPreCompiler
92 TESTS += testPreCompiler
93
94 testPreCompiler_SOURCES = \
95 testPreCompiler.cc \
96 testPreCompiler.h
97 testPreCompiler_LDADD= $(LIBCPPUNIT_LIBS)
98 testPreCompiler_LDFLAGS=
99
100 # os/ subdir prevents us using src/TestHeaders.am
101 #
102 TESTS += testHeaders
103
104 ## Special Universal .h dependency test script
105 ## aborts if error encountered
106 testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
107 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
108
109 CLEANFILES += testHeaders
110
111 .PHONY: testHeaders