NetBSD/sys/arch/alpha/stand/standtest/Makefile
jdolecek 911d661dad switch to sys/conf/newvers_stand.sh for generation of version files
move the vers.c depend/build goo to Makefile.bootprogs and remove
	explicit rules in other Makefiles
sync the message in */version files with other ports using newvers_stand.sh

XXX the new depend rules were tested to limited extend (also with obj dirs)
XXX on i386 and should be ok; the changes should not otherwise influence build
2000-07-21 21:25:18 +00:00

25 lines
511 B
Makefile

# $NetBSD: Makefile,v 1.2 2000/07/21 21:25:19 jdolecek Exp $
PROG= test
BINDIR= /stand
SRCS = start.S test.c prom.c prom_disp.S
RELOC = ${STANDPROG_LOAD_ADDRESS}
CPPFLAGS += ${STANDPROG_CPPFLAGS}
CLEANFILES+= ${PROG}.sym
# XXX HACK!
${PROG}: ${PROG}.sym
rm -f ${PROG}
cp ${PROG}.sym ${PROG}
SAMISCMAKEFLAGS= SA_INCLUDE_NET=no SA_USE_CREAD=no
.include "../Makefile.bootprogs"
${PROG}.sym: ${OBJS} ${LIBSA} ${LIBKERN}
${LD} -Ttext ${RELOC} -N -e start -o ${PROG}.sym \
${OBJS} ${LIBSA} ${LIBKERN}