-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.common.windows
126 lines (95 loc) · 3.49 KB
/
Makefile.common.windows
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Makefile for DB/C Common release 101 for Windows
# modified last on 26 JUL 2023
CPP:=clang
CPPFLAGS_DEFINES:=-DWIN32 -Dx64 -D_CRT_SECURE_NO_WARNINGS \
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -DSTRSAFE_NO_DEPRECATE -c \
-D_WINSOCK_DEPRECATED_NO_WARNINGS -D_CRT_NONSTDC_NODEPRECATE
CFLAGS:=$(CPPFLAGS_DEFINES) -c -Iopenssl/include -Icommon/include -Wno-pointer-sign
EXECUTABLES:=aimdex.exe build.exe chain.exe copy.exe create.exe \
delete.exe dump.exe edit.exe encode.exe exist.exe filechk.exe index.exe \
library.exe list.exe reformat.exe rename.exe sort.exe tdcmp.exe
AIMDEXOBJ:=aimdex.obj arg.obj base.obj dbccfg.obj fio.obj fioawin.obj mio.obj evtwin.obj \
rio.obj xml.obj
BUILDOBJ=build.obj arg.obj base.obj dbccfg.obj fio.obj \
fioawin.obj mio.obj rio.obj xml.obj
CHAINOBJ:=chain.obj chaina.obj chainb.obj arg.obj base.obj dbccfg.obj \
xml.obj fio.obj fioawin.obj rio.obj mio.obj evtwin.obj \
tim.obj
COPYOBJ=copy.obj arg.obj base.obj dbccfg.obj fio.obj \
fioawin.obj mio.obj xml.obj
CREATEOBJ=create.obj arg.obj base.obj dbccfg.obj fio.obj \
fioawin.obj mio.obj rio.obj xml.obj
DELETEOBJ:=delete.obj arg.obj base.obj dbccfg.obj fio.obj \
fioawin.obj mio.obj xml.obj
DUMPOBJ:=dump.obj arg.obj base.obj dbccfg.obj xml.obj \
fio.obj fioawin.obj vid.obj vidawin.obj mio.obj tim.obj evtwin.obj \
kdsCfgClrMode.obj
EDITOBJ:=edit.obj arg.obj base.obj dbccfg.obj xml.obj \
fio.obj fioawin.obj vid.obj vidawin.obj evtwin.obj mio.obj \
rio.obj tim.obj kdsCfgClrMode.obj
ENCODEOBJ:=encode.obj arg.obj base.obj fio.obj fioawin.obj \
mio.obj rio.obj dbccfg.obj xml.obj
EXISTOBJ:=exist.obj arg.obj base.obj dbccfg.obj xml.obj \
fio.obj fioawin.obj mio.obj
FILECHKOBJ:=filechk.obj arg.obj base.obj dbccfg.obj fio.obj \
fioawin.obj mio.obj xml.obj
INDEXOBJ:=index.obj arg.obj base.obj dbccfg.obj fio.obj \
fioawin.obj mio.obj rio.obj sio.obj xml.obj
LIBRARYOBJ=library.obj vid.obj vidawin.obj arg.obj base.obj dbccfg.obj \
xml.obj fio.obj fioawin.obj mio.obj evtwin.obj tim.obj \
kdsCfgClrMode.obj
LISTOBJ=list.obj arg.obj base.obj dbccfg.obj fio.obj \
fioawin.obj mio.obj rio.obj aio.obj xio.obj xml.obj
REFORMATOBJ=reformat.obj arg.obj base.obj dbccfg.obj fio.obj \
fioawin.obj mio.obj rio.obj xml.obj
RENAMEOBJ=rename.obj arg.obj base.obj dbccfg.obj fio.obj \
fioawin.obj mio.obj xml.obj
SORTOBJ=sort.obj arg.obj base.obj dbccfg.obj fio.obj \
fioawin.obj mio.obj rio.obj sio.obj xml.obj
TDCMPOBJ=tdcmp.obj arg.obj base.obj dbccfg.obj xml.obj \
fio.obj fioawin.obj rio.obj mio.obj
all: $(EXECUTABLES)
LINKOUT=-o $@
aimdex.exe: $(AIMDEXOBJ)
$(CPP) $(LINKOUT) $^
build.exe: $(BUILDOBJ)
$(CPP) $(LINKOUT) $^
chain.exe: $(CHAINOBJ)
$(CPP) $(LINKOUT) $^
copy.exe: $(COPYOBJ)
$(CPP) $(LINKOUT) $^
create.exe: $(CREATEOBJ)
$(CPP) $(LINKOUT) $^
delete.exe: $(DELETEOBJ)
$(CPP) $(LINKOUT) $^
dump.exe: $(DUMPOBJ)
$(CPP) $(LINKOUT) -luser32 $^
edit.exe: $(EDITOBJ)
$(CPP) $(LINKOUT) -luser32 $^
encode.exe: $(ENCODEOBJ)
$(CPP) $(LINKOUT) $^
exist.exe: $(EXISTOBJ)
$(CPP) $(LINKOUT) $^
filechk.exe: $(FILECHKOBJ)
$(CPP) $(LINKOUT) $^
index.exe: $(INDEXOBJ)
$(CPP) $(LINKOUT) $^
library.exe: $(LIBRARYOBJ)
$(CPP) $(LINKOUT) -luser32 $^
list.exe: $(LISTOBJ)
$(CPP) $(LINKOUT) $^
reformat.exe: $(REFORMATOBJ)
$(CPP) $(LINKOUT) $^
rename.exe: $(RENAMEOBJ)
$(CPP) $(LINKOUT) $^
sort.exe: $(SORTOBJ)
$(CPP) $(LINKOUT) $^
tdcmp.exe : $(TDCMPOBJ)
$(CPP) $(LINKOUT) $^
#
# Common Util objects
#
%.obj: common/utils/%.c
$(CPP) $(CFLAGS) -o $@ $<
%.obj: common/support/%.c
$(CPP) $(CFLAGS) -o $@ $<