X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fplugins%2Fradius%2FMakefile.linux;fp=pppd%2Fplugins%2Fradius%2FMakefile.linux;h=f8de391b693349d4ed8a0fcdeae763c3c0065c0a;hp=30a3ac40de500653b20c1db1e9aeed3bec7151d8;hb=fb962146b47be40bd54f1be887ca4b8f4325a273;hpb=32be3676b6d3ad8db2052b8d445e7ef4b9ca6352 diff --git a/pppd/plugins/radius/Makefile.linux b/pppd/plugins/radius/Makefile.linux index 30a3ac4..f8de391 100644 --- a/pppd/plugins/radius/Makefile.linux +++ b/pppd/plugins/radius/Makefile.linux @@ -4,7 +4,7 @@ # MANDIR=/usr/man -PLUGIN=radius.so radattr.so +PLUGIN=radius.so radattr.so radrealms.so CFLAGS=-I../.. -I../../../include -Iradiusclient/include -O2 # Uncomment the next line to include support for Microsoft's @@ -32,6 +32,7 @@ install: all $(INSTALL) -d -m 755 $(LIBDIR) $(INSTALL) -s -c -m 755 radius.so $(LIBDIR) $(INSTALL) -s -c -m 755 radattr.so $(LIBDIR) + $(INSTALL) -s -c -m 755 radrealms.so $(LIBDIR) $(INSTALL) -c -m 444 pppd-radius.8 $(MANDIR)/man8 $(INSTALL) -c -m 444 pppd-radattr.8 $(MANDIR)/man8 @@ -41,12 +42,18 @@ radius.so: radiusclient/lib/.libs/libradiusclient.a radius.o radattr.so: radattr.o gcc -o radattr.so -shared radattr.o +radrealms.so: radrealms.o + gcc -o radrealms.so -shared radrealms.o + radius.o: radius.c gcc $(CFLAGS) -c -o radius.o -fPIC radius.c radattr.o: radattr.c gcc $(CFLAGS) -c -o radattr.o -fPIC radattr.c +radrealms.o: radrealms.c + gcc $(CFLAGS) -c -o radrealms.o -fPIC radrealms.c + radiusclient/lib/.libs/libradiusclient.a: test -r radiusclient/Makefile || \ (cd radiusclient; \