From 6770c84427f2c47031c338ea595ee3af6d598700 Mon Sep 17 00:00:00 2001 From: Miro Jurisic Date: Fri, 28 Aug 1998 20:22:33 +0000 Subject: 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 --- src/mac/Makefile.initial | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/mac/Makefile.initial (limited to 'src/mac/Makefile.initial') 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 -- cgit