summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/lprm
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-03-07 09:48:14 +0000
committerbde <bde@FreeBSD.org>1998-03-07 09:48:14 +0000
commit2f15ee67243320d906c911e1d8c24806b7bc4ed2 (patch)
tree27d20d840bd963137595575216ed329966f11e6a /usr.sbin/lpr/lprm
parentadad8e3b30af68187200b507357e3fcf43100f33 (diff)
downloadFreeBSD-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/lprm')
-rw-r--r--usr.sbin/lpr/lprm/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.sbin/lpr/lprm/Makefile b/usr.sbin/lpr/lprm/Makefile
index 47e46c1..9e26d7c 100644
--- a/usr.sbin/lpr/lprm/Makefile
+++ b/usr.sbin/lpr/lprm/Makefile
@@ -1,16 +1,15 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
-# $Id: Makefile,v 1.4 1997/12/16 17:53:35 bde Exp $
+# $Id: Makefile,v 1.5 1997/12/17 19:38:33 wollman Exp $
PROG= lprm
CFLAGS+=-I${.CURDIR}/../common_source ${CWARNFLAGS}
-SRCS= lprm.c
+.PATH: ${.CURDIR}/../common_source
+DPADD= ${LIBLPR}
+LDADD= ${LIBLPR}
+
BINOWN= root
BINGRP= daemon
BINMODE=6555
BINDIR= /usr/bin
-MAN1= lprm.1
-.PATH: ${.CURDIR}/../common_source
-DPADD= ${.OBJDIR}/../common_source/liblpr.a
-LDADD= -L${.OBJDIR}/../common_source -llpr
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud