NetBSD/sys/lib/libsa/Makefile.inc

20 lines
436 B
Makefile

# $NetBSD: Makefile.inc,v 1.2 1994/10/26 05:44:33 cgd Exp $
#
# NOTE: $S must correspond to the top of the 'sys' tree
SA_DIR= $S/lib/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)
__always_make_sa_lib: .NOTMAIN