diff options
author | Bruce Evans <bde@FreeBSD.org> | 1998-03-07 09:48:14 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1998-03-07 09:48:14 +0000 |
commit | 06c779979afdce3ff0482c42ff0297a38abf873e (patch) | |
tree | 278060eab682ac3b85adea3f538f2b912a32f259 /usr.sbin/lpr/lpq/Makefile | |
parent | 15d0bb0b98458414b40bb3a7f874631fda41557a (diff) | |
download | src-06c779979afdce3ff0482c42ff0297a38abf873e.tar.gz src-06c779979afdce3ff0482c42ff0297a38abf873e.zip |
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.
Notes
Notes:
svn path=/head/; revision=34160
Diffstat (limited to 'usr.sbin/lpr/lpq/Makefile')
-rw-r--r-- | usr.sbin/lpr/lpq/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/lpr/lpq/Makefile b/usr.sbin/lpr/lpq/Makefile index 7b2cdc487a4c..766849983854 100644 --- a/usr.sbin/lpr/lpq/Makefile +++ b/usr.sbin/lpr/lpq/Makefile @@ -1,15 +1,14 @@ # From: @(#)Makefile 8.1 (Berkeley) 6/6/93 -# $Id: Makefile,v 1.3 1997/12/02 20:46:03 wollman Exp $ +# $Id: Makefile,v 1.4 1997/12/16 17:53:28 bde Exp $ PROG= lpq CFLAGS+=-I${.CURDIR}/../common_source ${CWARNFLAGS} -SRCS= lpq.c +DPADD= ${LIBLPR} +LDADD= ${LIBLPR} + BINOWN= root BINGRP= daemon BINMODE=6555 BINDIR= /usr/bin -MAN1= lpq.1 -DPADD= ${.OBJDIR}/../common_source/liblpr.a -LDADD= -L${.OBJDIR}/../common_source -llpr .include <bsd.prog.mk> |