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 = \
84 os/opensolaris_10_netdb.h \
91 libcompat_squid_la_LIBADD= $(LTLIBOBJS)
93 check_PROGRAMS += testPreCompiler
94 TESTS += testPreCompiler
96 testPreCompiler_SOURCES= \
99 testPreCompiler_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
100 testPreCompiler_LDFLAGS=
102 # os/ subdir prevents us using src/TestHeaders.am
106 ## Special Universal .h dependency test script
107 ## aborts if error encountered
108 testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
109 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
111 CLEANFILES += testHeaders