##############################################################################################################
# Everything
-all Ä glue all-debug all-final
+all Ä unset-echo glue all-debug all-final
# Debugging versions
-all-debug Ä ppc-debug 68k-debug headers
+all-debug Ä unset-echo ppc-debug 68k-debug headers
# Final versions
-all-final Ä ppc-final 68k-final headers
+all-final Ä unset-echo ppc-final 68k-final headers
# Clasic 68K glue
-glue Ä glue-gss glue-krb5
+glue Ä unset-echo glue-gss glue-krb5
+
+unset-echo Ä
+ If ({MacdevScriptDebug})
+ Set Echo 1
+ Else
+ Unset Echo
+ End
##############################################################################################################
### More global constants
##############################################################################################################
{object-suffix} Ä .c {autogenerated-files} {makefile-name} {precompiled-headers}
+ echo {DepDir}{Default}.c
{compiler} {DepDir}{Default}.c -o {DepDir}{Default}{object-suffix} {compiler-options}
{object-suffix-data} Ä .c {autogenerated-files} {makefile-name} {precompiled-headers}
+ echo {DepDir}{Default}.c
{compiler} {DepDir}{Default}.c -o {DepDir}{Default}{object-suffix-data} {compiler-options}
##############################################################################################################
classic-glue-generation-script = {root-folder}mac:CFMGlue.pl
gss-library-glue-output-folder = {root-folder}:GSSLib:ClassicGlue:
krb5-library-glue-output-folder = {root-folder}:Kerberos5Lib:ClassicGlue:
+profile-library-glue-output-folder = {root-folder}:KerberosProfileLib:ClassicGlue:
+comerr-library-glue-output-folder = {root-folder}:ComErrLib:ClassicGlue:
gss-library-glue-output = {gss-library-glue-output-folder}GSSLib.glue.c
krb5-library-glue-output = {krb5-library-glue-output-folder}Kerberos5Lib.glue.c
+profile-library-glue-output = {profile-library-glue-output-folder}KrbProfileLib.glue.c
+comerr-library-glue-output = {comerr-library-glue-output-folder}ComErrLib.glue.c
classic-glue-output = ¶
{gss-library-glue-output} ¶
- {krb5-library-glue-output}
+ {krb5-library-glue-output} ¶
+ {profile-library-glue-output} ¶
+ {comerr-library-glue-output}
glue Ä {classic-glue-output}
glue-gss Ä {gss-library-glue-output}
glue-krb5 Ä {krb5-library-glue-output}
+glue-profile Ä {profile-library-glue-output}
+glue-comerr Ä {comerr-library-glue-output}
{krb5-library-glue-output} Ä {root-folder}mac:K5.CFMglue.cin {root-folder}mac:K5.CFMglue.proto.h ¶
{root-folder}mac:CFMglue.c {root-folder}mac:K5.moreCFMglue.cin {classic-glue-generation-script}
Catenate {root-folder}mac:GSS.CFMglue.cin {root-folder}mac:CFMglue.c {root-folder}mac:GSS.CFMglue.c ¶
{root-folder}mac:GSS.moreCFMglue.cin | Catenate > {gss-library-glue-output}
+{profile-library-glue-output} Ä {root-folder}mac:KrbProfileLib.glue.pre.cin {root-folder}mac:KrbProfileLib.glue.proto.h ¶
+ {root-folder}mac:CFMglue.c {root-folder}mac:KrbProfileLib.glue.post.cin {classic-glue-generation-script}
+ {create-folder} {profile-library-glue-output-folder}
+ perl {classic-glue-generation-script} < {root-folder}mac:KrbProfileLib.glue.proto.h > {root-folder}mac:KrbProfileLib.CFMglue.c
+ Catenate {root-folder}mac:KrbProfileLib.glue.pre.cin {root-folder}mac:CFMglue.c {root-folder}mac:KrbProfileLib.CFMglue.c ¶
+ {root-folder}mac:KrbProfileLib.glue.post.cin | Catenate > {profile-library-glue-output}
+
+{comerr-library-glue-output} Ä {root-folder}mac:ComErrLib.glue.pre.cin {root-folder}mac:ComErrLib.glue.proto.h ¶
+ {root-folder}mac:CFMglue.c {root-folder}mac:ComErrLib.glue.post.cin {classic-glue-generation-script}
+ {create-folder} {comerr-library-glue-output-folder}
+ perl {classic-glue-generation-script} < {root-folder}mac:ComErrLib.glue.proto.h > {root-folder}mac:ComErrLib.CFMglue.c
+ Catenate {root-folder}mac:ComErrLib.glue.pre.cin {root-folder}mac:CFMglue.c {root-folder}mac:ComErrLib.CFMglue.c ¶
+ {root-folder}mac:ComErrLib.glue.post.cin | Catenate > {comerr-library-glue-output}
+
##############################################################################################################
### Clean target deletes all generated files
##############################################################################################################
End
Duplicate -y "{root-folder}util:profile:profile.h" "{Targ}"
SetFile -a l "{Targ}"
+
+##############################################################################################################
+### Copying documentation around
+##############################################################################################################
+
+gss-documentation-output-folder = {root-folder}:GSSLib:Documentation:
+krb5-documentation-output-folder = {root-folder}:Kerberos5Lib:Documentation:
+krb5-globals-documentation-output-folder = {root-folder}:Kerberos5GlobalsLib:Documentation:
+profile-documentation-output-folder = {root-folder}:KerberosProfileLib:Documentation:
+
+gss-documentation-output = ""
+
+krb5-documentation-output = ¶
+ "{krb5-documentation-output-folder}krb5api.pdf"
+
+krb5-globals-documentation-output = ¶
+ "{krb5-globals-documentation-output-folder}Kerberos5Globals.html"
+
+profile-documentation-output = ""
+
+documentation-output = {gss-documentation-output} {krb5-documentation-output} ¶
+ {krb5-globals-documentation-output} {profile-documentation-output}
+
+documentation Ä {documentation-output}
+
+"{krb5-documentation-output-folder}krb5api.pdf" Ä {makefile-name}
+ "{create-folder}" "{TargDir}"
+ If (`Exists "{Targ}" | Count -l`)
+ SetFile -a l "{Targ}"
+ End
+ If (`Exists "{root-folder}:::Documentation:pdf:krb5api.pdf"`)
+ Duplicate -y "{root-folder}:::Documentation:pdf:krb5api.pdf" "{Targ}"
+ End
+ SetFile -a l "{Targ}"
+
+"{krb5-globals-documentation-output-folder}Kerberos5Globals.html" Ä "{root-folder}mac:libraries:Kerberos v5 Globals:Krb5Globals.html" {makefile-name}
+ "{create-folder}" "{TargDir}"
+ If (`Exists "{Targ}" | Count -l`)
+ SetFile -a l "{Targ}"
+ End
+ Duplicate -y "{root-folder}mac:libraries:Kerberos v5 Globals:Krb5Globals.html" "{Targ}"
+ SetFile -a l "{Targ}"