From 0a34949459c8ec5f79599a458704b7b11cdbb248 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Sun, 16 Jan 2011 02:15:53 -0500 Subject: Bug 139: portability fixes and documentation. Document the dynamic lookup module capability in spec.xfpt. Include a ChangeLog item. Avoid the GNU-specific "export" make(1) directive. Build the lookups Makefile using the existing framework. Build with BSD Make once more. The src/lookups/Makefile that is used at build time now has the dynamic content come from scripts/lookups-Makefile. Add CFLAGS_DYNAMIC support, which can be set in Local/Makefile. Provide defaults for Linux & FreeBSD. Ensure that build fails early if a dynamic module is requested but CFLAGS_DYNAMIC is not defined. --- src/OS/Makefile-Base | 1 + 1 file changed, 1 insertion(+) (limited to 'src/OS/Makefile-Base') diff --git a/src/OS/Makefile-Base b/src/OS/Makefile-Base index 5793869e2..29a6ad371 100644 --- a/src/OS/Makefile-Base +++ b/src/OS/Makefile-Base @@ -641,6 +641,7 @@ $(MONBIN): $(HDRS) buildlookups lookups/lookups.a: config.h @cd lookups; $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" CFLAGS="$(CFLAGS)" \ + CFLAGS_DYNAMIC="$(CFLAGS_DYNAMIC)" \ FE="$(FE)" RANLIB="$(RANLIB)" RM_COMMAND="$(RM_COMMAND)" HDRS="$(PHDRS)" \ INCLUDE="$(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE) $(LOOKUP_INCLUDE)"; \ echo " " -- cgit v1.2.3