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_LIBRARIES = libcompat-squid.a
13 libcompat_squid_a_SOURCES = \
65 os/opensolaris_10_netdb.h \
73 libcompat_squid_a_LIBADD= $(LIBOBJS)
75 check_PROGRAMS += testPreCompiler
76 TESTS += testPreCompiler
78 testPreCompiler_SOURCES= \
81 $(top_srcdir)/src/tests/testMain.cc
82 testPreCompiler_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
83 testPreCompiler_LDFLAGS=
85 # os/ subdir prevents us using src/TestHeaders.am
89 ## Special Universal .h dependency test script
90 ## aborts if error encountered
91 testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
92 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
94 CLEANFILES += testHeaders