diff options
author | bde <bde@FreeBSD.org> | 1998-03-07 09:48:14 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-03-07 09:48:14 +0000 |
commit | 2f15ee67243320d906c911e1d8c24806b7bc4ed2 (patch) | |
tree | 27d20d840bd963137595575216ed329966f11e6a /usr.sbin/lpr/lpd | |
parent | adad8e3b30af68187200b507357e3fcf43100f33 (diff) | |
download | FreeBSD-src-2f15ee67243320d906c911e1d8c24806b7bc4ed2.zip FreeBSD-src-2f15ee67243320d906c911e1d8c24806b7bc4ed2.tar.gz |
Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.
Get the default BINDIR correctly (by including ../Makefile.inc recursively.
Override the default it it is wrong.
Don't override defaults when the defaults are correct.
Diffstat (limited to 'usr.sbin/lpr/lpd')
-rw-r--r-- | usr.sbin/lpr/lpd/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/lpr/lpd/Makefile b/usr.sbin/lpr/lpd/Makefile index de9b860..80ea478 100644 --- a/usr.sbin/lpr/lpd/Makefile +++ b/usr.sbin/lpr/lpd/Makefile @@ -1,12 +1,11 @@ # From: @(#)Makefile 8.1 (Berkeley) 6/6/93 -# $Id: Makefile,v 1.4 1997/12/02 20:45:52 wollman Exp $ +# $Id: Makefile,v 1.5 1997/12/16 17:53:25 bde Exp $ PROG= lpd CFLAGS+=-I${.CURDIR}/../common_source -Wall -Werror MAN8= lpd.8 SRCS= lpd.c printjob.c recvjob.c lpdchar.c modes.c -DPADD= ${.OBJDIR}/../common_source/liblpr.a -LDADD= -L${.OBJDIR}/../common_source -llpr +DPADD= ${LIBLPR} +LDADD= ${LIBLPR} -.include "../../Makefile.inc" .include <bsd.prog.mk> |