NetBSD/sys/lib/libnetboot/Makefile.inc

20 lines
487 B
Makefile

# $Id: Makefile.inc,v 1.4 1993/10/23 02:33:50 cgd Exp $
#
# NOTE: $S must correspond to the top of the 'sys' tree
NETBOOTDIR= $S/lib/libnetboot
.if exists($(NETBOOTDIR)/obj.${MACHINE})
NETBOOTLIBDIR= $(NETBOOTDIR)/obj.${MACHINE}
.else
NETBOOTLIBDIR= $(NETBOOTDIR)
.endif
NETBOOTLIB= $(NETBOOTLIBDIR)/libnetboot.a
$(NETBOOTLIB): .NOTMAIN __always_make_netbootlib
@echo making sure the netboot library is up to date...
@(cd $(NETBOOTDIR) ; make)
__always_make_netbootlib: .NOTMAIN