mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
*** empty log message ***
This commit is contained in:
parent
a5e7b14cc5
commit
fb3b0b4c05
2 changed files with 9 additions and 3 deletions
|
@ -1,12 +1,18 @@
|
||||||
# makefile for libspawner.so
|
# 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 = libspawner.so
|
||||||
LIB_NAME_FULL = libspawner.so.1
|
LIB_NAME_FULL = ../os/linux/x86/libspawner.so
|
||||||
OBJS=spawner.o io.o exec_unix.o
|
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)
|
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 :
|
clean :
|
||||||
rm $(OBJS)
|
rm $(OBJS)
|
||||||
|
|
BIN
core/org.eclipse.cdt.core.linux/os/linux/x86/libspawner.so
Normal file
BIN
core/org.eclipse.cdt.core.linux/os/linux/x86/libspawner.so
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue