Makefile.inc revision 1.2
1# $NetBSD: Makefile.inc,v 1.2 1994/10/26 05:44:33 cgd Exp $ 2# 3# NOTE: $S must correspond to the top of the 'sys' tree 4 5SA_DIR= $S/lib/libsa 6 7.if exists($(SA_DIR)/obj.${MACHINE}) 8SA_LIBDIR= $(SA_DIR)/obj.${MACHINE} 9.else 10SA_LIBDIR= $(SA_DIR) 11.endif 12 13SA_LIB= $(SA_LIBDIR)/libsa.a 14 15$(SA_LIB): .NOTMAIN __always_make_sa_lib 16 @echo making sure the stand-alone library is up to date... 17 @(cd $(SA_DIR) ; make) 18 19__always_make_sa_lib: .NOTMAIN 20