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 # Ideally this would be 100% inline functions and macro wrappers.
15 # Port Specific Configurations
17 noinst_LTLIBRARIES = libcompat-squid.la
18 libcompat_squid_la_SOURCES = \
82 os/opensolaris_10_netdb.h \
89 libcompat_squid_la_LIBADD= $(LTLIBOBJS)
91 check_PROGRAMS += testPreCompiler
92 TESTS += testPreCompiler
94 testPreCompiler_SOURCES= \
97 testPreCompiler_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
98 testPreCompiler_LDFLAGS=
100 # os/ subdir prevents us using src/TestHeaders.am
104 ## Special Universal .h dependency test script
105 ## aborts if error encountered
106 testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
107 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
109 CLEANFILES += testHeaders