aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Prebuild/scripts')
-rwxr-xr-xPrebuild/scripts/Clean.sh4
-rwxr-xr-xPrebuild/scripts/autotools.sh5
-rwxr-xr-xPrebuild/scripts/makefile.bat4
-rwxr-xr-xPrebuild/scripts/makefile.sh10
-rwxr-xr-xPrebuild/scripts/xcode.bat4
-rwxr-xr-xPrebuild/scripts/xcode.sh2
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
4rm -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
2prebuild /target autotools /file ../prebuild.xml /build NET_2_0 /pause 2RUNTIME=`which mono`
3
4SCRIPTDIR=`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
3cd ..
4Prebuild.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
5if [ -f ../Makefile ]
6then
7 rm -rf ../Makefile
8fi
9
10mv ../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
3cd ..
4Prebuild.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
2prebuild /target xcode /file ../prebuild.xml /pause