summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/stand/libsa/Makefile.inc
blob: 868438109ff323c0f1683e5d57e26dd6d907f198 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#	$NetBSD: Makefile.inc,v 1.1 1995/08/04 07:55:50 thorpej Exp $

#	NOTE: $S must correspond to the top of the 'sys' tree

SA_DIR=	$S/arch/hp300/stand/libsa

.if exists($(SA_DIR)/obj.${MACHINE})
SA_LIBDIR=	$(SA_DIR)/obj.${MACHINE}
.else
SA_LIBDIR=	$(SA_DIR)
.endif

SA_LIB=	$(SA_LIBDIR)/libsa.a

$(SA_LIB):	.NOTMAIN __always_make_sa_lib
	@echo making sure the stand-alone library is up to date...
	@(cd $(SA_DIR) ; make)

clean::		.NOTMAIN __always_make_sa_lib
	@echo cleaning the stand-alone library objects
	@(cd $(SA_DIR) ; make clean)

__always_make_sa_lib: .NOTMAIN