# $OpenBSD: Makefile.inc,v 1.2 1997/01/17 08:33:07 downsj Exp $ # $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)/${__objdir}) SA_LIBDIR= $(SA_DIR)/${__objdir} .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