NetBSD/sys/arch/i386/bioscall/Makefile

29 lines
672 B
Makefile
Raw Normal View History

1996-09-09 22:07:40 +04:00
# $NetBSD: Makefile,v 1.4 1996/09/09 18:07:40 mycroft Exp $
1996-09-09 22:07:40 +04:00
CPPFLAGS= ${APMCPPFLAGS}
1996-09-09 22:07:40 +04:00
SRCS= biostramp.S
OBJS= biostramp.o
DEPS= ${APMDEPS}
biostramp.inc: biostramp Makefile
1996-09-09 22:07:40 +04:00
sh ${.CURDIR}/bin2asm.sh biostramp > biostramp.inc
1996-09-09 22:07:40 +04:00
biostramp: ${OBJS} ${DEPS}
${LD} -Bstatic -N -T 0 -o biostramp $(OBJS)
cp biostramp biostramp.sym
1996-09-09 22:07:40 +04:00
@${STRIP} biostramp
@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
@mv -f biostramp.tmp biostramp
clean:
rm -f *.o biostramp biostramp.sym biostramp.inc
1996-09-09 22:07:40 +04:00
.include <bsd.dep.mk>
.include <bsd.subdir.mk>
#.include <bsd.prog.mk>