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/Makefile.inc | |
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/Makefile.inc')
-rw-r--r-- | usr.sbin/lpr/Makefile.inc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.sbin/lpr/Makefile.inc b/usr.sbin/lpr/Makefile.inc index 4b65dee..34d4fcb 100644 --- a/usr.sbin/lpr/Makefile.inc +++ b/usr.sbin/lpr/Makefile.inc @@ -1,3 +1,11 @@ -# $Id: Makefile.inc,v 1.1 1997/12/02 20:44:47 wollman Exp $ +# $Id: Makefile.inc,v 1.2 1997/12/17 19:38:30 wollman Exp $ CWARNFLAGS= -Werror -Wall -Wnested-externs -Wmissing-prototypes -Wno-unused + +.if exists(${.OBJDIR}/../common_source) +LIBLPR= ${.OBJDIR}/../common_source/liblpr.a +.else +LIBLPR= ${.CURDIR}/../common_source/liblpr.a +.endif + +.include "../Makefile.inc" |