2000-07-22 01:25:18 +04:00
|
|
|
# $NetBSD: Makefile,v 1.2 2000/07/21 21:25:19 jdolecek Exp $
|
1999-04-11 07:38:51 +04:00
|
|
|
|
|
|
|
PROG= test
|
|
|
|
BINDIR= /stand
|
|
|
|
|
|
|
|
SRCS = start.S test.c prom.c prom_disp.S
|
|
|
|
|
|
|
|
RELOC = ${STANDPROG_LOAD_ADDRESS}
|
|
|
|
|
|
|
|
CPPFLAGS += ${STANDPROG_CPPFLAGS}
|
|
|
|
|
2000-07-22 01:25:18 +04:00
|
|
|
CLEANFILES+= ${PROG}.sym
|
1999-04-11 07:38:51 +04:00
|
|
|
|
|
|
|
# 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 \
|
2000-07-22 01:25:18 +04:00
|
|
|
${OBJS} ${LIBSA} ${LIBKERN}
|