Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Pogorzelski2009-11-05 15:46:15 +0000
committerPawel Pogorzelski2009-11-05 15:46:15 +0000
commitb9f7a0d63f6fb6aa1e8a4d46a111246d68761b72 (patch)
treef0c07179e0e922b53070dd9eca67447ef47c0e43 /bundles/org.eclipse.core.net/natives/unix
parent209f31da24c4433b6615a3e378f85768e881eab8 (diff)
downloadeclipse.platform.team-b9f7a0d63f6fb6aa1e8a4d46a111246d68761b72.tar.gz
eclipse.platform.team-b9f7a0d63f6fb6aa1e8a4d46a111246d68761b72.tar.xz
eclipse.platform.team-b9f7a0d63f6fb6aa1e8a4d46a111246d68761b72.zip
Bug 273072 - [Net] Provide native proxy support on x86_64 Linux
Diffstat (limited to 'bundles/org.eclipse.core.net/natives/unix')
-rw-r--r--bundles/org.eclipse.core.net/natives/unix/linux/x86_64/makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/bundles/org.eclipse.core.net/natives/unix/linux/x86_64/makefile b/bundles/org.eclipse.core.net/natives/unix/linux/x86_64/makefile
new file mode 100644
index 000000000..e38c84ed0
--- /dev/null
+++ b/bundles/org.eclipse.core.net/natives/unix/linux/x86_64/makefile
@@ -0,0 +1,46 @@
+#**********************************************************************
+# Copyright (c) 2008 Oakland Software Incorporated and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Oakland Software Incorporated - initial submission
+# IBM Corporation - refactoring, bug 245849
+# Tristan Tarrant - x86_64 support, bug 273072
+#
+#**********************************************************************
+#
+# makefile for libgnomeproxy-1.0.0.so
+
+GNOMEPROXY.C = ../../gnomeproxy.c
+GNOMEPROXY.O = gnomeproxy.o
+LIB_NAME = gnomeproxy.so
+LIB_NAME_FULL = libgnomeproxy-1.0.0.so
+
+INCLUDE = `pkg-config --cflags gconf-2.0`
+COMPILER_FLAGS= -O0 -fPIC -g3 -Wall -c -fmessage-length=0 -m64
+
+LIBS := `pkg-config --libs gconf-2.0`
+LINKER_FLAGS= -m64
+
+all: link
+
+compile:
+ @echo "Building file: $(GNOMEPROXY.O)"
+ @echo "Invoking: GCC C Compiler"
+ gcc $(INCLUDE) $(COMPILER_FLAGS) -o $(GNOMEPROXY.O) $(GNOMEPROXY.C)
+ @echo "Finished building: $(GNOMEPROXY.O)"
+ @echo " "
+
+link: compile
+ @echo "Building target: $(LIB_NAME_FULL)"
+ @echo "Invoking: GCC C Linker"
+ gcc $(LINKER_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(LIBS) $(GNOMEPROXY.O) -lc
+ @echo "Finished building target: $(LIB_NAME_FULL)"
+ @echo " "
+
+clean:
+ -$(RM) $(GNOMEPROXY.O) $(LIB_NAME_FULL)
+ -@echo " " \ No newline at end of file

Back to the top