2 # Makefile for the Squid Portability Library
5 include $(top_srcdir)/src/Common.am
8 # Ideally this would be 100% inline functions and macro wrappers.
10 # Port Specific Configurations
12 noinst_LTLIBRARIES = libcompat-squid.la
13 libcompat_squid_la_SOURCES = \
69 os/opensolaris_10_netdb.h \
76 libcompat_squid_la_LIBADD= $(LTLIBOBJS)
78 check_PROGRAMS += testPreCompiler
79 TESTS += testPreCompiler
81 testPreCompiler_SOURCES= \
84 $(top_srcdir)/src/tests/testMain.cc
85 testPreCompiler_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
86 testPreCompiler_LDFLAGS=
88 # os/ subdir prevents us using src/TestHeaders.am
92 ## Special Universal .h dependency test script
93 ## aborts if error encountered
94 testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
95 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
97 CLEANFILES += testHeaders