From c635d0a5eee55cf1ec365f4bf6a3eac6491c8a48 Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Mon, 14 Jun 2004 15:07:20 +0000 Subject: Modified Header Generation target so it runs autoconf and builds the autogenerated headers for the split libraries and clients build systems git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16441 dc483132-0cff-0310-8789-dd5450dbe970 --- src/mac/MacOSX/Scripts/Kerberos5ServerBuild.jam | 62 +------------------------ 1 file changed, 1 insertion(+), 61 deletions(-) (limited to 'src/mac/MacOSX/Scripts/Kerberos5ServerBuild.jam') diff --git a/src/mac/MacOSX/Scripts/Kerberos5ServerBuild.jam b/src/mac/MacOSX/Scripts/Kerberos5ServerBuild.jam index 24e8944e1..8440de1b5 100644 --- a/src/mac/MacOSX/Scripts/Kerberos5ServerBuild.jam +++ b/src/mac/MacOSX/Scripts/Kerberos5ServerBuild.jam @@ -1,67 +1,7 @@ -Intermediates = "$(BUILT_PRODUCTS_DIR)/Kerberos5.intermediates" ; -IntermediateBuild = "$(Intermediates)/build" ; -Sources = "$(SRCROOT)/../../Kerberos5/Sources" ; +include "$(SRCROOT)/../Scripts/Kerberos5BuildSystem.jam" ; -Reconf = "$(Sources)/util/reconf" ; -Configure = "$(Sources)/configure" ; -Makefile = "$(IntermediateBuild)/Makefile" ; MakeStamp = "$(IntermediateBuild)/make.stamp" ; -# Assemble CFLAGS -CONFIGURE_CFLAGS = "-fno-common -include /usr/include/TargetConditionals.h -DUSE_PASSWORD_SERVER" ; -if $(RC_CFLAGS) != "" { CONFIGURE_CFLAGS = "$(CONFIGURE_CFLAGS) $(RC_CFLAGS)" ; } -if $(CFLAGS) != "" { CONFIGURE_CFLAGS = "$(CONFIGURE_CFLAGS) $(CFLAGS)" ; } -if $(OTHER_CFLAGS) != "" { CONFIGURE_CFLAGS = "$(CONFIGURE_CFLAGS) $(OTHER_CFLAGS)" ; } -if $(WARNING_CFLAGS) != "" { CONFIGURE_CFLAGS = "$(CONFIGURE_CFLAGS) $(WARNING_CFLAGS)" ; } -CONFIGURE_CFLAGS = "CFLAGS=$(CONFIGURE_CFLAGS)" ; - -# Assemble LDFLAGS -CONFIGURE_LDFLAGS = "-Wl,-search_paths_first" ; -if $(LDFLAGS) != "" { CONFIGURE_LDFLAGS = "$(LDFLAGS) $(CONFIGURE_LDFLAGS)" ; } -CONFIGURE_LDFLAGS = "LDFLAGS=$(CONFIGURE_LDFLAGS:)" ; - -# -# Note: in this jam script we have separated the dependency tree from the -# actual scripts. This is so that CVS checkouts trigger a rebuild but the jam -# script doesn't need to know how the reconf and configure scripts work. -# - -# Reconf : -rule Reconf -{ - DEPENDS "$(1)" : "$(1).in" "$(Reconf)" ; -} -actions Reconf -{ - cd "$(Sources)" && /bin/sh "$(Reconf)" -f -} - -# Configure : -rule Configure -{ - DEPENDS "$(1)" : "$(2)" ; - Reconf "$(2)" : "$(2).in" ; - Clean.Remove clean "$(1:D)" ; -} -actions Configure -{ - mkdir -p "$(1:D)" - cd "$(1:D)" && /bin/sh "$(2)" --prefix=/usr --localstatedir=/var/db "$(CONFIGURE_CFLAGS)" "$(CONFIGURE_LDFLAGS)" || rm -f "$(1)" -} - -# Make : -rule Make -{ - DEPENDS "$(1)" : "$(2)" ; - Configure "$(2)" : "$(Configure)" ; - Clean.Remove clean "$(1)" ; -} -actions Make -{ - mkdir -p "$(1:D)" - cd "$(1:D)" && make && touch "$(1)" && echo "### HAPPINESS ###" -} - # InstallProgram : rule InstallProgram { -- cgit