diff options
author | Phil Pennock <pdp@spodhuis.org> | 2011-01-16 02:15:53 -0500 |
---|---|---|
committer | Phil Pennock <pdp@spodhuis.org> | 2011-01-16 02:15:53 -0500 |
commit | 0a34949459c8ec5f79599a458704b7b11cdbb248 (patch) | |
tree | 48cea0fdc007607882a53b1e1afd27273b0c4708 /src/Makefile | |
parent | 0761d44e078b0c779c92be127bb4d984c60d0320 (diff) | |
download | exim4-0a34949459c8ec5f79599a458704b7b11cdbb248.tar.gz |
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.
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
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. |