kernel: Use hashdestroy() to free hash tables allocated with hashinit().
[dragonfly.git] / usr.bin / doscmd / Makefile.dos
CommitLineData
984263bc
MD
1# Special makefile for the as86/ld86 tools
2#
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
7#
8# $FreeBSD: src/usr.bin/doscmd/Makefile.dos,v 1.1.6.1 2002/04/25 11:04:50 tg Exp $
1de703da 9# $DragonFly: src/usr.bin/doscmd/Makefile.dos,v 1.2 2003/06/17 04:29:25 dillon Exp $
984263bc
MD
10
11AS86 = as86
12LD86 = ld86
13
14OBJS = redir.o emsdriv.o
15DOSPROG = redir.com emsdriv.sys
16DOSDIST = redir.com.uu emsdriv.sys.uu
17
18all: ${DOSPROG} ${DOSDIST}
19
20redir.com: redir.o
21 $(LD86) -T 0 -s -o ${.PREFIX}.tmp ${.ALLSRC}
22 dd if=${.PREFIX}.tmp of=${.TARGET} bs=1 skip=288
23 rm -f ${.PREFIX}.tmp
24
25emsdriv.sys: emsdriv.o
26 $(LD86) -T 0 -s -o ${.PREFIX}.tmp ${.ALLSRC}
27 dd if=${.PREFIX}.tmp of=${.TARGET} bs=1 skip=32
28 rm -f ${.PREFIX}.tmp
29
30redir.com.uu: redir.com
31 uuencode redir.com redir.com > redir.com.uu
32
33emsdriv.sys.uu: emsdriv.sys
34 uuencode emsdriv.sys emsdriv.sys > emsdriv.sys.uu
35
36clean:
37 rm -f ${DOSPROG} ${OBJS}
38
39allclean:
40 rm -f ${DOSPROG} ${DOSDIST} ${OBJS}
41
42
43# Rule for as86
44.S.o:
45 $(AS86) -0 -o ${.TARGET} ${.IMPSRC}
46
47
48
49