]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/Makefile.am
Merge from trunk
[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.la
13
14 libcompat_la_SOURCES = \
15 assert.h \
16 compat.h \
17 compat_shared.h \
18 debug.h \
19 fdsetsize.h \
20 osdetect.h \
21 stdvarargs.h \
22 valgrind.h \
23 \
24 os/aix.h \
25 os/dragonfly.h \
26 os/freebsd.h \
27 os/hpux.h \
28 os/linux.h \
29 os/mswin.h \
30 os/next.h \
31 os/openbsd.h \
32 os/os2.h \
33 os/qnx.h \
34 os/sgi.h \
35 os/solaris.h \
36 os/sunos.h \
37 os/windows.h \
38 \
39 assert.cc \
40 compat.cc \
41 debug.cc \
42 GnuRegex.h \
43 GnuRegex.c
44
45
46 # os/ subdir prevents us using src/TestHeaders.am
47 #
48 TESTS += testHeaders
49
50 ## Special Universal .h dependency test script
51 ## aborts if error encountered
52 testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
53 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)" || exit 1
54 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)/os" || exit 1
55
56 CLEANFILES += testHeaders
57
58 .PHONY: testHeaders