summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/libsa/Makefile.inc
blob: 9b6b6a2521faead2472963c39f7624517b6ffdca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#	$OpenBSD: Makefile.inc,v 1.3 2006/05/16 22:51:30 miod Exp $

LIB_SA_DIR=${S}/arch/mvme88k/stand/libsa

LIBSA_DIR!= cd ${LIB_SA_DIR}; \
     printf "xxx:\n\techo \$${.OBJDIR}\n" | ${MAKE} -r -s -f - xxx

LIBSA=${LIBSA_DIR}/libsa.a

$(LIBSA):	.NOTMAIN __always_make_libsa
	@echo making sure the libsa is up to date...
	@(cd ${LIB_SA_DIR}; ${MAKE} "XCFLAGS=${CFLAGS}")

__always_make_libsa:	.NOTMAIN