1993-10-23 05:33:12 +03:00
|
|
|
# $Id: Makefile.inc,v 1.3 1993/10/23 02:33:13 cgd Exp $
|
1993-10-13 14:16:19 +03:00
|
|
|
#
|
|
|
|
# NOTE: $S must correspond to the top of the 'sys' tree
|
|
|
|
|
|
|
|
C_SA_DIR= $S/lib/libc_sa
|
|
|
|
|
1993-10-23 05:33:12 +03:00
|
|
|
.if exists($(C_SA_DIR)/obj.${MACHINE})
|
|
|
|
C_SA_LIBDIR= $(C_SA_DIR)/obj.${MACHINE}
|
1993-10-13 14:16:19 +03:00
|
|
|
.else
|
|
|
|
C_SA_LIBDIR= $(C_SA_DIR)
|
|
|
|
.endif
|
|
|
|
|
|
|
|
C_SA_LIB= $(C_SA_LIBDIR)/libc_sa.a
|
|
|
|
|
|
|
|
$(C_SA_LIB): .NOTMAIN __always_make_c_sa_lib
|
|
|
|
@echo making sure the stand-alone c library is up to date...
|
1993-10-13 14:36:28 +03:00
|
|
|
@(cd $(C_SA_DIR) ; make)
|
1993-10-13 14:16:19 +03:00
|
|
|
|
|
|
|
__always_make_c_sa_lib: .NOTMAIN
|