summaryrefslogtreecommitdiffstats
path: root/src/mac/Makefile.initial
diff options
context:
space:
mode:
authorMiro Jurisic <meeroh@mit.edu>1998-08-28 20:22:33 +0000
committerMiro Jurisic <meeroh@mit.edu>1998-08-28 20:22:33 +0000
commit6770c84427f2c47031c338ea595ee3af6d598700 (patch)
tree0c65a24f10552a93e28c418e5fa66a8f3a096763 /src/mac/Makefile.initial
parentebbfa404a9cf148a92da428877988294c9b3eb86 (diff)
downloadkrb5-6770c84427f2c47031c338ea595ee3af6d598700.tar.gz
krb5-6770c84427f2c47031c338ea595ee3af6d598700.tar.xz
krb5-6770c84427f2c47031c338ea595ee3af6d598700.zip
Added perl and AppleScript stuff to automagically build CW projects
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10893 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/mac/Makefile.initial')
-rw-r--r--src/mac/Makefile.initial40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/mac/Makefile.initial b/src/mac/Makefile.initial
new file mode 100644
index 000000000..08657f303
--- /dev/null
+++ b/src/mac/Makefile.initial
@@ -0,0 +1,40 @@
+all Ä build-makefile create-directories build-cw-projects
+ echo # Open {TargDir}:mac:libraries:BeforeBuild.prj in CodeWarrior IDE 2.1 and build it
+
+################################################################################
+##
+## Creating makefile
+##
+################################################################################
+
+build-makefile Ä
+ perl :mac:macfile_gen.pl
+
+################################################################################
+##
+## Creating build directories
+##
+################################################################################
+
+create-directories Ä
+ If Not "`Exists -d :bin`"
+ NewFolder :bin
+ End
+ If Not "`Exists -d :bin:PPC`"
+ NewFolder :bin:PPC
+ End
+ If Not "`Exists -d :bin:CFM-68K`"
+ NewFolder :bin:CFM-68K
+ End
+
+################################################################################
+##
+## Build CodeWarrior projects
+##
+################################################################################
+
+build-cw-projects Ä
+ (Echo "Tell application ¶"CodeWarrior IDE 2.1¶""; ¶
+ Echo "Open ¶"{TargDir}:mac:libraries:BeforeBuild.prj¶" as alias"; ¶
+ Echo "Make Project"; ¶
+ Echo "end") | Catenate | perl :mac:RunAppleScript.pl \ No newline at end of file