]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/Makefile.am
Updated 3.2 release notes
[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 compat.cc \
17 compat.h \
18 compat_shared.h \
19 cpu.h \
20 debug.cc \
21 debug.h \
22 drand48.h \
23 eui64_aton.h \
24 fdsetsize.h \
25 getaddrinfo.h \
26 getnameinfo.h \
27 GnuRegex.c \
28 GnuRegex.h \
29 inet_ntop.h \
30 inet_pton.h \
31 initgroups.h \
32 osdetect.h \
33 psignal.h \
34 stdvarargs.h \
35 strsep.h \
36 strtoll.h \
37 tempnam.h \
38 types.h \
39 unsafe.h \
40 valgrind.h \
41 xalloc.cc \
42 xalloc.h \
43 xstring.cc \
44 xstring.h \
45 \
46 os/aix.h \
47 os/dragonfly.h \
48 os/freebsd.h \
49 os/hpux.h \
50 os/linux.h \
51 os/mswin.h \
52 os/macosx.h \
53 os/netbsd.h \
54 os/next.h \
55 os/openbsd.h \
56 os/os2.h \
57 os/qnx.h \
58 os/sgi.h \
59 os/solaris.h \
60 os/sunos.h \
61 os/windows.h
62
63 libcompat_squid_a_LIBADD= $(LIBOBJS)
64
65 check_PROGRAMS += testPreCompiler
66 TESTS += testPreCompiler
67
68 testPreCompiler_SOURCES= \
69 testPreCompiler.h \
70 testPreCompiler.cc \
71 $(top_srcdir)/src/tests/testMain.cc
72 testPreCompiler_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
73 testPreCompiler_LDFLAGS=
74
75 # os/ subdir prevents us using src/TestHeaders.am
76 #
77 TESTS += testHeaders
78
79 ## Special Universal .h dependency test script
80 ## aborts if error encountered
81 testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
82 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
83
84 CLEANFILES += testHeaders
85
86 .PHONY: testHeaders