diff options
Diffstat (limited to 'Prebuild/scripts')
-rwxr-xr-x | Prebuild/scripts/Clean.sh | 4 | ||||
-rwxr-xr-x | Prebuild/scripts/autotools.sh | 5 | ||||
-rwxr-xr-x | Prebuild/scripts/makefile.bat | 4 | ||||
-rwxr-xr-x | Prebuild/scripts/makefile.sh | 10 | ||||
-rwxr-xr-x | Prebuild/scripts/xcode.bat | 4 | ||||
-rwxr-xr-x | Prebuild/scripts/xcode.sh | 2 |
6 files changed, 28 insertions, 1 deletions
diff --git a/Prebuild/scripts/Clean.sh b/Prebuild/scripts/Clean.sh new file mode 100755 index 0000000..b0a6530 --- /dev/null +++ b/Prebuild/scripts/Clean.sh | |||
@@ -0,0 +1,4 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | ./prebuild /clean /removedir obj /file ../prebuild.xml /pause | ||
4 | rm -rf ../Makefile | ||
diff --git a/Prebuild/scripts/autotools.sh b/Prebuild/scripts/autotools.sh index 18cd46f..4d140ce 100755 --- a/Prebuild/scripts/autotools.sh +++ b/Prebuild/scripts/autotools.sh | |||
@@ -1,2 +1,5 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | prebuild /target autotools /file ../prebuild.xml /build NET_2_0 /pause | 2 | RUNTIME=`which mono` |
3 | |||
4 | SCRIPTDIR=`dirname $0` | ||
5 | ${RUNTIME} ${SCRIPTDIR}/../Prebuild.exe /target autotools /file ${SCRIPTDIR}/../prebuild.xml /build NET_2_0 | ||
diff --git a/Prebuild/scripts/makefile.bat b/Prebuild/scripts/makefile.bat new file mode 100755 index 0000000..eef9a69 --- /dev/null +++ b/Prebuild/scripts/makefile.bat | |||
@@ -0,0 +1,4 @@ | |||
1 | @rem Generates makefiles | ||
2 | @rem for make | ||
3 | cd .. | ||
4 | Prebuild.exe /target makefile /file prebuild.xml /pause | ||
diff --git a/Prebuild/scripts/makefile.sh b/Prebuild/scripts/makefile.sh new file mode 100755 index 0000000..2e656cb --- /dev/null +++ b/Prebuild/scripts/makefile.sh | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | ./prebuild /target makefile /file ../prebuild.xml /pause | ||
4 | |||
5 | if [ -f ../Makefile ] | ||
6 | then | ||
7 | rm -rf ../Makefile | ||
8 | fi | ||
9 | |||
10 | mv ../Prebuild.make ../Makefile | ||
diff --git a/Prebuild/scripts/xcode.bat b/Prebuild/scripts/xcode.bat new file mode 100755 index 0000000..9883edf --- /dev/null +++ b/Prebuild/scripts/xcode.bat | |||
@@ -0,0 +1,4 @@ | |||
1 | @rem Generates a Xcode files | ||
2 | @rem for NAnt | ||
3 | cd .. | ||
4 | Prebuild.exe /target xcode /file prebuild.xml /pause | ||
diff --git a/Prebuild/scripts/xcode.sh b/Prebuild/scripts/xcode.sh new file mode 100755 index 0000000..e9b58f9 --- /dev/null +++ b/Prebuild/scripts/xcode.sh | |||
@@ -0,0 +1,2 @@ | |||
1 | #!/bin/sh | ||
2 | prebuild /target xcode /file ../prebuild.xml /pause | ||