summaryrefslogtreecommitdiff
path: root/v4.0/src/CMD/FDISK/MAKEFILE
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/CMD/FDISK/MAKEFILE')
-rw-r--r--v4.0/src/CMD/FDISK/MAKEFILE114
1 files changed, 114 insertions, 0 deletions
diff --git a/v4.0/src/CMD/FDISK/MAKEFILE b/v4.0/src/CMD/FDISK/MAKEFILE
new file mode 100644
index 0000000..2d4117e
--- /dev/null
+++ b/v4.0/src/CMD/FDISK/MAKEFILE
@@ -0,0 +1,114 @@
1#************************** makefile for cmd\... ***************************
2
3msg =..\..\messages
4dos =..\..\dos
5inc =..\..\inc
6hinc =..\..\h
7
8#
9####################### dependencies begin here. #########################
10#
11
12map =..\..\mapper
13here =..\cmd\fdisk
14
15all: fdisk.exe
16
17
18# Handle the FDISK 'C' source compilations first
19
20fdiskm.c : $(msg)\$(COUNTRY).msg fdisk.msg
21 menubld fdisk.msg $(msg)\$(COUNTRY).MSG
22
23fdisk5.cl1 : fdisk5.skl $(msg)\$(COUNTRY).msg
24
25fdisk.ctl : fdisk.skl $(msg)\$(COUNTRY).msg
26
27main.obj : main.c \
28 fdisk.h subtype.h extern.h fdiskmsg.h msgret.h doscall.h
29
30fdisk.obj : fdisk.c \
31 fdisk.h subtype.h extern.h fdiskmsg.h doscall.h msgret.h
32
33mainmenu.obj : mainmenu.c fdisk.h subtype.h extern.h fdiskmsg.h
34
35display.obj : display.c \
36 fdisk.h subtype.h extern.h fdiskmsg.h doscall.h
37
38d_menus.obj : d_menus.c fdisk.h subtype.h extern.h fdiskmsg.h
39
40c_menus.obj : c_menus.c fdisk.h subtype.h extern.h fdiskmsg.h
41
42input.obj : input.c fdisk.h subtype.h extern.h fdiskmsg.h doscall.h
43
44tdisplay.obj : tdisplay.c fdisk.h subtype.h extern.h fdiskmsg.h
45
46vdisplay.obj : vdisplay.c fdisk.h subtype.h extern.h fdiskmsg.h
47
48space.obj : space.c fdisk.h subtype.h extern.h
49
50partinfo.obj : partinfo.c fdisk.h subtype.h extern.h
51
52makepart.obj : makepart.c fdisk.h subtype.h extern.h
53
54video.obj : video.c fdisk.h extern.h subtype.h fdiskmsg.h doscall.h
55
56int13.obj : int13.c fdisk.h subtype.h extern.h fdiskmsg.h
57
58diskout.obj : diskout.c fdisk.h subtype.h extern.h
59
60fdparse.obj : fdparse.c fdisk.h subtype.h extern.h parse.h msgret.h
61
62convert.obj : convert.c fdisk.h subtype.h extern.h
63
64global.obj : global.c fdisk.h makefile
65
66fdiskm.obj : fdiskm.c
67
68messages.obj : messages.c msgret.h extern.h subtype.h fdisk.h
69
70
71# Handle the FDISK MASM source
72
73
74fdboot.obj : fdboot.asm fdisk5.cl1
75
76fdboot.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
89bootrec.obj : bootrec.asm fdboot.inc \
90 makefile
91
92reboot.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
102fdisk.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