12345678910111213141516171819202122232425262728293031323334 |
- --- ppp-2.4.4.orig/pppd/plugins/radius/Makefile.linux 2006-06-04 07:04:14.000000000 +0200
- +++ ppp-2.4.4/pppd/plugins/radius/Makefile.linux 2009-06-05 19:12:00.000000000 +0200
- @@ -12,7 +12,8 @@ VERSION = $(shell awk -F '"' '/VERSION/
- INSTALL = install
-
- PLUGIN=radius.so radattr.so radrealms.so
- -CFLAGS=-I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
- +COPTS = -O2
- +CFLAGS=-I. -I../.. -I../../../include $(COPTS) -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
-
- # Uncomment the next line to include support for Microsoft's
- # MS-CHAP authentication protocol.
- @@ -36,9 +37,9 @@ all: $(PLUGIN)
-
- 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 755 radius.so $(LIBDIR)
- + $(INSTALL) -c -m 755 radattr.so $(LIBDIR)
- + $(INSTALL) -c -m 755 radrealms.so $(LIBDIR)
- $(INSTALL) -c -m 444 pppd-radius.8 $(MANDIR)
- $(INSTALL) -c -m 444 pppd-radattr.8 $(MANDIR)
-
- @@ -54,7 +55,7 @@ radrealms.so: 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 $@ $?
- + $(TARGET_AR) rcsv $@ $?
-
- clean:
- rm -f *.o *.so *.a
|