diff options
Diffstat (limited to 'sys/lib/libsa/Makefile.inc')
-rw-r--r-- | sys/lib/libsa/Makefile.inc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/lib/libsa/Makefile.inc b/sys/lib/libsa/Makefile.inc index 95e1c5373ed..d45b9d2710b 100644 --- a/sys/lib/libsa/Makefile.inc +++ b/sys/lib/libsa/Makefile.inc @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile.inc,v 1.4 1996/12/08 15:15:44 niklas Exp $ +# $OpenBSD: Makefile.inc,v 1.5 1997/02/06 14:22:32 mickey Exp $ # $NetBSD: Makefile.inc,v 1.5 1996/09/30 16:01:18 ws Exp $ # # NOTE: $S must correspond to the top of the 'sys' tree SADIR= $S/lib/libsa -SADST= lib/sa +SADST?= lib/sa SAREL?= ../../ SALIB?= ${SADST}/libsa.a @@ -17,14 +17,16 @@ SAMAKE= \ SAREL="${SAREL}" \ SADIR="${SADIR}" \ EXTRACFLAGS="${EXTRACFLAGS}" +.if defined(NO_NET) +SAMAKE+= NO_NET="" +.endif +.if defined(SA_ZLIB) +SAMAKE+= SA_ZLIB="" +.endif ${SALIB}: .NOTMAIN __always_make_salib @echo making sure the stand-alone library is up to date... -.if !defined(NO_NET) @${SAMAKE} libsa.a -.else - @${SAMAKE} NO_NET="" libsa.a -.endif clean:: .NOTMAIN __always_make_salib @echo cleaning the stand-alone library objects |