X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2FMakefile.linux;h=306f8f3979b5b145e969880bb19f97a884c49421;hb=f2af1c05596be799c0c0ec1e451b8b0ae5ddabc6;hp=aaf5c31322cf36277103bbc1fbf8644334bf96aa;hpb=3238ea487539f57ee027fb2898ec0d3c4dbd0139;p=ppp.git diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index aaf5c31..306f8f3 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -1,6 +1,6 @@ # # pppd makefile for Linux -# $Id: Makefile.linux,v 1.65 2004/11/01 03:49:20 paulus Exp $ +# $Id: Makefile.linux,v 1.68 2005/07/12 01:50:23 paulus Exp $ # # Default installation locations @@ -79,7 +79,7 @@ INCLUDE_DIRS= -I../include COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) +CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"' ifdef CHAPMS CFLAGS += -DCHAPMS=1 @@ -118,9 +118,7 @@ CFLAGS += -DHAS_SHADOW endif ifneq ($(wildcard /usr/include/crypt.h),) -CFLAGS += -DHAVE_CRYPT_H=1 -endif -ifneq ($(wildcard /usr/lib/libcrypt.*),) +CFLAGS += -DHAVE_CRYPT_H=1 LIBS += -lcrypt endif @@ -153,9 +151,9 @@ endif # TDB ifdef USE_TDB CFLAGS += -DUSE_TDB=1 - PPPDSRCS += tdb.c - PPPDOBJS += tdb.o - HEADERS += tdb.h + PPPDSRCS += tdb.c spinlock.c + PPPDOBJS += tdb.o spinlock.o + HEADERS += tdb.h spinlock.h endif # Lock library binary for Linux is included in 'linux' subdirectory.