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/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index eb9df5015..8ad750d74 100644 --- a/src/Makefile +++ b/src/Makefile @@ -54,14 +54,16 @@ build-directory: configure: build-directory @cd build-$(buildname); \ - build=$(build) $(SHELL) ../scripts/Configure-Makefile + build=$(build) $(SHELL) ../scripts/Configure-Makefile; \ + $(SHELL) ../scripts/lookups-Makefile # The "makefile" target forces a rebuild of the makefile (as opposed to # "configure", which doesn't force it). makefile: build-directory @cd build-$(buildname); $(RM_COMMAND) -f Makefile; \ - build=$(build) $(SHELL) ../scripts/Configure-Makefile + build=$(build) $(SHELL) ../scripts/Configure-Makefile; \ + $(SHELL) ../scripts/lookups-Makefile # The installation commands are kept in a separate script, which expects # to be run from inside the build directory. -- cgit v1.2.1