summaryrefslogtreecommitdiff
path: root/java/eclipse-devel/files/patch-features-launchers-motif-build.sh
blob: 3dfeb9174230b39282602ec6d624fc49f8633b40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- features/org.eclipse.platform.launchers/library/motif/build.sh~	Sat Feb 19 12:13:49 2005
+++ features/org.eclipse.platform.launchers/library/motif/build.sh	Sun Mar 20 15:27:04 2005
@@ -55,6 +55,15 @@
 		MOTIF_HOME=/bluebird/teamswt/swt-builddir/motif21		
 		OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch"
 		;;
+	"FreeBSD")
+		makefile="make_freebsd.mak"
+		defaultOS="freebsd"
+		defaultOSArch="x86"
+		defaultWS="motif"
+		X11_HOME=$X11BASE
+		MOTIF_HOME=$X11BASE
+		OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch"
+		;;
 	"SunOS")
 		makefile="make_solaris.mak"
 		defaultOS="solaris"
@@ -122,11 +131,11 @@
 # If the OS is supported (a makefile exists)
 if [ "$makefile" != "" ]; then
 	if [ "$extraArgs" != "" ]; then
-		make -f $makefile $extraArgs
+		gmake -f $makefile $extraArgs
 	else
 		echo "Building $OS launcher. Defaults: -os $DEFAULT_OS -arch $DEFAULT_OS_ARCH -ws $DEFAULT_WS"
-		make -f $makefile clean
-		make -f $makefile all
+		gmake -f $makefile clean
+		gmake -f $makefile all
 	fi
 else
 	echo "Unknown OS ($OS) -- build aborted"