]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/CMD/FDISK/MAKEFILE

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / CMD / FDISK / MAKEFILE
1 #************************** makefile for cmd\... ***************************
2
3 msg =..\..\messages
4 dos =..\..\dos
5 inc =..\..\inc
6 hinc =..\..\h
7
8 #
9 ####################### dependencies begin here. #########################
10 #
11
12 map =..\..\mapper
13 here =..\cmd\fdisk
14
15 all: fdisk.exe
16
17
18 # Handle the FDISK 'C' source compilations first
19
20 fdiskm.c : $(msg)\$(COUNTRY).msg fdisk.msg
21 menubld fdisk.msg $(msg)\$(COUNTRY).MSG
22
23 fdisk5.cl1 : fdisk5.skl $(msg)\$(COUNTRY).msg
24
25 fdisk.ctl : fdisk.skl $(msg)\$(COUNTRY).msg
26
27 main.obj : main.c \
28 fdisk.h subtype.h extern.h fdiskmsg.h msgret.h doscall.h
29
30 fdisk.obj : fdisk.c \
31 fdisk.h subtype.h extern.h fdiskmsg.h doscall.h msgret.h
32
33 mainmenu.obj : mainmenu.c fdisk.h subtype.h extern.h fdiskmsg.h
34
35 display.obj : display.c \
36 fdisk.h subtype.h extern.h fdiskmsg.h doscall.h
37
38 d_menus.obj : d_menus.c fdisk.h subtype.h extern.h fdiskmsg.h
39
40 c_menus.obj : c_menus.c fdisk.h subtype.h extern.h fdiskmsg.h
41
42 input.obj : input.c fdisk.h subtype.h extern.h fdiskmsg.h doscall.h
43
44 tdisplay.obj : tdisplay.c fdisk.h subtype.h extern.h fdiskmsg.h
45
46 vdisplay.obj : vdisplay.c fdisk.h subtype.h extern.h fdiskmsg.h
47
48 space.obj : space.c fdisk.h subtype.h extern.h
49
50 partinfo.obj : partinfo.c fdisk.h subtype.h extern.h
51
52 makepart.obj : makepart.c fdisk.h subtype.h extern.h
53
54 video.obj : video.c fdisk.h extern.h subtype.h fdiskmsg.h doscall.h
55
56 int13.obj : int13.c fdisk.h subtype.h extern.h fdiskmsg.h
57
58 diskout.obj : diskout.c fdisk.h subtype.h extern.h
59
60 fdparse.obj : fdparse.c fdisk.h subtype.h extern.h parse.h msgret.h
61
62 convert.obj : convert.c fdisk.h subtype.h extern.h
63
64 global.obj : global.c fdisk.h makefile
65
66 fdiskm.obj : fdiskm.c
67
68 messages.obj : messages.c msgret.h extern.h subtype.h fdisk.h
69
70
71 # Handle the FDISK MASM source
72
73
74 fdboot.obj : fdboot.asm fdisk5.cl1
75
76 fdboot.inc: fdboot.obj
77 link fdboot;
78 exe2bin fdboot
79 del fdboot.exe
80 dbof fdboot.bin fdboot.inc 600 200
81
82 _parse.obj : _parse.asm $(inc)\psdata.inc $(inc)\parse.asm \
83 makefile
84
85 _msgret.obj : _msgret.asm $(inc)\psdata.inc \
86 fdisk.ctl fdisk.cla fdisk.clb fdisk.cl1 fdisk.cl2 \
87 makefile
88
89 bootrec.obj : bootrec.asm fdboot.inc \
90 makefile
91
92 reboot.obj : reboot.asm \
93 makefile
94
95 $(map)\mapper.lib:
96 cd $(map)
97 nmake
98 cd $(here)
99
100 # Do the link of FDISK
101
102 fdisk.exe : fdisk.obj reboot.obj bootrec.obj fdboot.obj \
103 display.obj input.obj tdisplay.obj vdisplay.obj \
104 space.obj partinfo.obj video.obj makepart.obj \
105 int13.obj diskout.obj messages.obj fdparse.obj \
106 convert.obj global.obj fdiskm.obj main.obj \
107 c_menus.obj d_menus.obj mainmenu.obj _msgret.obj \
108 $(map)\mapper.lib makefile fdisk.lnk fdisk.ctl _parse.obj \
109 $(inc)\comsubs.lib
110 cd $(inc)
111 nmake
112 cd $(here)
113 link @fdisk.lnk
114