diff options
Diffstat (limited to 'sys/arch/aviion/stand/libz/Makefile.inc')
-rw-r--r-- | sys/arch/aviion/stand/libz/Makefile.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/arch/aviion/stand/libz/Makefile.inc b/sys/arch/aviion/stand/libz/Makefile.inc new file mode 100644 index 00000000000..1ee745fd0f9 --- /dev/null +++ b/sys/arch/aviion/stand/libz/Makefile.inc @@ -0,0 +1,14 @@ +# $OpenBSD: Makefile.inc,v 1.1 2006/05/16 22:48:18 miod Exp $ + +LIB_Z_DIR=${S}/arch/aviion/stand/libz + +LIBZ_DIR!= cd ${LIB_Z_DIR}; \ + printf "xxx:\n\techo \$${.OBJDIR}\n" | ${MAKE} -r -s -f - xxx + +LIBZ=${LIBZ_DIR}/libz.a + +$(LIBZ): .NOTMAIN __always_make_libz + @echo making sure the libz is up to date... + @(cd ${LIB_Z_DIR}; ${MAKE} "XCFLAGS=${CFLAGS}") + +__always_make_libz: .NOTMAIN |