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.la
14
libcompat_la_SOURCES = \
43
check_PROGRAMS += testPreCompiler
44
TESTS += testPreCompiler
46
testPreCompiler_SOURCES= \
49
$(top_srcdir)/src/tests/testMain.cc
50
testPreCompiler_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
51
testPreCompiler_LDFLAGS=
53
# os/ subdir prevents us using src/TestHeaders.am
57
## Special Universal .h dependency test script
58
## aborts if error encountered
59
testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
60
$(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)" || exit 1
61
$(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)/os" || exit 1
63
CLEANFILES += testHeaders