summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/libz/Makefile.inc
blob: fd4452249988358b5a5b3514e1bd142929c74552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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