summaryrefslogtreecommitdiff
path: root/pptpd-1.3.3/plugins/Makefile
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-10-06 16:55:05 +0400
committerKozlov Dmitry <dima@server>2010-10-06 16:55:05 +0400
commit45b3c9c5bdd896f51f47e29069e3c030ddb17d51 (patch)
treecbec5824ffb2eee20b98ad9892a357304384ff01 /pptpd-1.3.3/plugins/Makefile
parentba3db9f17477ea4b49c266c5cb50f63f3b074db2 (diff)
parent01ccd98495c9da1e79f7867bf52416b23f20200d (diff)
downloadaccel-ppp-45b3c9c5bdd896f51f47e29069e3c030ddb17d51.tar.gz
accel-ppp-45b3c9c5bdd896f51f47e29069e3c030ddb17d51.zip
merged branch accel-pptpd
Diffstat (limited to 'pptpd-1.3.3/plugins/Makefile')
-rw-r--r--pptpd-1.3.3/plugins/Makefile34
1 files changed, 0 insertions, 34 deletions
diff --git a/pptpd-1.3.3/plugins/Makefile b/pptpd-1.3.3/plugins/Makefile
deleted file mode 100644
index 059cba11..00000000
--- a/pptpd-1.3.3/plugins/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-CC = gcc
-COPTS = -O2 -g
-CFLAGS = $(COPTS) -I.. -I../../include -fPIC
-LDFLAGS = -shared
-LDADD = -lutil
-INSTALL = install -o root
-prefix = /usr/local
-
-PLUGINS = pptpd-logwtmp.so
-
-# include dependencies if present
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
-
-all: $(PLUGINS)
-
-%.so: %.c
- $(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^ $(LDADD)
-
-LIBDIR ?= $(DESTDIR)$(prefix)/lib/pptpd
-
-install: $(PLUGINS)
- $(INSTALL) -d $(LIBDIR)
- $(INSTALL) $? $(LIBDIR)
-
-uninstall:
- rm -f $(LIBDIR)$(PLUGINS)
-
-clean:
- rm -f *.o *.so *.a
-
-depend:
- $(CPP) -M $(CFLAGS) *.c >.depend