summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/make_carbon.mak
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/make_carbon.mak')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/make_carbon.mak32
1 files changed, 32 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/make_carbon.mak b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/make_carbon.mak
new file mode 100644
index 0000000000..da6a3f6335
--- /dev/null
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/make_carbon.mak
@@ -0,0 +1,32 @@
+#**********************************************************************
+# Copyright (c) 2000, 2002 IBM Corp. All rights reserved.
+# This file is made available under the terms of the Common Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/cpl-v10.html
+#**********************************************************************
+#
+# Makefile for SWT libraries on Carbon/Mac
+
+include make_common.mak
+
+SWT_PREFIX=swt
+WS_PREFIX=carbon
+SWT_VERSION=$(maj_ver)$(min_ver)
+SWT_LIB=lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).jnilib
+
+DEBUG =
+CFLAGS = -c -DSWT_VERSION=$(SWT_VERSION) $(DEBUG) -DCARBON -I /System/Library/Frameworks/JavaVM.framework/Headers
+LFLAGS = -bundle -framework JavaVM -framework Carbon
+
+SWT_OBJS = swt.o structs.o callback.o
+
+all: $(SWT_LIB)
+
+.c.o:
+ cc $(CFLAGS) $*.c
+
+$(SWT_LIB): $(SWT_OBJS)
+ cc -o $(SWT_LIB) $(LFLAGS) $(SWT_OBJS)
+
+clean:
+ rm -f *.jnilib *.o \ No newline at end of file