]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/Makefile.am
0943b865699d69c2d11fb9086fbbcf9d4cfcc3a2
[thirdparty/squid.git] / compat / Makefile.am
1 ## Copyright (C) 1996-2023 The Squid Software Foundation and contributors
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
7 #
8 # Makefile for the Squid Portability Library
9 #
10
11 include $(top_srcdir)/src/Common.am
12
13 # Ideally this would be 100% inline functions and macro wrappers.
14
15 # Port Specific Configurations
16
17 COMPAT_SSL_ALL_SOURCES = \
18 openssl.h
19
20 if ENABLE_SSL
21 COMPAT_SSL_SOURCES = $(COMPAT_SSL_ALL_SOURCES)
22 else
23 COMPAT_SSL_SOURCES =
24 EXCLUDE_FROM_HDR_TESTING += $(COMPAT_SSL_ALL_SOURCES)
25 endif
26
27 noinst_LTLIBRARIES = libcompatsquid.la
28 libcompatsquid_la_SOURCES = \
29 $(COMPAT_SSL_SOURCES) \
30 assert.cc \
31 assert.h \
32 cmsg.h \
33 compat.cc \
34 compat.h \
35 compat_shared.h \
36 cppunit.h \
37 cpu.h \
38 debug.cc \
39 debug.h \
40 eui64_aton.c \
41 eui64_aton.h \
42 fdsetsize.h \
43 initgroups.h \
44 krb5.h \
45 memrchr.cc \
46 memrchr.h \
47 mswindows.cc \
48 os/aix.h \
49 os/android.h \
50 os/dragonfly.h \
51 os/freebsd.h \
52 os/hpux.h \
53 os/linux.h \
54 os/macosx.h \
55 os/mingw.h \
56 os/mswindows.h \
57 os/netbsd.h \
58 os/openbsd.h \
59 os/os2.h \
60 os/qnx.h \
61 os/sgi.h \
62 os/solaris.h \
63 os/sunos.h \
64 osdetect.h \
65 psignal.h \
66 shm.cc \
67 shm.h \
68 statvfs.cc \
69 statvfs.h \
70 stdio.h \
71 stdvarargs.h \
72 strnrchr.c \
73 strnrchr.h \
74 strnstr.cc \
75 strtoll.h \
76 tempnam.h \
77 types.h \
78 valgrind.h \
79 xalloc.cc \
80 xalloc.h \
81 xis.h \
82 xstrerror.cc \
83 xstrerror.h \
84 xstring.cc \
85 xstring.h \
86 xstrto.cc \
87 xstrto.h
88
89 libcompatsquid_la_LIBADD= $(LTLIBOBJS)
90
91 check_PROGRAMS += testPreCompiler
92 TESTS += testPreCompiler
93
94 testPreCompiler_SOURCES = \
95 testPreCompiler.cc
96 testPreCompiler_LDADD= $(LIBCPPUNIT_LIBS)
97 testPreCompiler_LDFLAGS=