1996-09-09 22:07:40 +04:00
|
|
|
# $NetBSD: Makefile,v 1.4 1996/09/09 18:07:40 mycroft Exp $
|
1996-08-26 03:38:57 +04:00
|
|
|
|
1996-09-09 22:07:40 +04:00
|
|
|
CPPFLAGS= ${APMCPPFLAGS}
|
1996-08-26 03:38:57 +04:00
|
|
|
|
1996-09-09 22:07:40 +04:00
|
|
|
SRCS= biostramp.S
|
|
|
|
OBJS= biostramp.o
|
|
|
|
DEPS= ${APMDEPS}
|
1996-08-26 03:38:57 +04:00
|
|
|
|
1996-09-08 19:36:51 +04:00
|
|
|
biostramp.inc: biostramp Makefile
|
1996-09-09 22:07:40 +04:00
|
|
|
sh ${.CURDIR}/bin2asm.sh biostramp > biostramp.inc
|
1996-09-08 19:36:51 +04:00
|
|
|
|
1996-09-09 22:07:40 +04:00
|
|
|
biostramp: ${OBJS} ${DEPS}
|
|
|
|
${LD} -Bstatic -N -T 0 -o biostramp $(OBJS)
|
1996-09-08 19:36:51 +04:00
|
|
|
cp biostramp biostramp.sym
|
1996-09-09 22:07:40 +04:00
|
|
|
@${STRIP} biostramp
|
1996-09-08 19:36:51 +04:00
|
|
|
@if [ `${LS} -l biostramp |awk '{print $$5}'` -gt 4096 ]; then \
|
|
|
|
echo "biostramp too big"; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
1996-09-09 22:07:40 +04:00
|
|
|
@sh ${.CURDIR}/rmaouthdr biostramp biostramp.tmp
|
1996-09-08 19:36:51 +04:00
|
|
|
@mv -f biostramp.tmp biostramp
|
1996-08-26 03:38:57 +04:00
|
|
|
|
|
|
|
clean:
|
1996-09-08 19:36:51 +04:00
|
|
|
rm -f *.o biostramp biostramp.sym biostramp.inc
|
1996-08-26 03:38:57 +04:00
|
|
|
|
1996-09-09 22:07:40 +04:00
|
|
|
.include <bsd.dep.mk>
|
|
|
|
.include <bsd.subdir.mk>
|
1996-08-26 03:38:57 +04:00
|
|
|
#.include <bsd.prog.mk>
|