]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/Makefile.am
Bug 4001: remove use of strsep()
[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_LTLIBRARIES = libcompat-squid.la
13 libcompat_squid_la_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 eui64_aton.c \
27 fdsetsize.h \
28 getaddrinfo.h \
29 getnameinfo.h \
30 GnuRegex.c \
31 GnuRegex.h \
32 inet_ntop.h \
33 inet_pton.h \
34 initgroups.h \
35 osdetect.h \
36 psignal.h \
37 shm.cc \
38 shm.h \
39 stdio.h \
40 stdvarargs.h \
41 strnstr.cc \
42 strtoll.h \
43 strnrchr.h \
44 strnrchr.c \
45 tempnam.h \
46 types.h \
47 valgrind.h \
48 xalloc.cc \
49 xalloc.h \
50 xis.h \
51 xstrerror.cc \
52 xstrerror.h \
53 xstring.cc \
54 xstring.h \
55 xstrto.cc \
56 xstrto.h \
57 \
58 os/aix.h \
59 os/dragonfly.h \
60 os/freebsd.h \
61 os/hpux.h \
62 os/linux.h \
63 os/macosx.h \
64 os/mswindows.h \
65 mswindows.cc \
66 os/netbsd.h \
67 os/next.h \
68 os/openbsd.h \
69 os/opensolaris_10_netdb.h \
70 os/os2.h \
71 os/qnx.h \
72 os/sgi.h \
73 os/solaris.h \
74 os/sunos.h
75
76 libcompat_squid_la_LIBADD= $(LIBOBJS)
77
78 check_PROGRAMS += testPreCompiler
79 TESTS += testPreCompiler
80
81 testPreCompiler_SOURCES= \
82 testPreCompiler.h \
83 testPreCompiler.cc \
84 $(top_srcdir)/src/tests/testMain.cc
85 testPreCompiler_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
86 testPreCompiler_LDFLAGS=
87
88 # os/ subdir prevents us using src/TestHeaders.am
89 #
90 TESTS += testHeaders
91
92 ## Special Universal .h dependency test script
93 ## aborts if error encountered
94 testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
95 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
96
97 CLEANFILES += testHeaders
98
99 .PHONY: testHeaders