summaryrefslogtreecommitdiffstats
path: root/plugin/down-root/Makefile
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-16 12:24:10 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-16 12:24:10 +0000
commitf49eab6232a599968ab3c9920e9b5cfea3cf2c33 (patch)
tree46379e1e4dc11c124185ceb08ba197cb5e7136f7 /plugin/down-root/Makefile
parent024cbc3eebd15010c49174016ecc34743e73f898 (diff)
downloadopenvpn-f49eab6232a599968ab3c9920e9b5cfea3cf2c33.tar.gz
openvpn-f49eab6232a599968ab3c9920e9b5cfea3cf2c33.tar.xz
openvpn-f49eab6232a599968ab3c9920e9b5cfea3cf2c33.zip
Reverted plugin directory location.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@638 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'plugin/down-root/Makefile')
-rwxr-xr-xplugin/down-root/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugin/down-root/Makefile b/plugin/down-root/Makefile
new file mode 100755
index 0000000..5ce4ffb
--- /dev/null
+++ b/plugin/down-root/Makefile
@@ -0,0 +1,17 @@
+#
+# Build the OpenVPN down-root plugin module.
+#
+
+# This directory is where we will look for openvpn-plugin.h
+INCLUDE=-I../..
+
+CC_FLAGS=-O2 -Wall
+
+down-root.so : down-root.o
+ gcc ${CC_FLAGS} -fPIC -shared -Wl,-soname,openvpn-down-root.so -o openvpn-down-root.so down-root.o -lc
+
+down-root.o : down-root.c
+ gcc ${CC_FLAGS} -fPIC -c ${INCLUDE} down-root.c
+
+clean :
+ rm -f *.o *.so