aboutsummaryrefslogtreecommitdiff
path: root/plugins/down-root/Makefile
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-13 04:08:20 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-13 04:08:20 +0000
commitcecc5e657bb38c03f80747eab40073bc6ded9631 (patch)
tree01ade4571a8db916a2966cee89f4f09e1f8403b3 /plugins/down-root/Makefile
parentMakefile.am needs to do a rm -rf on .svn directories (diff)
downloadopenvpn-cecc5e657bb38c03f80747eab40073bc6ded9631.tar.xz
Renamed plugin to plugins to work around
strange automake issue. 2.1_beta2 git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@603 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'plugins/down-root/Makefile')
-rwxr-xr-xplugins/down-root/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/down-root/Makefile b/plugins/down-root/Makefile
new file mode 100755
index 0000000..5ce4ffb
--- /dev/null
+++ b/plugins/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