summaryrefslogtreecommitdiff
path: root/sys/lib/libnetboot/Makefile.inc
blob: 817de68755ff4e737849236e6cd9b47ba34ffdf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$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