]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/radius/Makefile.linux
Remove obsolete Makefile(s) and configure scripts
[ppp.git] / pppd / plugins / radius / Makefile.linux
diff --git a/pppd/plugins/radius/Makefile.linux b/pppd/plugins/radius/Makefile.linux
deleted file mode 100644 (file)
index 26bacec..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-# Makefile for RADIUS plugin
-#
-# Copyright 2002 Roaring Penguin Software Inc.
-#
-
-CROSS_COMPILE=@CROSS_COMPILE@
-CC=$(CROSS_COMPILE)@CC@
-COPTS=@CFLAGS@
-
-PREFIX = @DESTDIR@
-DESTDIR = $(INSTROOT)$(PREFIX)
-MANDIR = $(DESTDIR)/share/man/man8
-LIBDIR = $(INSTROOT)@LIBDIR@
-VERSION = @VERSION@
-PLUGINDIR = $(LIBDIR)/pppd/$(VERSION)
-
-INSTALL        = install
-
-PLUGIN=radius.so radattr.so radrealms.so
-CFLAGS = $(COPTS) -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
-
-# Uncomment the next line to include support for Microsoft's
-# MS-CHAP authentication protocol.
-CHAPMS=y
-# Uncomment the next line to include support for MPPE.
-MPPE=y
-# Uncomment the next lint to include support for traffic limiting
-MAXOCTETS=y
-
-ifdef CHAPMS
-CFLAGS += -DCHAPMS=1
-ifdef MPPE
-CFLAGS += -DMPPE=1
-endif
-endif
-ifdef MAXOCTETS
-CFLAGS += -DMAXOCTETS=1
-endif
-
-all: $(PLUGIN)
-
-install: all
-       $(INSTALL) -d -m 755 $(PLUGINDIR)
-       $(INSTALL) -c -m 755 radius.so $(PLUGINDIR)
-       $(INSTALL) -c -m 755 radattr.so $(PLUGINDIR)
-       $(INSTALL) -c -m 755 radrealms.so $(PLUGINDIR)
-       $(INSTALL) -c -m 444 pppd-radius.8 $(MANDIR)
-       $(INSTALL) -c -m 444 pppd-radattr.8 $(MANDIR)
-
-radius.so: radius.o libradiusclient.a
-       $(CC) $(LDFLAGS) -o radius.so -shared radius.o libradiusclient.a
-
-radattr.so: radattr.o
-       $(CC) $(LDFLAGS) -o radattr.so -shared radattr.o
-
-radrealms.so: radrealms.o
-       $(CC) $(LDFLAGS) -o radrealms.so -shared radrealms.o
-
-CLIENTOBJS = avpair.o buildreq.o config.o dict.o ip_util.o \
-       clientid.o sendserver.o lock.o util.o md5.o
-libradiusclient.a: $(CLIENTOBJS)
-       $(AR) rv $@ $?
-
-clean:
-       rm -f *.o *.so *.a
-
-distclean:
-       rm -f *.o *.so *.a
-
-dist-clean: distclean