NetBSD/sys/lib/libsa/Makefile.inc

20 lines
436 B
PHP
Raw Normal View History

1994-10-26 08:44:32 +03:00
# $NetBSD: Makefile.inc,v 1.2 1994/10/26 05:44:33 cgd Exp $
1994-01-26 05:03:32 +03:00
#
# 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