]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/Makefile.am
merge from SslServerCertValidator r12332
[thirdparty/squid.git] / compat / Makefile.am
1 #
2 # Makefile for the Squid Portability Library
3 #
4
5 include $(top_srcdir)/src/Common.am
6
7
8 # Ideally this would be 100% inline functions and macro wrappers.
9
10 # Port Specific Configurations
11
12 noinst_LIBRARIES = libcompat-squid.a
13 libcompat_squid_a_SOURCES = \
14 assert.cc \
15 assert.h \
16 cmsg.h \
17 compat.cc \
18 compat.h \
19 compat_shared.h \
20 cpu.h \
21 cppunit.h \
22 debug.cc \
23 debug.h \
24 drand48.h \
25 eui64_aton.h \
26 fdsetsize.h \
27 getaddrinfo.h \
28 getnameinfo.h \
29 GnuRegex.c \
30 GnuRegex.h \
31 inet_ntop.h \
32 inet_pton.h \
33 initgroups.h \
34 osdetect.h \
35 psignal.h \
36 shm.cc \
37 shm.h \
38 stdio.h \
39 stdvarargs.h \
40 strnstr.cc \
41 strsep.h \
42 strtoll.h \
43 strnrchr.h \
44 strnrchr.c \
45 tempnam.h \
46 types.h \
47 unsafe.h \
48 valgrind.h \
49 xalloc.cc \
50 xalloc.h \
51 xis.h \
52 xstrerror.cc \
53 xstrerror.h \
54 xstring.cc \
55 xstring.h \
56 xstrto.cc \
57 xstrto.h \
58 \
59 os/aix.h \
60 os/dragonfly.h \
61 os/freebsd.h \
62 os/hpux.h \
63 os/linux.h \
64 os/macosx.h \
65 os/mswindows.h \
66 mswindows.cc \
67 os/netbsd.h \
68 os/next.h \
69 os/openbsd.h \
70 os/opensolaris_10_netdb.h \
71 os/os2.h \
72 os/qnx.h \
73 os/sgi.h \
74 os/solaris.h \
75 os/sunos.h
76
77 libcompat_squid_a_LIBADD= $(LIBOBJS)
78
79 check_PROGRAMS += testPreCompiler
80 TESTS += testPreCompiler
81
82 testPreCompiler_SOURCES= \
83 testPreCompiler.h \
84 testPreCompiler.cc \
85 $(top_srcdir)/src/tests/testMain.cc
86 testPreCompiler_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
87 testPreCompiler_LDFLAGS=
88
89 # os/ subdir prevents us using src/TestHeaders.am
90 #
91 TESTS += testHeaders
92
93 ## Special Universal .h dependency test script
94 ## aborts if error encountered
95 testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
96 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
97
98 CLEANFILES += testHeaders
99
100 .PHONY: testHeaders