X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fplugins%2FMakefile.linux;fp=pppd%2Fplugins%2FMakefile.linux;h=6403e3d477e3bf427f5830743dd9cbc88fc6ac94;hp=e2a680e85f955140432ef832a5a22ab9b0ccfce4;hb=4087ec556b1ccee15d8e97153f3800b79982f8ba;hpb=248c11d375c54a8b5fc61c6659be2f8826e889ec diff --git a/pppd/plugins/Makefile.linux b/pppd/plugins/Makefile.linux index e2a680e..6403e3d 100644 --- a/pppd/plugins/Makefile.linux +++ b/pppd/plugins/Makefile.linux @@ -1,5 +1,12 @@ -#CC = gcc -COPTS = -O2 -g +CROSS_COMPILE=@CROSS_COMPILE@ +CC=$(CROSS_COMPILE)@CC@ +COPTS=@CFLAGS@ + +DESTDIR = $(INSTROOT)@DESTDIR@ +BINDIR = $(DESTDIR)/sbin +MANDIR = $(DESTDIR)/share/man/man8 +LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION) + CFLAGS = $(COPTS) -I.. -I../../include -fPIC LDFLAGS_SHARED = -shared INSTALL = install @@ -7,11 +14,6 @@ INSTALL = install # EAP-TLS CFLAGS += -DUSE_EAPTLS=1 -DESTDIR = $(INSTROOT)@DESTDIR@ -BINDIR = $(DESTDIR)/sbin -MANDIR = $(DESTDIR)/share/man/man8 -LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION) - SUBDIRS := pppoe pppoatm pppol2tp # Uncomment the next line to include the radius authentication plugin SUBDIRS += radius