diff options
author | Steve Murphree <smurph@cvs.openbsd.org> | 1998-08-22 06:39:15 +0000 |
---|---|---|
committer | Steve Murphree <smurph@cvs.openbsd.org> | 1998-08-22 06:39:15 +0000 |
commit | 5c86dc48b6469387d5aa584ebf26ae76e10c2510 (patch) | |
tree | bc5cb1868d5251a597e3d20045eae237165ad4ce /sys | |
parent | 4d9cd2ee6aacb7011ca92218749442fe938623cf (diff) |
Initail import of libz.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvme88k/stand/libz/Makefile | 8 | ||||
-rw-r--r-- | sys/arch/mvme88k/stand/libz/Makefile.inc | 14 |
2 files changed, 22 insertions, 0 deletions
diff --git a/sys/arch/mvme88k/stand/libz/Makefile b/sys/arch/mvme88k/stand/libz/Makefile new file mode 100644 index 00000000000..6e9f98cba6a --- /dev/null +++ b/sys/arch/mvme88k/stand/libz/Makefile @@ -0,0 +1,8 @@ +# $OpenBSD: Makefile,v 1.1 1998/08/22 06:39:14 smurph Exp $ + +S=${.CURDIR}/../../../.. +ZDST=${.OBJDIR} + +.PATH: ${S}/lib/libz + +.include "${S}/lib/libz/Makefile" diff --git a/sys/arch/mvme88k/stand/libz/Makefile.inc b/sys/arch/mvme88k/stand/libz/Makefile.inc new file mode 100644 index 00000000000..fd445224998 --- /dev/null +++ b/sys/arch/mvme88k/stand/libz/Makefile.inc @@ -0,0 +1,14 @@ +# $OpenBSD: Makefile.inc,v 1.1 1998/08/22 06:39:14 smurph Exp $ + +LIB_Z_DIR=${S}/arch/mvme88k/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 |