1 ## Copyright (C) 1996-2015 The Squid Software Foundation and contributors
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.
8 # Makefile for the Squid Portability Library
11 include $(top_srcdir)/src/Common.am
13 AUTOMAKE_OPTIONS = subdir-objects
15 # Ideally this would be 100% inline functions and macro wrappers.
17 # Port Specific Configurations
19 noinst_LTLIBRARIES = libcompat-squid.la
20 libcompat_squid_la_SOURCES = \
85 os/opensolaris_10_netdb.h \
92 libcompat_squid_la_LIBADD= $(LTLIBOBJS)
94 check_PROGRAMS += testPreCompiler
95 TESTS += testPreCompiler
97 testPreCompiler_SOURCES= \
100 testPreCompiler_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
101 testPreCompiler_LDFLAGS=
103 # os/ subdir prevents us using src/TestHeaders.am
107 ## Special Universal .h dependency test script
108 ## aborts if error encountered
109 testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
110 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
112 CLEANFILES += testHeaders