From 3e4d8f433239c40311037616b1b8833a06651ae0 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 16 Apr 2012 19:21:14 +0200 Subject: Initial import --- openvpn/src/plugins/down-root/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 openvpn/src/plugins/down-root/Makefile (limited to 'openvpn/src/plugins/down-root/Makefile') diff --git a/openvpn/src/plugins/down-root/Makefile b/openvpn/src/plugins/down-root/Makefile new file mode 100755 index 00000000..e66c99ae --- /dev/null +++ b/openvpn/src/plugins/down-root/Makefile @@ -0,0 +1,18 @@ +# +# Build the OpenVPN down-root plugin module. +# + +# This directory is where we will look for openvpn-plugin.h +CPPFLAGS=-I../../../include + +CC=gcc +CFLAGS=-O2 -Wall + +down-root.so : down-root.o + $(CC) $(CFLAGS) -fPIC -shared $(LDFLAGS) -Wl,-soname,openvpn-down-root.so -o openvpn-down-root.so down-root.o -lc + +down-root.o : down-root.c + $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c down-root.c + +clean : + -rm -f *.o *.so -- cgit v1.2.3