Added sdk target and renamed glue output files
authorMiro Jurisic <meeroh@mit.edu>
Thu, 29 Apr 1999 20:35:16 +0000 (20:35 +0000)
committerMiro Jurisic <meeroh@mit.edu>
Thu, 29 Apr 1999 20:35:16 +0000 (20:35 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11400 dc483132-0cff-0310-8789-dd5450dbe970

src/mac/Makefile.tmpl

index 05d63c22c84f60c301e5ac458209a4fe397db703..94e6ea15ce7d210e73dfca30bf2a2fcf09950c37 100644 (file)
@@ -1,4 +1,5 @@
-snapshot-root = "/GSS-Kerberos5-2.0"
+snapshot-root = "//GSS-Kerberos5-2.0"
+sdk-root = //GSS-Kerberos5-2.0 SDK/
 
 include-paths = {autogenerated-include-paths} -i /mac/TestTrack/ -i "/mac/libraries/CCache API/include/" -i "/mac/libraries/Kerberos v5 Globals"
 
@@ -25,7 +26,7 @@ create-directories :
 ##
 ################################################################################
 
-classic-glue-output = /K5.CFMglue.c /GSS.CFMglue.c
+classic-glue-output = /Kerberos5Lib.glue.c /GSSLib.glue.c
 classic-glue-input = /mac/K5.CFMglue.cin /mac/K5.CFMglue.proto.h /mac/CFMglue.c /mac/K5.moreCFMglue.cin \
        /mac/GSS.CFMglue.cin /mac/GSS.CFMglue.proto.h /mac/GSS.moreCFMglue.cin /mac/CFMGlue.pl
 
@@ -33,13 +34,13 @@ glue : {classic-glue-output}
 glue-clean :
        Delete -i {classic-glue-output}
 
-/K5.CFMglue.c : /mac/K5.CFMglue.cin /mac/K5.CFMglue.proto.h /mac/CFMglue.c /mac/K5.moreCFMglue.cin
-       perl /mac/CFMGlue.pl < /mac/K5.CFMglue.proto.h > /K5.CFMglue.c
-       Catenate /mac/K5.CFMglue.cin /mac/CFMglue.c /K5.CFMglue.c /mac/K5.moreCFMglue.cin | Catenate > /K5.CFMglue.c
+/Kerberos5Lib.glue.c : /mac/K5.CFMglue.cin /mac/K5.CFMglue.proto.h /mac/CFMglue.c /mac/K5.moreCFMglue.cin
+       perl /mac/CFMGlue.pl < /mac/K5.CFMglue.proto.h > /Kerberos5Lib.glue.c
+       Catenate /mac/K5.CFMglue.cin /mac/CFMglue.c /Kerberos5Lib.glue.c /mac/K5.moreCFMglue.cin | Catenate > /Kerberos5Lib.glue.c
 
-/GSS.CFMglue.c : /mac/GSS.CFMglue.cin /mac/GSS.CFMglue.proto.h /mac/CFMglue.c /mac/GSS.moreCFMglue.cin
-       perl /mac/CFMGlue.pl < /mac/GSS.CFMglue.proto.h > /GSS.CFMglue.c
-       Catenate /mac/GSS.CFMglue.cin /mac/CFMglue.c /GSS.CFMglue.c /mac/GSS.moreCFMglue.cin | Catenate > /GSS.CFMglue.c
+/GSSLib.glue.c : /mac/GSS.CFMglue.cin /mac/GSS.CFMglue.proto.h /mac/CFMglue.c /mac/GSS.moreCFMglue.cin
+       perl /mac/CFMGlue.pl < /mac/GSS.CFMglue.proto.h > /GSSLib.glue.c
+       Catenate /mac/GSS.CFMglue.cin /mac/CFMglue.c /GSSLib.glue.c /mac/GSS.moreCFMglue.cin | Catenate > /GSSLib.glue.c
 
 ################################################################################
 ##
@@ -802,6 +803,66 @@ snapshot : autogenerate-clean
        end
        Duplicate /mac/Makefile.initial {snapshot-root}/Makefile
        SetFile -a l {snapshot-root}/Makefile
+       
+sdk : all
+       NewFolder "{sdk-root}"
+       NewFolder "{sdk-root}Common"
+       NewFolder "{sdk-root}Common/Headers"
+       Duplicate "/include/win-mac.h" "{sdk-root}Common/Headers/win-mac.h"
+       Duplicate "/util/profile/profile.h" "{sdk-root}Common/Headers/profile.h"
+       NewFolder "{sdk-root}Kerberos5Lib"
+       NewFolder "{sdk-root}Kerberos5Lib/Headers"
+       Duplicate "/include/krb5.h" "{sdk-root}Kerberos5Lib/Headers/krb5.h"
+       NewFolder "{sdk-root}Kerberos5Lib/Libraries"
+       shlb2stub "/Kerberos5Lib.PPC" -o "{sdk-root}Kerberos5Lib/Libraries/Kerberos5Lib.PPC"
+       shlb2stub "/Kerberos5Lib.PPC.debug" -o "{sdk-root}Kerberos5Lib/Libraries/Kerberos5Lib.PPC.debug"
+       NewFolder "{sdk-root}Kerberos5Lib/Classic 68K Glue"
+       Duplicate "/K5.CFMglue.c" "{sdk-root}Kerberos5Lib/Classic 68K glue/Kerberos5Lib.glue.c"
+       Duplicate "/mac/K5.CFMglue.h" "{sdk-root}Kerberos5Lib/Classic 68K glue/Kerberos5Lib.glue.h"
+       NewFolder "{sdk-root}Kerberos5Lib/Documentation"
+       Duplicate "///doc/pdf/krb5api.pdf" "{sdk-root}Kerberos5Lib/Documentation/Kerberos v5 API"
+       NewFolder "{sdk-root}Kerberos5GlobalsLib"
+       NewFolder "{sdk-root}Kerberos5GlobalsLib/Headers"
+       Duplicate "/mac/libraries/Kerberos v5 Globals/Krb5Globals.h" "{sdk-root}Kerberos5GlobalsLib/Headers/Kerberos5Globals.h"
+       NewFolder "{sdk-root}Kerberos5GlobalsLib/Libraries"
+       shlb2stub "/Kerberos5GlobalsLib.PPC" -o "{sdk-root}Kerberos5GlobalsLib/Libraries/Kerberos5GlobalsLib.PPC"
+       shlb2stub "/Kerberos5GlobalsLib.PPC.debug" -o "{sdk-root}Kerberos5GlobalsLib/Libraries/Kerberos5GlobalsLib.PPC.debug"
+       shlb2stub "/Kerberos5GlobalsLib.68K" -o "{sdk-root}Kerberos5GlobalsLib/Libraries/Kerberos5GlobalsLib.68K"
+       shlb2stub "/Kerberos5GlobalsLib.68K.debug" -o "{sdk-root}Kerberos5GlobalsLib/Libraries/Kerberos5GlobalsLib.68K.debug"
+       shlb2stub "/Kerberos5GlobalsDataLib.PPC" -o "{sdk-root}Kerberos5GlobalsLib/Libraries/Kerberos5GlobalsDataLib.PPC"
+       shlb2stub "/Kerberos5GlobalsDataLib.68K" -o "{sdk-root}Kerberos5GlobalsLib/Libraries/Kerberos5GlobalsDataLib.68K"
+       NewFolder "{sdk-root}GSSLib"
+       NewFolder "{sdk-root}GSSLib/Headers"
+       Duplicate "/lib/gssapi/generic/gssapi.h" "{sdk-root}GSSLib/Headers/gssapi.h"
+       Duplicate "/lib/gssapi/krb5/gssapi_krb5.h" "{sdk-root}GSSLib/Headers/gssapi_krb5.h"
+       NewFolder "{sdk-root}GSSLib/Libraries"
+       shlb2stub "/GSSLib.PPC" -o "{sdk-root}GSSLib/Libraries/GSSLib.PPC"
+       shlb2stub "/GSSLib.PPC.debug" -o "{sdk-root}GSSLib/Libraries/GSSLib.PPC.debug"
+       NewFolder "{sdk-root}GSSLib/Classic 68K Glue"
+       Duplicate "/GSS.CFMglue.c" "{sdk-root}GSSLib/Classic 68K glue/GSSLib.glue.c"
+       Duplicate "/mac/GSS.CFMglue.h" "{sdk-root}GSSLib/Classic 68K glue/GSSLib.glue.h"
+       NewFolder "{sdk-root}CCacheLib"
+       NewFolder "{sdk-root}CCacheLib/Headers"
+       Duplicate "/mac/libraries/CCache API/include/CCache.h" "{sdk-root}CCacheLib/Headers/CCache.h"
+       NewFolder "{sdk-root}CCacheLib/Libraries"
+       shlb2stub "/mac/libraries/CCache API/bin/CCacheLib.PPC" -o "{sdk-root}CCacheLib/Libraries/CCacheLib.PPC"
+       shlb2stub "/mac/libraries/CCache API/bin/CCacheLib.PPC.debug" -o "{sdk-root}CCacheLib/Libraries/CCacheLib.PPC.debug"
+       shlb2stub "/mac/libraries/CCache API/bin/CCacheLib.68K" -o "{sdk-root}CCacheLib/Libraries/CCacheLib.68K"
+       shlb2stub "/mac/libraries/CCache API/bin/CCacheLib.68K.debug" -o "{sdk-root}CCacheLib/Libraries/CCacheLib.68K.debug"
+       shlb2stub "/mac/libraries/CCache API/bin/CCacheGlobalsLib.PPC" -o "{sdk-root}CCacheLib/Libraries/CCacheDataLib.PPC"
+       shlb2stub "/mac/libraries/CCache API/bin/CCacheGlobalsLib.68K" -o "{sdk-root}CCacheLib/Libraries/CCacheDataLib.68K"
+       NewFolder "{sdk-root}DESLib"
+       NewFolder "{sdk-root}DESLib/Headers"
+       Duplicate "/mac/libraries/DES/include/des.h" "{sdk-root}DESLib/Headers/des.h"
+       Duplicate "/mac/libraries/DES/include/mit-copyright.h" "{sdk-root}DESLib/Headers/mit-copyright.h"
+       NewFolder "{sdk-root}DESLib/Libraries"
+       shlb2stub "/mac/libraries/DES/bin/deslib.PPC" -o "{sdk-root}DESLib/Libraries/DESLib.PPC"
+       shlb2stub "/mac/libraries/DES/bin/deslib.PPC.debug" -o "{sdk-root}DESLib/Libraries/DESLib.PPC.debug"
+       shlb2stub "/mac/libraries/DES/bin/deslib.68K" -o "{sdk-root}DESLib/Libraries/DESLib.68K"
+       shlb2stub "/mac/libraries/DES/bin/deslib.68K.debug" -o "{sdk-root}DESLib/Libraries/DESLib.68K.debug"
+       NewFolder "{sdk-root}DESLib/Classic 68K Glue"
+       Duplicate "/mac/libraries/DES/include/deslib.CFMglue.c" "{sdk-root}DESLib/Classic 68K glue/DESLib.glue.c"
+       Duplicate "/mac/libraries/DES/include/deslib.CFMglue.h" "{sdk-root}DESLib/Classic 68K glue/DESLib.glue.h"
 
 ################################################################################
 ##