freebsd-dev/usr.sbin/lpr/Makefile.inc
Bruce Evans 06c779979a 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.
1998-03-07 09:48:14 +00:00

12 lines
309 B
Makefile

# $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"