]> git.ipfire.org Git - thirdparty/squid.git/blame - compat/Makefile.am
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / compat / Makefile.am
CommitLineData
5b74111a 1## Copyright (C) 1996-2018 The Squid Software Foundation and contributors
37be9888
AJ
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
f04e1182
AJ
7#
8# Makefile for the Squid Portability Library
9#
10
ee342e0b 11include $(top_srcdir)/src/Common.am
f04e1182 12
f04e1182
AJ
13# Ideally this would be 100% inline functions and macro wrappers.
14
15# Port Specific Configurations
16
ca3a08e2
AJ
17noinst_LTLIBRARIES = libcompatsquid.la
18libcompatsquid_la_SOURCES = \
25f98340 19 assert.cc \
ea9d149b 20 assert.h \
14c0d3ab 21 cmsg.h \
25f98340 22 compat.cc \
f04e1182 23 compat.h \
f04e1182 24 compat_shared.h \
96c2bb61 25 cpu.h \
a203dec7 26 cppunit.h \
25f98340 27 debug.cc \
c19c2c0b 28 debug.h \
27bc2077 29 eui64_aton.h \
4de1e2da 30 eui64_aton.c \
09564478 31 fdsetsize.h \
55d7d5e9 32 getaddrinfo.cc \
27bc2077 33 getaddrinfo.h \
55d7d5e9 34 getnameinfo.cc \
27bc2077 35 getnameinfo.h \
c2afddd8
AJ
36 GnuRegex.c \
37 GnuRegex.h \
55d7d5e9 38 inet_ntop.cc \
27bc2077 39 inet_ntop.h \
55d7d5e9 40 inet_pton.cc \
27bc2077
AJ
41 inet_pton.h \
42 initgroups.h \
ee4d4e85
AJ
43 memrchr.cc \
44 memrchr.h \
ea9d149b 45 osdetect.h \
a098f956 46 psignal.h \
ef8de464 47 shm.cc \
c975f532 48 shm.h \
615540cd
AJ
49 statvfs.h \
50 statvfs.cc \
5b44c55d 51 stdio.h \
09564478 52 stdvarargs.h \
41d00cd3 53 strnstr.cc \
27bc2077 54 strtoll.h \
45a58345
FC
55 strnrchr.h \
56 strnrchr.c \
27bc2077 57 tempnam.h \
489520a9 58 types.h \
09564478 59 valgrind.h \
25f98340
AJ
60 xalloc.cc \
61 xalloc.h \
41d00cd3 62 xis.h \
25f98340
AJ
63 xstrerror.cc \
64 xstrerror.h \
65 xstring.cc \
66 xstring.h \
67 xstrto.cc \
68 xstrto.h \
f04e1182 69 \
09564478 70 os/aix.h \
da1cb6ba 71 os/android.h \
22968e37 72 os/dragonfly.h \
09564478
AJ
73 os/freebsd.h \
74 os/hpux.h \
75 os/linux.h \
055421ee 76 os/macosx.h \
c164de6e
AJ
77 os/mswindows.h \
78 mswindows.cc \
dc47f531 79 os/netbsd.h \
09564478
AJ
80 os/next.h \
81 os/openbsd.h \
570896d5 82 os/opensolaris_10_netdb.h \
22968e37 83 os/os2.h \
09564478
AJ
84 os/qnx.h \
85 os/sgi.h \
86 os/solaris.h \
c164de6e 87 os/sunos.h
f04e1182 88
ca3a08e2 89libcompatsquid_la_LIBADD= $(LTLIBOBJS)
a098f956 90
19ce1bfe
AJ
91check_PROGRAMS += testPreCompiler
92TESTS += testPreCompiler
93
94testPreCompiler_SOURCES= \
95 testPreCompiler.h \
7f861c77 96 testPreCompiler.cc
d93bf055 97testPreCompiler_LDADD= $(LIBCPPUNIT_LIBS)
19ce1bfe 98testPreCompiler_LDFLAGS=
f04e1182 99
ee342e0b
AJ
100# os/ subdir prevents us using src/TestHeaders.am
101#
102TESTS += testHeaders
f04e1182
AJ
103
104## Special Universal .h dependency test script
105## aborts if error encountered
508e9b20 106testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
a0fdc9bf 107 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
ee342e0b
AJ
108
109CLEANFILES += testHeaders
f04e1182 110
ee342e0b 111.PHONY: testHeaders