Lines 100-106
Link Here
|
100 |
+endif |
100 |
+endif |
101 |
+ |
101 |
+ |
102 |
+# Define the object modules to be compiled and flags. |
102 |
+# Define the object modules to be compiled and flags. |
103 |
+CC=gcc |
103 |
+CC=cc |
104 |
+MAIN_OBJS = eclipseMain.o |
104 |
+MAIN_OBJS = eclipseMain.o |
105 |
+COMMON_OBJS = eclipseConfig.o eclipseCommon.o eclipseGtkCommon.o eclipseGtkInit.o |
105 |
+COMMON_OBJS = eclipseConfig.o eclipseCommon.o eclipseGtkCommon.o eclipseGtkInit.o |
106 |
+DLL_OBJS = eclipse.o eclipseGtk.o eclipseUtil.o eclipseJNI.o eclipseMozilla.o eclipseShm.o eclipseNix.o |
106 |
+DLL_OBJS = eclipse.o eclipseGtk.o eclipseUtil.o eclipseJNI.o eclipseMozilla.o eclipseShm.o eclipseNix.o |
Lines 326-333
Link Here
|
326 |
+OPT_FLAGS=-O2 -g -s -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
326 |
+OPT_FLAGS=-O2 -g -s -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
327 |
+ |
327 |
+ |
328 |
+core : |
328 |
+core : |
329 |
+ gcc $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) $(COMMON_INCLUDE) -o $(CORE.O) $(CORE.C) |
329 |
+ cc $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) $(COMMON_INCLUDE) -o $(CORE.O) $(CORE.C) |
330 |
+ gcc $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc |
330 |
+ cc $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc |
331 |
+ |
331 |
+ |
332 |
+clean : |
332 |
+clean : |
333 |
+ rm *.o |
333 |
+ rm *.o |
Lines 675-689
Link Here
|
675 |
+ |
675 |
+ |
676 |
+compile: |
676 |
+compile: |
677 |
+ @echo "Building file: $(GNOMEPROXY.O)" |
677 |
+ @echo "Building file: $(GNOMEPROXY.O)" |
678 |
+ @echo "Invoking: GCC C Compiler" |
678 |
+ @echo "Invoking: C Compiler" |
679 |
+ gcc $(INCLUDE) $(COMPILER_FLAGS) -o $(GNOMEPROXY.O) $(GNOMEPROXY.C) |
679 |
+ cc $(INCLUDE) $(COMPILER_FLAGS) -o $(GNOMEPROXY.O) $(GNOMEPROXY.C) |
680 |
+ @echo "Finished building: $(GNOMEPROXY.O)" |
680 |
+ @echo "Finished building: $(GNOMEPROXY.O)" |
681 |
+ @echo " " |
681 |
+ @echo " " |
682 |
+ |
682 |
+ |
683 |
+link: compile |
683 |
+link: compile |
684 |
+ @echo "Building target: $(LIB_NAME_FULL)" |
684 |
+ @echo "Building target: $(LIB_NAME_FULL)" |
685 |
+ @echo "Invoking: GCC C Linker" |
685 |
+ @echo "Invoking: C Linker" |
686 |
+ gcc $(LINKER_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(LIBS) $(GNOMEPROXY.O) -lc |
686 |
+ cc $(LINKER_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(LIBS) $(GNOMEPROXY.O) -lc |
687 |
+ @echo "Finished building target: $(LIB_NAME_FULL)" |
687 |
+ @echo "Finished building target: $(LIB_NAME_FULL)" |
688 |
+ @echo " " |
688 |
+ @echo " " |
689 |
+ |
689 |
+ |
Lines 7052-7060
Link Here
|
7052 |
+ <property name="header-path" value="${jdk-path}/../include"/> |
7052 |
+ <property name="header-path" value="${jdk-path}/../include"/> |
7053 |
+ <property name="header-freebsd-path" value="${header-path}/freebsd" /> |
7053 |
+ <property name="header-freebsd-path" value="${header-path}/freebsd" /> |
7054 |
+ |
7054 |
+ |
7055 |
+ <echo message="gcc -o ${library-file} -shared -I${src-path} -I${header-freebsd-path} -fPIC ${library-file}"/> |
7055 |
+ <echo message="cc -o ${library-file} -shared -I${src-path} -I${header-freebsd-path} -fPIC ${library-file}"/> |
7056 |
+ |
7056 |
+ |
7057 |
+ <apply executable="gcc" dest="${eclipse-home}/" parallel="false"> |
7057 |
+ <apply executable="cc" dest="${eclipse-home}/" parallel="false"> |
7058 |
+ <arg value="-o"/> |
7058 |
+ <arg value="-o"/> |
7059 |
+ <arg value="${library-file}"/> |
7059 |
+ <arg value="${library-file}"/> |
7060 |
+ <arg value="-shared"/> |
7060 |
+ <arg value="-shared"/> |