|
From: <cod...@go...> - 2008-09-30 22:44:30
|
Author: wol...@gm...
Date: Tue Sep 30 15:43:17 2008
New Revision: 323
Modified:
trunk/hoc/Bindings/just-generate.sh
trunk/hoc/Bindings/make-bindings-macos.sh
Log:
more cleanup in binding generator scripts
Modified: trunk/hoc/Bindings/just-generate.sh
==============================================================================
--- trunk/hoc/Bindings/just-generate.sh (original)
+++ trunk/hoc/Bindings/just-generate.sh Tue Sep 30 15:43:17 2008
@@ -1,24 +1,15 @@
-function build()
-{
- true
-}
-
ARGUMENTS=$*
+OPTS=-q
-IFGEN=hoc-ifgen #"../../InterfaceGenerator2/hoc-ifgen"
+IFGEN=hoc-ifgen
+set -e
mkdir -p Generated
cd Generated
-OPTS=-q
$IFGEN Foundation -f -b ../binding-script.txt -a ../AdditionalCode/ $OPTS
-build Foundation
$IFGEN QuartzCore -f -b ../binding-script.txt -a ../AdditionalCode/ -d
Foundation $OPTS
-build QuartzCore
$IFGEN AppKit -f -b ../binding-script.txt -a ../AdditionalCode/ -d
Foundation -d QuartzCore $OPTS
-build AppKit
$IFGEN CoreData -f -b ../binding-script.txt -a ../AdditionalCode/ -d
Foundation \
-d AppKit -d QuartzCore $OPTS # fake dependencies
-build CoreData
$IFGEN Cocoa -u -d Foundation -d QuartzCore -d AppKit -d CoreData $OPTS
-build Cocoa
Modified: trunk/hoc/Bindings/make-bindings-macos.sh
==============================================================================
--- trunk/hoc/Bindings/make-bindings-macos.sh (original)
+++ trunk/hoc/Bindings/make-bindings-macos.sh Tue Sep 30 15:43:17 2008
@@ -10,19 +10,20 @@
ARGUMENTS=$*
OPTS=
+IFGEN=hoc-ifgen
+
set -e
mkdir -p Generated
cd Generated
-
-hoc-ifgen Foundation -f -b ../binding-script.txt -a ../AdditionalCode/
$OPTS
-build HOC-Foundation
-hoc-ifgen QuartzCore -f -b ../binding-script.txt -a ../AdditionalCode/ -d
Foundation $OPTS
-build HOC-QuartzCore
-hoc-ifgen AppKit -f -b ../binding-script.txt -a ../AdditionalCode/ -d
Foundation -d QuartzCore $OPTS
-build HOC-AppKit
-hoc-ifgen CoreData -f -b ../binding-script.txt -a ../AdditionalCode/ -d
Foundation \
- -d AppKit -d QuartzCore $OPTS # fake dependencies
-build HOC-CoreData
-hoc-ifgen Cocoa -u -d Foundation -d QuartzCore -d AppKit -d CoreData $OPTS
-build HOC-Cocoa
+$IFGEN Foundation -f -b ../binding-script.txt -a ../AdditionalCode/ $OPTS
+build Foundation
+$IFGEN QuartzCore -f -b ../binding-script.txt -a ../AdditionalCode/ -d
Foundation $OPTS
+build QuartzCore
+$IFGEN AppKit -f -b ../binding-script.txt -a ../AdditionalCode/ -d
Foundation -d QuartzCore $OPTS
+build AppKit
+$IFGEN CoreData -f -b ../binding-script.txt -a ../AdditionalCode/ -d
Foundation \
+ -d AppKit -d QuartzCore $OPTS # fake dependencies
+build CoreData
+$IFGEN Cocoa -u -d Foundation -d QuartzCore -d AppKit -d CoreData $OPTS
+build Cocoa
|