remove header munging hack.

This commit is contained in:
pk 1996-11-29 15:00:25 +00:00
parent 48830f7cb1
commit c5c074b053
2 changed files with 4 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1996/10/05 23:46:44 mrg Exp $
# $NetBSD: Makefile,v 1.4 1996/11/29 15:00:25 pk Exp $
R= ..
.PATH: ${.CURDIR}/${R}
@ -9,10 +9,7 @@ BINDIR= /usr/mdec
LIBS!= cd ${.CURDIR}/${R}; ${MAKE} libdep
${PROG}: ${OBJS} ${LIBS}
${LD} -N -T ${RELOC} -e start ${OBJS} ${LIBS}
# convert to Sun magic
(echo -n 01 | tr 01 '\01\03'; tail +3c a.out) > ${.TARGET}
@rm a.out
${LD} -o ${.TARGET} -N -T ${RELOC} -e start ${OBJS} ${LIBS}
@size ${.TARGET}
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 1995/10/10 20:07:54 pk Exp $
# $NetBSD: Makefile,v 1.6 1996/11/29 15:01:00 pk Exp $
R= ..
.PATH: ${.CURDIR}/${R}
@ -15,10 +15,7 @@ KOBJDIR!= cd ${.CURDIR}/${R}; ${MAKE} kernlibdir
_KOBJS=${KOBJS:S,^,${KOBJDIR}/,g}
${PROG}:${OBJS} ${_KOBJS} ${LIBS}
${LD} -N -T ${RELOC} -e start ${OBJS} ${_KOBJS} ${LIBS}
# convert to Sun magic
(echo -n 01 | tr 01 '\01\03'; tail +3c a.out) > ${.TARGET}
@rm a.out
${LD} -o ${.TARGET} -N -T ${RELOC} -e start ${OBJS} ${_KOBJS} ${LIBS}
@size ${.TARGET}
.include <bsd.prog.mk>