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