diff options
author | Alberto Gonzalez Iniesta <agi@inittab.org> | 2012-02-21 15:53:40 +0100 |
---|---|---|
committer | Alberto Gonzalez Iniesta <agi@inittab.org> | 2012-02-21 15:53:40 +0100 |
commit | 349cfa7acb95abe865209a28e417ec74b56f9bba (patch) | |
tree | ad65334821b587c4ecdd461be84c94305ffdb888 /plugin/down-root/Makefile |
Imported Upstream version 2.2.1upstream/2.2.1
Diffstat (limited to 'plugin/down-root/Makefile')
-rwxr-xr-x | plugin/down-root/Makefile | 17 |
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 |