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 = \
46 # os/ subdir prevents us using src/TestHeaders.am
50 ## Special Universal .h dependency test script
51 ## aborts if error encountered
52 testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
53 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)" || exit 1
54 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)/os" || exit 1
56 CLEANFILES += testHeaders