Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Inglis2002-09-03 11:41:42 -0400
committerDavid Inglis2002-09-03 11:41:42 -0400
commitfb3b0b4c057c27daa0d5cd2530bbd2513e017196 (patch)
treed261bde4c9a6f31c2caa6cbe2647182ef505ddf0 /core/org.eclipse.cdt.core.linux/library
parenta5e7b14cc5178cc012e1482667c1f515e9266551 (diff)
downloadorg.eclipse.cdt-fb3b0b4c057c27daa0d5cd2530bbd2513e017196.tar.gz
org.eclipse.cdt-fb3b0b4c057c27daa0d5cd2530bbd2513e017196.tar.xz
org.eclipse.cdt-fb3b0b4c057c27daa0d5cd2530bbd2513e017196.zip
*** empty log message ***
Diffstat (limited to 'core/org.eclipse.cdt.core.linux/library')
-rw-r--r--core/org.eclipse.cdt.core.linux/library/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.core.linux/library/Makefile b/core/org.eclipse.cdt.core.linux/library/Makefile
index ed47c386f71..7a3baab61f5 100644
--- a/core/org.eclipse.cdt.core.linux/library/Makefile
+++ b/core/org.eclipse.cdt.core.linux/library/Makefile
@@ -1,12 +1,18 @@
# makefile for libspawner.so
+#set JDK_INCLUDES
+JDK_INCLUDES=/usr/local/jdk/include
+JDK_OS_INCLUDES=/usr/local/jdk/include/linux
+
+CC=gcc
LIB_NAME = libspawner.so
-LIB_NAME_FULL = libspawner.so.1
+LIB_NAME_FULL = ../os/linux/x86/libspawner.so
OBJS=spawner.o io.o exec_unix.o
-CCFLAGS+=-fpic -D_REENTRANT -I$(JDK_INCLUDES)
+CPPFLAGS = -I. -I$(JDK_INCLUDES) -I$(JDK_OS_INCLUDES)
+CFLAGS +=-fpic -D_REENTRANT
spawner : $(OBJS)
- gcc -g -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(OBJS) -lc
+ $(CC) -g -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(OBJS) -lc
clean :
rm $(OBJS)

Back to the top