-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile
237 lines (210 loc) · 7.65 KB
/
Makefile
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
;DELPHIPATH=c:\Archivos de programa\Borland\Delphi7
DELPHIPATH=h:\prog\Delphi7
REPORTMANPATH=c:\prog\toni\cvsroot\reportman\reportman;c:\prog\toni\zeos\src\component;c:\prog\toni\zeos\src\dbc;c:\prog\toni\zeos\src\core;c:\prog\toni\zeos\src\parse;c:\prog\toni\zeos\src\parsesql;c:\prog\toni\zeos\src\plain
PACKAGESPATH="$(DELPHIPATH)\Projects\Bpl"
COMPILE="$(DELPHIPATH)\bin\dcc32" -LN$(PACKAGESPATH) -LE$(PACKAGESPATH) -U"$(REPORTMANPATH);$(DELPHIPATH)\projects\bpl" -I"$(REPORTMANPATH)"
IMPLIB="h:\progd\cbuilder6\bin\implib"
all: clean packages reportman webplugin prerelease
reportman: reportmanutils reportmanserver reportmanutilsxp reportmanserverxp
webplugin:
make clean_noexe
cd repman
cd utils
cd metaview
$(COMPILE) -DFORWEBAX metaview.dpr
$(COMPILE) -DFORWEBAX metaviewxp.dpr
cd ..
cd metaprint
$(COMPILE) -DFORWEBAX metaprint.dpr
$(COMPILE) -DFORWEBAX metaprintxp.dpr
cd ..
cd ..
cd ..
cd server
cd config
$(COMPILE) -DFORWEBAX repserverconfig.dpr
$(COMPILE) -DFORWEBAX repserverconfigxp.dpr
cd ..
cd ..
cd webactivex
$(COMPILE) -DFORWEBAX WebReportManX.dpr
generatecab
cd ..
prerelease:
cd webactivex
generatecab
cd ..
-del /S /Q ..\prerelease
-mkdir ..\prerelease
copy repman\repmandxp.exe ..\prerelease
copy repman\utils\rptranslator\rptranslateres.* ..\prerelease
copy repman\reportmanres.* ..\prerelease
copy repman\repmandxp.exe.manifest ..\prerelease
copy repman\repmand.exe ..\prerelease
copy repman\dbxdrivers.ini ..\prerelease
copy repman\dbxconnections.ini ..\prerelease
copy repman\repsamples\sample4.rep ..\prerelease
copy repman\repsamples\biolife.cds ..\prerelease
copy drivers\win32\*.* ..\prerelease
copy repman\utils\printrep\printrep.exe ..\prerelease
copy repman\utils\printrep\printrep.exe.manifest ..\prerelease
copy repman\utils\printrep\printrepxp.exe ..\prerelease
copy repman\utils\printrep\printrepxp.exe.manifest ..\prerelease
copy repman\utils\metaview\metaviewxp.exe ..\prerelease
copy repman\utils\metaview\metaviewxp.exe.manifest ..\prerelease
copy repman\utils\metaview\metaview.exe ..\prerelease
copy repman\utils\metaview\metaview.exe.manifest ..\prerelease
copy repman\utils\printreptopdf\printreptopdf.exe ..\prerelease
copy repman\utils\metaprint\metaprint.exe ..\prerelease
copy repman\utils\metaprint\metaprint.exe.manifest ..\prerelease
copy repman\utils\metaprint\metaprintxp.exe ..\prerelease
copy repman\utils\metaprint\metaprintxp.exe.manifest ..\prerelease
copy repman\utils\txttorep\txttorep.exe ..\prerelease
copy repman\utils\reptotxt\reptotxt.exe ..\prerelease
copy repman\utils\rptranslator\rptranslate.exe ..\prerelease
copy repman\utils\rptranslator\rptranslate.exe.manifest ..\prerelease
copy repman\utils\compilerep\compilerep.exe ..\prerelease
copy drivers\win32\upx.exe ..\prerelease
copy repman\utils\unixtodos\unixtodos.exe ..\prerelease
copy server\app\reportserverapp.exe ..\prerelease
copy server\app\reportserverapp.exe.manifest ..\prerelease
copy server\app\reportserverappxp.exe ..\prerelease
copy server\app\reportserverappxp.exe.manifest ..\prerelease
copy server\app\reportservercon.exe ..\prerelease
copy server\config\repserverconfig.exe ..\prerelease
copy server\config\repserverconfig.exe.manifest ..\prerelease
copy server\config\repserverconfigxp.exe ..\prerelease
copy server\config\repserverconfigxp.exe.manifest ..\prerelease
copy server\service\repserverservice.exe ..\prerelease
copy server\service\repserviceinstall.exe ..\prerelease
copy server\service\repserviceinstall.exe.manifest ..\prerelease
copy server\web\repwebexe.exe ..\prerelease
copy server\web\repwebserver.dll ..\prerelease
copy webactivex\WebReportManX.cab ..\prerelease
copy activex\ReportMan.ocx ..\prerelease
-mkdir ..\prerelease\doc
-mkdir ..\prerelease\tutorial
xcopy /s doc\tutorial ..\prerelease\tutorial
xcopy /s doc\doc ..\prerelease\doc
reportmanutils:
cd repman
$(COMPILE) -DREPMANRELEASE repmand.dpr
cd utils\reptotxt
$(COMPILE) reptotxt.dpr
cd ..
cd txttorep
$(COMPILE) txttorep.dpr
cd ..
cd printreptopdf
$(COMPILE) -DREPMANRELEASE printreptopdf.dpr
cd ..
cd printrep
$(COMPILE) -DREPMANRELEASE printrep.dpr
cd ..
cd startup
$(COMPILE) startup.dpr
cd ..
cd unixtodos
$(COMPILE) unixtodos.dpr
cd ..
cd compilerep
$(COMPILE) compilerep.dpr
cd ..
cd ..
cd ..
reportmanserver:
cd server
cd app
$(COMPILE) -DREPMANRELEASE reportserverapp.dpr
$(COMPILE) -DREPMANRELEASE reportservercon.dpr
cd ..
cd web
$(COMPILE) -DREPMANRELEASE repwebexe.dpr
cd ..
cd ..
designerxp:
cd repman
$(COMPILE) -DREPMANRELEASE repmandxp.dpr
cd ..
reportmanutilsxp: designerxp
cd repman
cd utils
cd printrep
$(COMPILE) -DREPMANRELEASE printrepxp.dpr
cd ..
cd rptranslator
$(COMPILE) rptranslate.dpr
cd ..
cd ..
cd ..
cd activex
$(COMPILE) -DREPMANRELEASE Reportman.dpr
$(IMPLIB) Reportman.lib Reportman.ocx
cd ..
reportmanserverxp:
cd server
cd app
$(COMPILE) -DREPMANRELEASE reportserverappxp.dpr
cd ..
cd service
$(COMPILE) -DREPMANRELEASE repserverservice.dpr
$(COMPILE) repserviceinstall.dpr
cd ..
cd web
$(COMPILE) -DREPMANRELEASE repwebserver.dpr
cd ..
cd ..
packages: rtlpackages vcldesignpackages designtimepackages clxpackages designpackages
rtlpackages:
$(COMPILE) -DREPMANRELEASE rppack_del.dpk
$(COMPILE) -DREPMANRELEASE rppackvcl_del.dpk
designpackages:
$(COMPILE) -DREPMANRELEASE rppackdesigntime_del.dpk
clxpackages:
$(COMPILE) -DREPMANRELEASE rppackv_del.dpk
vcldesignpackages:
$(COMPILE) -DREPMANRELEASE rppackdesignvcl_del.dpk
designtimepackages:
$(COMPILE) -DREPMANRELEASE rppackdesigntime_del.dpk
clean_noexe:
-del /s *.dcu
-del /s *.dpu
-del /s *.~*
-del /s *.o
-del /s *.dcp
-del /s *.ow
-del /s *.ppw
-del /s *.rst
-del *.hpp
-del /s *.obj
-del /s *.tds
-del *.bpl
-del *.bpi
-del activex\*.lib
-del /s *.pdb
clean: clean_noexe
-del /s repman\*.exe
-del /s server\*.exe
-del /s tests\*.exe
-del /s repman\*.bin
-del /s server\*.bin
-del *.dll
-del /s server\*.dll
-del /s *.ocx
-del /s *.rsp
-del tests\eval\project1
-del tests\metafiles\metafile
-del tests\objinsp\project1
-del tests\params\project1
-del tests\qpainter\project2
-del tests\ruler\project1
-del repman\utils\reptotxt\reptotxt
-del repman\utils\txttorep\txttorep
-del repman\utils\printrep\printrep
-del repman\utils\metaprint\metaprint
-del repman\utils\metaview\metaview
-del /s /q install\Output
-rmdir install\Output
real_clean: clean
-del /s *.bpl
-del /s *.so