1 # Special makefile for the as86/ld86 tools
3 # This is used only to make the dos tools. It is not used in the normal
4 # build process, except one of the *.S files is changed. The ready to
5 # use tools are included as uuencoded files.
6 # To use this makefile you must have Bruce Evans bcc package installed
8 # $FreeBSD: src/usr.bin/doscmd/Makefile.dos,v 1.1.6.1 2002/04/25 11:04:50 tg Exp $
13 OBJS = redir.o emsdriv.o
14 DOSPROG = redir.com emsdriv.sys
15 DOSDIST = redir.com.uu emsdriv.sys.uu
17 all: ${DOSPROG} ${DOSDIST}
20 $(LD86) -T 0 -s -o ${.PREFIX}.tmp ${.ALLSRC}
21 dd if=${.PREFIX}.tmp of=${.TARGET} bs=1 skip=288
24 emsdriv.sys: emsdriv.o
25 $(LD86) -T 0 -s -o ${.PREFIX}.tmp ${.ALLSRC}
26 dd if=${.PREFIX}.tmp of=${.TARGET} bs=1 skip=32
29 redir.com.uu: redir.com
30 uuencode redir.com redir.com > redir.com.uu
32 emsdriv.sys.uu: emsdriv.sys
33 uuencode emsdriv.sys emsdriv.sys > emsdriv.sys.uu
36 rm -f ${DOSPROG} ${OBJS}
39 rm -f ${DOSPROG} ${DOSDIST} ${OBJS}
44 $(AS86) -0 -o ${.TARGET} ${.IMPSRC}