Context Navigation


source: trunk /makefile

Last change on this file was 1117, checked in by pr, 17 years ago

Fix Lite build problems

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 35.1 KB
Line
1
2 #
3 # makefile:
4 # This is XWorkplace's main makefile.
5 # For use with IBM NMAKE, which comes with the IBM compilers,
6 # the Developer's Toolkit, and the DDK.
7 #
8 # All the makefiles have been restructured with V0.9.0.
9 #
10 # Called from: nowhere, this is the main makefile.
11 # This recurses into the subdirectories.
12 #
13 # Input: specify the target(s) to be made, which can be:
14 #
15 # -- "dep": create dependencies for all makefiles.
16 # Run this first before the regular "all"
17 # target.
18 #
19 # -- "all" (default): build XFLDR.DLL, XWPHOOK.DLL,
20 # XWPDAEMN.EXE, plus the default plugin DLLs and
21 # copy to XWorkplace install directory
22 # specified by XWPRUNNING.
23 #
24 # -- "really_all": build "all" plus external EXEs
25 # (Treesize, Netscape DDE, et al) plus NLS
26 # specified by the XWP_LANG_CODE variable,
27 # which defaults to "001" (setup.in) and
28 # copy to XWorkplace install directory
29 # specified by XWPRUNNING.
30 #
31 # The following subtargets exist (which get called
32 # by the "all" or "really_all" targets):
33 #
34 # -- nls: compile $(XWP_LANG_CODE)\ directory
35 # -- tools: compile TOOLS\ directory
36 # -- idl: update SOM headers (include\classes\*)
37 # -- compile_all: compile main *.c files for DLLs, no link
38 # -- compile_really_all: compile all *.c files for DLLs, no link
39 # -- link: link bin\*.obj to DLLs and copy to XWorkplace
40 # install directory specified by XWPRUNNING
41 #
42 # Use "nmake -a [<targets>] to _re_build the targets,
43 # even if they are up to date.
44 #
45 # Other special targets not used by "all" or "really_all"
46 # (these must be specified explicitly on the nmake
47 # command line):
48 #
49 # -- dlgedit: invoke dialog editor on NLS DLL
50 # -- release: create/update release tree in directory
51 # specified by XWPRELEASE. Invokes "really_all"
52 # before files are copied.
53 #
54 # Environment: You MUST set a number of environment variables before
55 # compiling. See PROGREF.INF.
56 #
57 # Output: All XWorkplace Files code files. This calls the other
58 # makefiles in the subdirectories.
59 #
60 # Output files are first created in bin\ (which is
61 # created if it doesn't exist), then copied to
62 # $(XWPRUNNING), which must be defined externally or
63 # thru "setup.in".
64 #
65 # Edit "setup.in" to set up the make process (compilation flags etc.).
66 #
67
68 # Say hello to yourself.
69 !if[@echo+++++Entering$(MAKEDIR)]
70 !endif
71
72 # include setup (compiler options etc.)
73 !includeconfig.in
74 !includemake\setup.in
75
76 # VARIABLES
77 # ---------
78
79 OUTPUTDIR=$(XWP_OUTPUT_ROOT)\dll_mt
80
81 # objects.in defines the .OBJ files to be compiled.
82 !includemake\objects.in
83
84 # The OBJS macro contains all the .OBJ files which have been
85 # created from the files in MAIN\. The definitions below are
86 # from the objects.in include file.
87 OBJS=\
88 $(XFLDR_OBJS_CLASSES)\
89 $(XFLDR_OBJS_SHARED)\
90 $(XFLDR_OBJS_CONFIG)\
91 $(XFLDR_OBJS_FILESYS)\
92 $(XFLDR_OBJS_MEDIA)\
93 $(XFLDR_OBJS_STARTSHUT)\
94 $(XFLDR_OBJS_XCENTER)
95
96 # The HLPOBJS macro contains all the .OBJ files which have been
97 # created from the files in HELPERS\. You probably won't have to change this.
98 HLPOBJS=$(XWP_OUTPUT_ROOT)\helpers.lib
99
100 # The following macros contains the .OBJ files for the XCenter plugins.
101 DISKFREEOBJS=$(XWP_OUTPUT_ROOT)\dll_subs\w_diskfree.obj$(PMPRINTF_LIB)
102 WINLISTOBJS=$(XWP_OUTPUT_ROOT)\dll_subs\w_winlist.obj$(PMPRINTF_LIB)
103 IPMONOBJS=$(XWP_OUTPUT_ROOT)\dll_subs\w_ipmon.obj$(PMPRINTF_LIB)libs\tcp32dll.liblibs\so32dll.lib
104 MONITOROBJS=$(XWP_OUTPUT_ROOT)\dll_subs\w_monitors.obj$(PMPRINTF_LIB)
105 SENTINELOBJS=$(XWP_OUTPUT_ROOT)\dll_subs\w_sentinel.obj$(PMPRINTF_LIB)libs\win32k.lib
106 HEALTHOBJS=$(XWP_OUTPUT_ROOT)\dll_subs\xwHealth.obj$(PMPRINTF_LIB)
107 SAMPLEOBJS=$(XWP_OUTPUT_ROOT)\dll_subs\____sample.obj$(PMPRINTF_LIB)
108
109 D_CDFSOBJS=$(XWP_OUTPUT_ROOT)\dll_subs\d_cdfs.obj$(PMPRINTF_LIB)
110
111 # objects for XDEBUG.DLL (debugging only)
112 DEBUG_OBJS=$(XWP_OUTPUT_ROOT)\xdebug.obj$(XWP_OUTPUT_ROOT)\xdebug_folder.obj
113
114 # Define the suffixes for files which NMAKE will work on.
115 # .SUFFIXES is a reserved NMAKE keyword ("pseudotarget") for
116 # defining file extensions that NMAKE will recognize.
117 .SUFFIXES:.obj .dll .exe .h .rc .res
118
119 # The LIBS macro contains all the .LIB files, either from the compiler or
120 # others, which are needed for this project:
121 # pmprintf is for debugging
122 # The other OS/2 libraries are used by default.
123 LIBS=$(PMPRINTF_LIB)
124
125 # some variable strings to pass to sub-nmakes
126 SUBMAKE_PASS_STRING="PROJECT_BASE_DIR=$(PROJECT_BASE_DIR)""PROJECT_INCLUDE=$(PROJECT_INCLUDE)"
127
128 # store current directory so we can change back later
129 CURRENT_DIR=$(MAKEDIR)
130
131 # setup running directories
132 !if[@md$(XWPRUNNING)2>NUL]
133 !endif
134 !if[@md$(XWPRUNNING)\bin2>NUL]
135 !endif
136 !if[@md$(XWPRUNNING)\plugins2>NUL]
137 !endif
138 !if[@md$(XWPRUNNING)\plugins\xcenter2>NUL]
139 !endif
140 !if[@md$(XWPRUNNING)\plugins\drvdlgs2>NUL]
141 !endif
142 !if[@md$(XWPRUNNING)\help2>NUL]
143 !endif
144 !if[@md$(XWPRUNNING)\install2>NUL]
145 !endif
146
147
148 # REGULAR MAIN TARGETS
149 # --------------------
150
151 # "all": default, does a regular compile, but leaves
152 # out the not-so-important stuff such as netscdee and treesize.
153 # Basically, this is for updating XFLDR.DLL and the hook/daemon
154 # for speed.
155 all:compile_all link
156 @echo-----Leaving$(MAKEDIR)
157 @echoYo,done!
158
159 # "really_all" references "all" and compiles really everything.
160 # This must be used for the release version.
161 really_all:compile_really_all tools link nls doc
162 @echo-----Leaving$(MAKEDIR)
163 @echoYo,done!
164
165 # "full": shortcut to really_all V1.0.0 (2002年09月13日) [umoeller]
166 full:really_all
167
168 # "dep": create dependencies.
169 dep:
170 @echo$(MAKEDIR)\makefile[$@]:Goingforsrc\helpers(DLLversion)
171 @cd$(HELPERS_BASE_DIR)\src\helpers
172 @$(MAKE)-nologodep"NOINCLUDEDEPEND=1"$(SUBMAKE_PASS_STRING)
173 @cd$(CURRENT_DIR)
174 @echo$(MAKEDIR)\makefile[$@]:Goingforsubdirsrc(dep)
175 @cdsrc
176 $(MAKE)-nologodep"SUBTARGET=dep""RUNDEPONLY=1""REALLYALL=1"
177 @cd$(CURRENT_DIR)
178 @echo$(MAKEDIR)\makefile[$@]:Goingforsubdirtools(dep)
179 @cdtools
180 $(MAKE)-nologodep"SUBTARGET=dep""RUNDEPONLY=1""REALLYALL=1"
181 @cd$(CURRENT_DIR)
182 @echo-----Leaving$(MAKEDIR)
183 @echoYo,done!
184
185 # "running": update running directories
186 running:
187 $(COPY)BUGS$(XWPRUNNING)
188 $(COPY)cvs.txt$(XWPRUNNING)
189 $(COPY)FEATURES$(XWPRUNNING)
190 !ifndefXWPLITE
191 @cd$(XWP_LANG_CODE)
192 $(MAKE)-nologorunning"MAINMAKERUNNING=YES"
193 @cd..
194 # $(COPY) $(XWP_LANG_CODE)\readme $(XWPRUNNING)
195 $(COPY)release\*$(XWPRUNNING)
196 $(COPY)release\bin\alwssort.cmd$(XWPRUNNING)\bin
197 $(COPY)release\bin\bm-lvm.cmd$(XWPRUNNING)\bin
198 $(COPY)release\bin\bootmgr.cmd$(XWPRUNNING)\bin
199 $(COPY)release\bin\defdetls.cmd$(XWPRUNNING)\bin
200 $(COPY)release\bin\deficon.cmd$(XWPRUNNING)\bin
201 $(COPY)release\bin\deftree.cmd$(XWPRUNNING)\bin
202 $(COPY)release\bin\iconorm.cmd$(XWPRUNNING)\bin
203 $(COPY)release\bin\icosmall.cmd$(XWPRUNNING)\bin
204 $(COPY)release\bin\newobj.cmd$(XWPRUNNING)\bin
205 !endif
206 $(COPY)release\bin\packtree.cmd$(XWPRUNNING)\bin
207 !ifndefXWPLITE
208 $(COPY)release\bin\showall.cmd$(XWPRUNNING)\bin
209 $(COPY)release\bin\xhelp.cmd$(XWPRUNNING)\bin
210 $(COPY)release\bin\xshutdwn.cmd$(XWPRUNNING)\bin
211 $(COPY)release\bin\xshutdwn.ico$(XWPRUNNING)\bin
212 !endif
213 !if[@md$(XWPRUNNING)\bootlogo2>NUL]
214 !endif
215 $(COPY)release\bootlogo\*$(XWPRUNNING)\bootlogo
216 !if[@md$(XWPRUNNING)\cdplay2>NUL]
217 !endif
218 $(COPY)release\cdplay\*$(XWPRUNNING)\cdplay
219 #!if [@md $(XWPRUNNING)\icons 2> NUL]
220 #!endif
221 # $(COPY) release\icons\* $(XWPRUNNING)\icons
222 $(COPY)release\install\deinst.cmd$(XWPRELEASE_MAIN)\install
223 $(COPY)release\install\delobjs.cmd$(XWPRELEASE_MAIN)\install
224 !ifdefXWPLITE
225 $(COPY)release\install\freshini_lite.cmd$(XWPRELEASE_MAIN)\install\freshini.cmd
226 !else
227 $(COPY)release\install\freshini.cmd$(XWPRELEASE_MAIN)\install
228 $(COPY)release\install\od.cmd$(XWPRELEASE_MAIN)\install
229 $(COPY)release\install\soundoff.cmd$(XWPRELEASE_MAIN)\install
230 $(COPY)release\install\xwp.ico$(XWPRELEASE_MAIN)\install
231 $(COPY)release\install\xwp_o.ico$(XWPRELEASE_MAIN)\install
232 !endif
233 !if[@md$(XWPRUNNING)\themes2>NUL]
234 !endif
235 !if[@md$(XWPRUNNING)\themes\warp32>NUL]
236 !endif
237 $(COPY)release\themes\warp3\*$(XWPRUNNING)\themes\warp3
238 !if[@md$(XWPRUNNING)\themes\warp42>NUL]
239 !endif
240 $(COPY)release\themes\warp4\*$(XWPRUNNING)\themes\warp4
241 !if[@md$(XWPRUNNING)\themes\xwp2>NUL]
242 !endif
243 $(COPY)release\themes\xwp\*$(XWPRUNNING)\themes\xwp
244 !if[@md$(XWPRUNNING)\toolkit2>NUL]
245 !endif
246 $(COPY)src\widgets\miniwdgt.c$(XWPRUNNING)\toolkit
247 !if[@md$(XWPRUNNING)\toolkit\shared2>NUL]
248 !endif
249 $(COPY)include\shared\center.h$(XWPRUNNING)\toolkit\shared
250 $(COPY)include\shared\helppanels.h$(XWPRUNNING)\toolkit\shared\helpids.h
251 !ifndefXWPLITE
252 !if[@md$(XWPRUNNING)\toolkit\config2>NUL]
253 !endif
254 $(COPY)include\config\drivdlgs.h$(XWPRUNNING)\toolkit\config
255 !endif
256 !if[@md$(XWPRUNNING)\wav2>NUL]
257 !endif
258 $(COPY)release\wav\*$(XWPRUNNING)\wav
259
260 # "COMPILE" PSEUDOTARGETS
261 # -----------------------
262
263 # The following are invoked via "all" or "really_all"
264 # to call src\makefile with SUBTARGET=all, which will
265 # in turn invoke nmake all to the src\ subdirectories.
266
267 # idl always gets invoked first to check whether
268 # src\classes\*.c needs to be refreshed from idl\*.idl.
269 idl:
270 @echo$(MAKEDIR)\makefile[$@]:Goingforsubdiridl
271 @cdidl
272 @$(MAKE)-nologoall"MAINMAKERUNNING=YES"
273 @cd..
274
275 helpers:
276 # helpers:
277 # this branches over to the xwphelpers source tree,
278 # which is prepared for this. The helpers.lib file
279 # is created in $(XWP_OUTPUT_ROOT) then.
280 @echo$(MAKEDIR)\makefile[$@]:Goingforsrc\helpers(DLLversion)
281 @cd$(HELPERS_BASE_DIR)\src\helpers
282 @$(MAKE)-nologoall"MAINMAKERUNNING=YES"$(SUBMAKE_PASS_STRING)\
283 "OUTPUTDIR_HELPERS=$(XWP_OUTPUT_ROOT)""CC_HELPERS=$(CC_HELPERS_DLL)"
284 # according to VAC++ user guide, we need to use /ge+ for libs
285 # even if the lib will be linked to a DLL
286 @cd$(CURRENT_DIR)
287
288 helpers_exe_mt:
289 # helpers_exe_mt:
290 # same as the above, but this builds a multithread lib for EXEs
291 # in $(XWP_OUTPUT_ROOT)\exe_mt\ instead.
292 @echo$(MAKEDIR)\makefile[$@]:Goingforsrc\helpers(EXEMTversion)
293 @cd$(HELPERS_BASE_DIR)\src\helpers
294 @$(MAKE)-nologoall"MAINMAKERUNNING=YES"$(SUBMAKE_PASS_STRING)\
295 "OUTPUTDIR_HELPERS=$(XWP_OUTPUT_ROOT)\exe_mt""CC_HELPERS=$(CC_HELPERS_EXE_MT)"
296 @cd$(CURRENT_DIR)
297
298 # compile_all: compile main (without treesize etc.)
299 compile_all:idl helpers helpers_exe_mt
300 @echo$(MAKEDIR)\makefile[$@]:Goingforsubdirsrc
301 @cdsrc
302 $(MAKE)-nologo"SUBTARGET=all"
303 @cd$(CURRENT_DIR)
304
305 # compile_really_all: compile really_all
306 compile_really_all:idl helpers helpers_exe_mt
307 @echo$(MAKEDIR)\makefile[$@]:Goingforsubdirsrc(REALLY_ALL)
308 @cdsrc
309 $(MAKE)-nologo"SUBTARGET=all""REALLYALL=1"
310 @cd$(CURRENT_DIR)
311
312 tools:
313 @echo$(MAKEDIR)\makefile[$@]:Goingforsubdirtools
314 @cdtools
315 $(MAKE)-nologo"SUBTARGET=all""MAINMAKERUNNING=YES"
316 $(COPY)$(MODULESDIR)\repclass.exe$(XWPRUNNING)\bin
317 $(COPY)$(MODULESDIR)\wpsreset.exe$(XWPRUNNING)\bin
318 @cd..
319
320 doc:
321 @echo$(MAKEDIR)\makefile[$@]:Goingforsubdirdoc
322 @cddoc
323 $(MAKE)-nologo"SUBTARGET=all""MAINMAKERUNNING=YES"
324 @cd..
325
326 xwpsecurity:
327 @echo$(MAKEDIR)\makefile[$@]:Goingforsubdirsrc\xwpsec_ring0
328 @cdsrc\xwpsec_ring0
329 @$(MAKE)-nologoall"MAINMAKERUNNING=YES"$(SUBMAKE_PASS_STRING)
330 @cd..\..
331 @echo$(MAKEDIR)\makefile[$@]:Goingforsubdirsrc\XWPShell
332 @cdsrc\XWPShell
333 @$(MAKE)-nologoall"MAINMAKERUNNING=YES"$(SUBMAKE_PASS_STRING)
334 @cd..\..
335
336 $(XWP_LANG_CODE):
337 @echo$(MAKEDIR)\makefile[$@]:Goingforsubdir$(XWP_LANG_CODE)
338 @cd$(XWP_LANG_CODE)
339 @$(MAKE)-nologoall"MAINMAKERUNNING=YES"$(SUBMAKE_PASS_STRING)
340 @cd..
341
342 nls:$(XWP_LANG_CODE)
343
344 # LINKER PSEUDOTARGETS
345 # --------------------
346
347 link:$(XWPRUNNING)\bin\xfldr.dll \
348 $(XWPRUNNING)\bin\xwpres.dll \
349 $(XWPRUNNING)\plugins\xcenter\diskfree.dll \
350 $(XWPRUNNING)\plugins\xcenter\monitors.dll \
351 $(XWPRUNNING)\plugins\xcenter\winlist.dll \
352 $(XWPRUNNING)\plugins\xcenter\sentinel.dll \
353 $(XWPRUNNING)\plugins\xcenter\ipmon.dll \
354 # $(XWPRUNNING)\plugins\xcenter\xwHealth.dll \ disabled V1.0.1 (2003年02月01日) [umoeller]
355 $(XWPRUNNING)\plugins\xcenter\sample.dll \
356 $(XWPRUNNING)\plugins\drvdlgs\d_cdfs.dll \
357 # $(XWPRUNNING)\bin\xwphook.dll \
358 # $(XWPRUNNING)\bin\xwpdaemn.exe
359 # $(XWPRUNNING)\bin\xwpfonts.fon
360 # $(XWPRUNNING)\bin\xdebug.dll
361
362 #
363 # generic inference rules for copying and stuff
364 #
365
366 {$(MODULESDIR)}.dll{$(XWPRUNNING)\plugins\xcenter}.dll:
367 !ifdefXWP_UNLOCK_MODULES
368 $(RUN_UNLOCK)$@
369 !endif
370 $(COPY)$(MODULESDIR)\$(@B).dll$(XWPRUNNING)\plugins\xcenter
371 $(COPY)$(MODULESDIR)\$(@B).sym$(XWPRUNNING)\plugins\xcenter
372
373 {$(MODULESDIR)}.dll{$(XWPRUNNING)\plugins\drvdlgs}.dll:
374 !ifdefXWP_UNLOCK_MODULES
375 $(RUN_UNLOCK)$@
376 !endif
377 $(COPY)$(MODULESDIR)\$(@B).dll$(XWPRUNNING)\plugins\drvdlgs
378 $(COPY)$(MODULESDIR)\$(@B).sym$(XWPRUNNING)\plugins\drvdlgs
379
380 # Finally, define rules for linking the target DLLs and EXEs
381 # This uses the $OBJS and $HLPOBJS macros defined at the top.
382 #
383 # The actual targets are the DLLs and EXEs in the XWorkplace
384 # installation directory. We create the target in bin\ first
385 # and then copy it thereto.
386
387 #
388 # Linking XFLDR.DLL
389 #
390 $(XWPRUNNING)\bin\xfldr.dll:$(MODULESDIR)\$(@B).dll
391 !ifdefXWP_UNLOCK_MODULES
392 $(RUN_UNLOCK)$@
393 !endif
394 $(COPY)$(MODULESDIR)\$(@B).dll$(XWPRUNNING)\bin
395 $(COPY)$(MODULESDIR)\$(@B).sym$(XWPRUNNING)\bin
396 !ifdefDYNAMIC_TRACE
397 @echo $(MAKEDIR)\makefile [$@]:Creating TRACE files for $(@B).dll
398 maptsf$(@B).map/MAJOR=255/LOGSTACK=32/LOGRETURN>$(@B).tsf
399 trcust$(@B).tsf/I/L=bin\$(@B).dll/node/M=$(@B).map
400 @echo$(MAKEDIR)\makefile[$@]:DonecreatingTRACEfilesfor$(@B).dll
401 $(COPY)$(@B).tdf$(XWPRUNNING)\bin
402 del$(@B).tdf
403 $(COPY)TRC00FF.TFF$(DYNAMIC_TRACE):\OS2\SYSTEM\TRACE
404 delTRC00FF.TFF
405 !endif
406
407 MODDEFFILE=\
408 !ifdefXWPLITE
409 src\shared\xwp_lite.def
410 !else
411 src\shared\xwp.def
412 !endif
413
414 # update DEF file
415 !if[@$(RUN_BLDLEVEL)src\shared\xwp.definclude\bldlevel.h"$(XWPNAME) main module"]
416 !endif
417
418 $(MODULESDIR)\xfldr.dll:$(OBJS) $(HLPOBJS) $(MODDEFFILE) make\objects.in
419 @echo$(MAKEDIR)\makefile[$@]:Linking$@
420 $(LINK)@<<$(TEMP)\XFLDR.LNK
421 /OUT:$@ $(MODDEFFILE) $(OBJS) $(HLPOBJS) $(LIBS)
422 <<
423 !ifdefXWP_OUTPUT_ROOT_DRIVE
424 @$(XWP_OUTPUT_ROOT_DRIVE)
425 !endif
426 @cd$(MODULESDIR)
427 $(RUN_MAPSYM)$(@B).map
428 !ifdefCVS_WORK_ROOT_DRIVE
429 @$(CVS_WORK_ROOT_DRIVE)
430 !endif
431 @cd$(CURRENT_DIR)
432 tools\raisebld.cmdinclude\build.h
433
434 #
435 # Linking XWPRES.DLL
436 #
437
438 $(XWPRUNNING)\bin\xwpres.dll:$(MODULESDIR)\$(@B).dll
439 !ifdefXWP_UNLOCK_MODULES
440 $(RUN_UNLOCK)$@
441 !endif
442 $(COPY)$(MODULESDIR)\$(@B).dll$(XWPRUNNING)\bin
443
444 # update DEF file
445 !if[@$(RUN_BLDLEVEL)src\shared\xwpres.definclude\bldlevel.h"$(XWPNAME) resources module"]
446 !endif
447
448 $(MODULESDIR)\xwpres.dll:src\shared\xwpres.def $(OUTPUTDIR)\xwpres.res $(OUTPUTDIR)\dummyfont.obj
449 @echo$(MAKEDIR)\makefile[$@]:Linking$@
450 $(LINK_ALWAYSPACK)/OUT:$@src\shared\xwpres.def$(OUTPUTDIR)\dummyfont.obj
451 !ifdefXWP_OUTPUT_ROOT_DRIVE
452 @$(XWP_OUTPUT_ROOT_DRIVE)
453 !endif
454 @cd$(MODULESDIR)
455 $(RC)$(OUTPUTDIR)\xwpres.res$(@B).dll
456 !ifdefCVS_WORK_ROOT_DRIVE
457 @$(CVS_WORK_ROOT_DRIVE)
458 !endif
459 @cd$(CURRENT_DIR)
460
461 # XCENTER PLUGINS LINKER PSEUDOTARGETS
462 # ------------------------------------
463
464 #
465 # Linking WINLIST.DLL
466 #
467
468 # update DEF file
469 !if[@$(RUN_BLDLEVEL)src\widgets\w_winlist.definclude\bldlevel.h"$(XWPNAME) window-list plugin DLL"]
470 !endif
471
472 $(MODULESDIR)\winlist.dll:$(WINLISTOBJS) src\widgets\w_$(@B).def
473 @echo$(MAKEDIR)\makefile[$@]:Linking$@
474 $(LINK)/OUT:$@$(WINLISTOBJS)src\widgets\w_$(@B).def
475 !ifdefXWP_OUTPUT_ROOT_DRIVE
476 @$(XWP_OUTPUT_ROOT_DRIVE)
477 !endif
478 @cd$(MODULESDIR)
479 $(RUN_MAPSYM)$(@B).map
480 !ifdefCVS_WORK_ROOT_DRIVE
481 @$(CVS_WORK_ROOT_DRIVE)
482 !endif
483 @cd$(CURRENT_DIR)
484
485 #
486 # Linking DISKFREE.DLL
487 #
488 $(XWPRUNNING)\plugins\xcenter\diskfree.dll:$(MODULESDIR)\$(@B).dll
489 !ifdefXWP_UNLOCK_MODULES
490 $(RUN_UNLOCK)$@
491 !endif
492 $(COPY)$(MODULESDIR)\$(@B).dll$(XWPRUNNING)\plugins\xcenter
493 $(COPY)$(MODULESDIR)\$(@B).sym$(XWPRUNNING)\plugins\xcenter
494
495 # update DEF file
496 !if[@$(RUN_BLDLEVEL)src\widgets\w_diskfree.definclude\bldlevel.h"$(XWPNAME) diskfree plugin DLL"]
497 !endif
498
499 $(MODULESDIR)\diskfree.dll:$(DISKFREEOBJS) src\widgets\w_diskfree.def
500 @echo$(MAKEDIR)\makefile[$@]:Linking$@
501 $(LINK)/OUT:$@$(DISKFREEOBJS)src\widgets\w_diskfree.def
502 !ifdefXWP_OUTPUT_ROOT_DRIVE
503 @$(XWP_OUTPUT_ROOT_DRIVE)
504 !endif
505 @cd$(MODULESDIR)
506 $(RUN_MAPSYM)$(@B).map
507 !ifdefCVS_WORK_ROOT_DRIVE
508 @$(CVS_WORK_ROOT_DRIVE)
509 !endif
510 @cd$(CURRENT_DIR)
511
512 #
513 # Linking ipmon.DLL
514 #
515 $(XWPRUNNING)\plugins\xcenter\ipmon.dll:$(MODULESDIR)\$(@B).dll
516 !ifdefXWP_UNLOCK_MODULES
517 $(RUN_UNLOCK)$@
518 !endif
519 $(COPY)$(MODULESDIR)\$(@B).dll$(XWPRUNNING)\plugins\xcenter
520 $(COPY)$(MODULESDIR)\$(@B).sym$(XWPRUNNING)\plugins\xcenter
521
522 # update DEF file
523 !if[@$(RUN_BLDLEVEL)src\widgets\w_ipmon.definclude\bldlevel.h"$(XWPNAME) IP monitor plugin DLL"]
524 !endif
525
526 $(MODULESDIR)\ipmon.dll:$(IPMONOBJS) src\widgets\w_$(@B).def
527 @echo$(MAKEDIR)\makefile[$@]:Linking$@
528 $(LINK)/OUT:$@$(IPMONOBJS)src\widgets\w_$(@B).def
529 !ifdefXWP_OUTPUT_ROOT_DRIVE
530 @$(XWP_OUTPUT_ROOT_DRIVE)
531 !endif
532 @cd$(MODULESDIR)
533 $(RUN_MAPSYM)$(@B).map
534 !ifdefCVS_WORK_ROOT_DRIVE
535 @$(CVS_WORK_ROOT_DRIVE)
536 !endif
537 @cd$(CURRENT_DIR)
538
539 #
540 # Linking MONITORS.DLL
541 #
542 $(XWPRUNNING)\plugins\xcenter\monitors.dll:$(MODULESDIR)\$(@B).dll
543 !ifdefXWP_UNLOCK_MODULES
544 $(RUN_UNLOCK)$@
545 !endif
546 $(COPY)$(MODULESDIR)\$(@B).dll$(XWPRUNNING)\plugins\xcenter
547 $(COPY)$(MODULESDIR)\$(@B).sym$(XWPRUNNING)\plugins\xcenter
548
549 # update DEF file
550 !if[@$(RUN_BLDLEVEL)src\widgets\w_monitors.definclude\bldlevel.h"$(XWPNAME) monitors plugin DLL"]
551 !endif
552
553 $(MODULESDIR)\monitors.dll:$(MONITOROBJS) src\widgets\w_$(@B).def
554 @echo$(MAKEDIR)\makefile[$@]:Linking$@
555 $(LINK)/OUT:$@$(MONITOROBJS)src\widgets\w_$(@B).def
556 !ifdefXWP_OUTPUT_ROOT_DRIVE
557 @$(XWP_OUTPUT_ROOT_DRIVE)
558 !endif
559 @cd$(MODULESDIR)
560 $(RUN_MAPSYM)$(@B).map
561 !ifdefCVS_WORK_ROOT_DRIVE
562 @$(CVS_WORK_ROOT_DRIVE)
563 !endif
564 @cd$(CURRENT_DIR)
565
566 #
567 # Linking sentinel.DLL
568 #
569 $(XWPRUNNING)\plugins\xcenter\sentinel.dll:$(MODULESDIR)\$(@B).dll
570 !ifdefXWP_UNLOCK_MODULES
571 $(RUN_UNLOCK)$@
572 !endif
573 $(COPY)$(MODULESDIR)\$(@B).dll$(XWPRUNNING)\plugins\xcenter
574 $(COPY)$(MODULESDIR)\$(@B).sym$(XWPRUNNING)\plugins\xcenter
575
576 # update DEF file
577 !if[@$(RUN_BLDLEVEL)src\widgets\w_sentinel.definclude\bldlevel.h"$(XWPNAME) memory sentinel plugin DLL"]
578 !endif
579
580 $(MODULESDIR)\sentinel.dll:$(SENTINELOBJS) src\widgets\w_$(@B).def
581 @echo$(MAKEDIR)\makefile[$@]:Linking$@
582 $(LINK)/OUT:$@$(SENTINELOBJS)src\widgets\w_$(@B).def
583 !ifdefXWP_OUTPUT_ROOT_DRIVE
584 @$(XWP_OUTPUT_ROOT_DRIVE)
585 !endif
586 @cd$(MODULESDIR)
587 $(RUN_MAPSYM)$(@B).map
588 !ifdefCVS_WORK_ROOT_DRIVE
589 @$(CVS_WORK_ROOT_DRIVE)
590 !endif
591 @cd$(CURRENT_DIR)
592
593 #
594 # Linking xwHealth.DLL
595 #
596 $(XWPRUNNING)\plugins\xcenter\xwHealth.dll:$(MODULESDIR)\$(@B).dll
597 !ifdefXWP_UNLOCK_MODULES
598 $(RUN_UNLOCK)$@
599 !endif
600 $(COPY)$(MODULESDIR)\$(@B).dll$(XWPRUNNING)\plugins\xcenter
601 $(COPY)$(MODULESDIR)\$(@B).sym$(XWPRUNNING)\plugins\xcenter
602
603 # update DEF file
604 !if[@$(RUN_BLDLEVEL)src\widgets\xwHealth.definclude\bldlevel.h"$(XWPNAME) xwHealth plugin DLL"]
605 !endif
606
607 $(MODULESDIR)\xwHealth.dll:$(HEALTHOBJS) src\widgets\$(@B).def
608 @echo$(MAKEDIR)\makefile[$@]:Linking$@
609 $(LINK)/OUT:$@src\widgets\$(@B).def@<<
610 $(HEALTHOBJS)
611 <<
612 !ifdefXWP_OUTPUT_ROOT_DRIVE
613 @$(XWP_OUTPUT_ROOT_DRIVE)
614 !endif
615 @cd$(MODULESDIR)
616 $(RUN_MAPSYM)$(@B).map
617 !ifdefCVS_WORK_ROOT_DRIVE
618 @$(CVS_WORK_ROOT_DRIVE)
619 !endif
620 @cd$(CURRENT_DIR)
621
622 #
623 # Linking SAMPLE.DLL
624 #
625 $(XWPRUNNING)\plugins\xcenter\sample.dll:$(MODULESDIR)\$(@B).dll
626 !ifdefXWP_UNLOCK_MODULES
627 $(RUN_UNLOCK)$@
628 !endif
629 $(COPY)$(MODULESDIR)\$(@B).dll$(XWPRUNNING)\plugins\xcenter
630 $(COPY)$(MODULESDIR)\$(@B).sym$(XWPRUNNING)\plugins\xcenter
631
632 # update DEF file
633 !if[@$(RUN_BLDLEVEL)src\widgets\sample.definclude\bldlevel.h"$(XWPNAME) sample plugin DLL"]
634 !endif
635
636 $(MODULESDIR)\sample.dll:$(SAMPLEOBJS) src\widgets\$(@B).def
637 @echo$(MAKEDIR)\makefile[$@]:Linking$@
638 $(LINK)/OUT:$@src\widgets\$(@B).def@<<
639 $(SAMPLEOBJS)
640 <<
641 !ifdefXWP_OUTPUT_ROOT_DRIVE
642 @$(XWP_OUTPUT_ROOT_DRIVE)
643 !endif
644 @cd$(MODULESDIR)
645 $(RUN_MAPSYM)$(@B).map
646 !ifdefCVS_WORK_ROOT_DRIVE
647 @$(CVS_WORK_ROOT_DRIVE)
648 !endif
649 @cd$(CURRENT_DIR)
650
651 # DRIVER PLUGINS LINKER PSEUDOTARGETS
652 # -----------------------------------
653 #
654 # Linking D_CDFS.DLL
655 #
656
657 # update DEF file
658 !if[@$(RUN_BLDLEVEL)src\widgets\d_cdfs.definclude\bldlevel.h"$(XWPNAME) CDFS.IFS driver plugin DLL"]
659 !endif
660
661 $(MODULESDIR)\d_cdfs.dll:$(D_CDFSOBJS) src\widgets\$(@B).def
662 @echo$(MAKEDIR)\makefile[$@]:Linking$@
663 $(LINK)/OUT:$@$(D_CDFSOBJS)src\widgets\$(@B).def
664 !ifdefXWP_OUTPUT_ROOT_DRIVE
665 @$(XWP_OUTPUT_ROOT_DRIVE)
666 !endif
667 @cd$(MODULESDIR)
668 $(RUN_MAPSYM)$(@B).map
669 !ifdefCVS_WORK_ROOT_DRIVE
670 @$(CVS_WORK_ROOT_DRIVE)
671 !endif
672 @cd$(CURRENT_DIR)
673
674 #
675 # Linking XWPFONTS.FON
676 #
677 $(XWPRUNNING)\bin\xwpfonts.fon:$(MODULESDIR)\$(@B).fon
678 !ifdefXWP_UNLOCK_MODULES
679 $(RUN_UNLOCK)$@
680 !endif
681 $(COPY)$(MODULESDIR)\$(@B).fon$(XWPRUNNING)\bin
682
683 # update DEF file
684 !if[@$(RUN_BLDLEVEL)src\shared\xwpfonts.definclude\bldlevel.h"$(XWPNAME) bitmap fonts"]
685 !endif
686
687 $(MODULESDIR)\xwpfonts.fon:$(XWP_OUTPUT_ROOT)\$(@B).res
688 @echo$(MAKEDIR)\makefile[$@]:Linking$(MODULESDIR)\$(@B).fon
689 $(LINK)/OUT:$(MODULESDIR)\$(@B).dllsrc\shared\$(@B).def
690 @cd$(MODULESDIR)
691 # rename manually because otherwise the linker warns
692 # del $(@B).fon
693 ren$(@B).dll$(@B).fon
694 $(RC)..\$(@B).res$(@B).fon
695 @cd$(CURRENT_DIR)
696
697 #
698 # XDEBUG.DLL
699 #
700 $(XWPRUNNING)\bin\xdebug.dll:$(MODULESDIR)\$(@B).dll
701 !ifdefXWP_UNLOCK_MODULES
702 $(RUN_UNLOCK)$@
703 !endif
704 $(COPY)$(MODULESDIR)\$(@B).dll$(XWPRUNNING)\bin
705
706 $(MODULESDIR)\xdebug.dll:src\shared\$(@B).def $(DEBUG_OBJS) $(HLPOBJS) $(XWP_OUTPUT_ROOT)\wpsh.obj
707 $(LINK)/OUT:$(MODULESDIR)\$(@B).dllsrc\shared\$(@B).def$(DEBUG_OBJS)$(HLPOBJS)$(LIBS)$(XWP_OUTPUT_ROOT)\wpsh.obj
708
709 #
710 # Special target "dlgedit": this is not called by "all",
711 # but must be set on the NMAKE command line.
712 # Note that you need DLGEDIT.EXE from the Toolkit for this.
713 #
714
715 dlgedit:
716 # added (UM 99-10-24)
717 @echo$(MAKEDIR)\makefile[$@]:CallingDLGEDIT.EXE
718 @cd$(XWP_LANG_CODE)\dll
719 # rebuild RES file in bin
720 @$(MAKE)-nologoall"MAINMAKERUNNING=YES"
721 # copy RES file to 001\dll so dlgedit finds it
722 @$(COPY)$(PROJECT_OUTPUT_DIR)\xfldr$(XWP_LANG_CODE).res
723 @$(COPY)..\..\include\dlgids.h
724 # invoke DLGEDIT
725 dlgeditxfldr$(XWP_LANG_CODE).res
726 # move newly created RES file back to \bin
727 @$(COPY)xfldr$(XWP_LANG_CODE).res..\bin
728 @delxfldr$(XWP_LANG_CODE).res
729 @deldlgids.h
730 @$(MAKE)-nologoall"MAINMAKERUNNING=YES"
731 @cd..\..
732
733 #
734 # Special target "release": this is not called by "all",
735 # but must be set on the NMAKE command line.
736 #
737
738 release:really_all
739 # 1) main dir
740 !ifndefXWPRELEASE
741 !errorXWPRELEASEmustbesetbeforecalling"make release".Terminating.
742 !endif
743 # create directories
744 !if[@md$(XWPRELEASE)2>NUL]
745 !endif
746 !if[@md$(XWPRELEASE)\$(BLD_TYP)2>NUL]
747 !endif
748 !if[@md$(XWPRELEASE_MAIN)2>NUL]
749 !endif
750 !if[@md$(XWPRELEASE_NLS)2>NUL]
751 !endif
752 !if[@md$(XWPRELEASE_NLSDOC)2>NUL]
753 !endif
754 !if[@md$(XWPRELEASE_MAP)2>NUL]
755 !endif
756 @echo $(MAKEDIR)\makefile [$@]:Now copying files to $(XWPRELEASE)\$(BLD_TYP)
757 @cd$(XWP_LANG_CODE)
758 $(MAKE)-nologorelease"MAINMAKERUNNING=YES"
759 @cd..
760 $(COPY)$(MODULESDIR)\xfldr$(XWP_LANG_CODE).inf$(XWPRELEASE_NLSDOC)
761 !ifndefXWPLITE
762 $(COPY)release\COPYING$(XWPRELEASE_MAIN)
763 $(COPY)release\file_id.diz$(XWPRELEASE_MAIN)
764 # $(COPY) $(XWP_LANG_CODE)\readme $(XWPRELEASE_NLSDOC)
765 $(COPY)BUGS$(XWPRELEASE_NLSDOC)
766 $(COPY)FEATURES$(XWPRELEASE_NLSDOC)
767 $(COPY)cvs.txt$(XWPRELEASE_MAIN)
768 !endif
769 #
770 # 2) bin
771 # a) kernel
772 !if[@md$(XWPRELEASE_MAIN)\bin2>NUL]
773 !endif
774 !if[@md$(XWPRELEASE_NLS)\bin2>NUL]
775 !endif
776 !ifndefXWPLITE
777 $(COPY)release\bin\alwssort.cmd$(XWPRELEASE_MAIN)\bin
778 $(COPY)release\bin\bm-lvm.cmd$(XWPRELEASE_MAIN)\bin
779 $(COPY)release\bin\bootmgr.cmd$(XWPRELEASE_MAIN)\bin
780 $(COPY)release\bin\defdetls.cmd$(XWPRELEASE_MAIN)\bin
781 $(COPY)release\bin\deficon.cmd$(XWPRELEASE_MAIN)\bin
782 $(COPY)release\bin\deftree.cmd$(XWPRELEASE_MAIN)\bin
783 $(COPY)release\bin\iconorm.cmd$(XWPRELEASE_MAIN)\bin
784 $(COPY)release\bin\icosmall.cmd$(XWPRELEASE_MAIN)\bin
785 $(COPY)release\bin\newobj.cmd$(XWPRELEASE_MAIN)\bin
786 !endif
787 $(COPY)release\bin\packtree.cmd$(XWPRELEASE_MAIN)\bin
788 !ifndefXWPLITE
789 $(COPY)release\bin\showall.cmd$(XWPRELEASE_MAIN)\bin
790 $(COPY)release\bin\xhelp.cmd$(XWPRELEASE_MAIN)\bin
791 $(COPY)release\bin\xshutdwn.cmd$(XWPRELEASE_MAIN)\bin
792 #fixed wrong target path for xshutdwn.ico V1.0.0 (2002年08月18日) [umoeller]
793 $(COPY)release\bin\xshutdwn.ico$(XWPRELEASE_MAIN)\bin
794 !endif
795 # $(COPY) release\bin\icons.dll
796 !ifndefXWPLITE
797 # $(COPY) release\bin\files.txt
798 !endif
799 $(COPY)$(MODULESDIR)\xfldr.dll$(XWPRELEASE_MAIN)\bin
800 $(COPY)$(MODULESDIR)\xfldr.sym$(XWPRELEASE_MAIN)\bin
801 $(COPY)$(MODULESDIR)\xwpres.dll$(XWPRELEASE_MAIN)\bin
802 $(COPY)$(MODULESDIR)\xwphook.dll$(XWPRELEASE_MAIN)\bin
803 $(COPY)$(MODULESDIR)\xwphook.sym$(XWPRELEASE_MAIN)\bin
804 $(COPY)$(MODULESDIR)\netscdde.exe$(XWPRELEASE_MAIN)\bin
805 $(COPY)$(MODULESDIR)\treesize.exe$(XWPRELEASE_MAIN)\bin
806 $(COPY)$(MODULESDIR)\xfix.exe$(XWPRELEASE_MAIN)\bin
807 $(COPY)$(MODULESDIR)\xfix.sym$(XWPRELEASE_MAIN)\bin
808 $(COPY)$(MODULESDIR)\xwpdaemn.exe$(XWPRELEASE_MAIN)\bin
809 $(COPY)$(MODULESDIR)\xwpdaemn.sym$(XWPRELEASE_MAIN)\bin
810 $(COPY)$(MODULESDIR)\repclass.exe$(XWPRELEASE_MAIN)\bin
811 $(COPY)$(MODULESDIR)\wpsreset.exe$(XWPRELEASE_MAIN)\bin
812 # b) NLS
813 $(COPY)$(MODULESDIR)\xfldr$(XWP_LANG_CODE).dll$(XWPRELEASE_NLS)\bin
814 # b) mapfiles
815 $(COPY)$(MODULESDIR)\*.map$(XWPRELEASE_MAP)
816 #
817 # 3) bootlogo
818 !ifndefXWPLITE
819 !if[@md$(XWPRELEASE_MAIN)\bootlogo2>NUL]
820 !endif
821 $(COPY)release\bootlogo\*$(XWPRELEASE_MAIN)\bootlogo
822 !endif
823 #
824 # 4) help
825 !if[@md$(XWPRELEASE_NLS)\help2>NUL]
826 !endif
827 $(COPY)$(MODULESDIR)\xfldr$(XWP_LANG_CODE).tmf$(XWPRELEASE_NLS)\help
828 $(COPY)$(XWP_LANG_CODE)\misc\drvrs$(XWP_LANG_CODE).txt$(XWPRELEASE_NLS)\help
829 !ifndefXWPLITE
830 $(COPY)$(XWP_LANG_CODE)\misc\xfcls$(XWP_LANG_CODE).txt$(XWPRELEASE_NLS)\help
831 !endif
832 $(COPY)$(MODULESDIR)\xfldr$(XWP_LANG_CODE).hlp$(XWPRELEASE_NLS)\help
833 !ifndefXWPLITE
834 # 5) themes
835 #!if [@md $(XWPRELEASE_MAIN)\icons 2> NUL]
836 #!endif
837 # $(COPY) release\icons\* $(XWPRELEASE_MAIN)\icons
838 #!endif
839 !if[@md$(XWPRELEASE_MAIN)\themes2>NUL]
840 !endif
841 !if[@md$(XWPRELEASE_MAIN)\themes\warp32>NUL]
842 !endif
843 !if[@md$(XWPRELEASE_MAIN)\themes\warp42>NUL]
844 !endif
845 $(COPY)release\themes\warp3\*$(XWPRELEASE_MAIN)\themes\warp3
846 $(COPY)release\themes\warp4\*$(XWPRELEASE_MAIN)\themes\warp4
847 !endif
848 # 6) install
849 !if[@md$(XWPRELEASE_MAIN)\install2>NUL]
850 !endif
851 !if[@md$(XWPRELEASE_NLS)\install2>NUL]
852 !endif
853 # $(COPY) release\install\xwpusers.acc $(XWPRELEASE_MAIN)\install
854 $(COPY)release\install\deinst.cmd$(XWPRELEASE_MAIN)\install
855 $(COPY)release\install\delobjs.cmd$(XWPRELEASE_MAIN)\install
856 !ifdefXWPLITE
857 $(COPY)release\install\freshini_lite.cmd$(XWPRELEASE_MAIN)\install\freshini.cmd
858 !else
859 $(COPY)release\install\freshini.cmd$(XWPRELEASE_MAIN)\install
860 $(COPY)release\install\od.cmd$(XWPRELEASE_MAIN)\install
861 $(COPY)release\install\soundoff.cmd$(XWPRELEASE_MAIN)\install
862 $(COPY)release\install\xwp.ico$(XWPRELEASE_MAIN)\install
863 $(COPY)release\install\xwp_o.ico$(XWPRELEASE_MAIN)\install
864 !endif
865 # $(COPY) release\install\xwpusers.xml $(XWPRELEASE_MAIN)\install
866 !ifndefXWPLITE
867 $(COPY)$(XWP_LANG_CODE)\misc\crobj$(XWP_LANG_CODE).cmd$(XWPRELEASE_NLS)\install\crobj$(XWP_LANG_CODE).cmd
868 !else
869 $(COPY)$(XWP_LANG_CODE)\misc\crobj$(XWP_LANG_CODE)_lite.cmd$(XWPRELEASE_NLS)\install\crobj$(XWP_LANG_CODE).cmd
870 !endif
871 !ifndefXWPLITE
872 $(COPY)$(XWP_LANG_CODE)\misc\instl$(XWP_LANG_CODE).cmd$(XWPRELEASE_NLS)\install\instl$(XWP_LANG_CODE).cmd
873 !else
874 $(COPY)$(XWP_LANG_CODE)\misc\instl$(XWP_LANG_CODE)_lite.cmd$(XWPRELEASE_NLS)\install\instl$(XWP_LANG_CODE).cmd
875 !endif
876 !ifndefXWPLITE
877 $(COPY)$(XWP_LANG_CODE)\misc\sound$(XWP_LANG_CODE).cmd$(XWPRELEASE_NLS)\install
878 !endif
879 # 7) wav
880 !ifndefXWPLITE
881 !if[@md$(XWPRELEASE_MAIN)\wav2>NUL]
882 !endif
883 $(COPY)release\wav\*$(XWPRELEASE_MAIN)\wav
884 !endif
885 @echo $(MAKEDIR)\makefile [$@]:Done copying files.
886 # 8) plugins
887 !if[@md$(XWPRELEASE_MAIN)\plugins2>NUL]
888 !endif
889 !if[@md$(XWPRELEASE_MAIN)\plugins\xcenter2>NUL]
890 !endif
891 !ifndefXWPLITE
892 !if[@md$(XWPRELEASE_MAIN)\plugins\drvdlgs2>NUL]
893 !endif
894 !endif
895 !ifndefXWPLITE
896 !endif
897 $(COPY)$(MODULESDIR)\diskfree.dll$(XWPRELEASE_MAIN)\plugins\xcenter
898 $(COPY)$(MODULESDIR)\diskfree.sym$(XWPRELEASE_MAIN)\plugins\xcenter
899 $(COPY)$(MODULESDIR)\monitors.dll$(XWPRELEASE_MAIN)\plugins\xcenter
900 $(COPY)$(MODULESDIR)\monitors.sym$(XWPRELEASE_MAIN)\plugins\xcenter
901 $(COPY)$(MODULESDIR)\winlist.dll$(XWPRELEASE_MAIN)\plugins\xcenter
902 $(COPY)$(MODULESDIR)\winlist.sym$(XWPRELEASE_MAIN)\plugins\xcenter
903 $(COPY)$(MODULESDIR)\sentinel.dll$(XWPRELEASE_MAIN)\plugins\xcenter
904 $(COPY)$(MODULESDIR)\sentinel.sym$(XWPRELEASE_MAIN)\plugins\xcenter
905 $(COPY)$(MODULESDIR)\ipmon.dll$(XWPRELEASE_MAIN)\plugins\xcenter
906 $(COPY)$(MODULESDIR)\ipmon.sym$(XWPRELEASE_MAIN)\plugins\xcenter
907 !ifndefXWPLITE
908 $(COPY)$(MODULESDIR)\d_cdfs.dll$(XWPRELEASE_MAIN)\plugins\drvdlgs
909 $(COPY)$(MODULESDIR)\d_cdfs.sym$(XWPRELEASE_MAIN)\plugins\drvdlgs
910 !endif
911 # 9) toolkit
912 !if[@md$(XWPRELEASE_MAIN)\toolkit2>NUL]
913 !endif
914 !if[@md$(XWPRELEASE_MAIN)\toolkit\shared2>NUL]
915 !endif
916 !ifndefXWPLITE
917 !if[@md$(XWPRELEASE_MAIN)\toolkit\config2>NUL]
918 !endif
919 !endif
920 $(COPY)src\widgets\miniwdgt.c$(XWPRELEASE_MAIN)\toolkit
921 $(COPY)include\shared\center.h$(XWPRELEASE_MAIN)\toolkit\shared
922 $(COPY)include\shared\helppanels.h$(XWPRELEASE_MAIN)\toolkit\shared\helpids.h
923 !ifndefXWPLITE
924 $(COPY)include\config\drivdlgs.h$(XWPRELEASE_MAIN)\toolkit\config
925 !endif
926 @echo $(MAKEDIR)\makefile [$@]:Done copying files.
927 # now go shrink executables V0.9.13 (2001年06月17日) [umoeller]
928 !ifndefXWP_DEBUG
929 !ifdefLXLITEPATH
930 $(LXLITEPATH)\lxlite\
931 $(XWPRELEASE_MAIN)\bin\*.dll\
932 $(XWPRELEASE_MAIN)\bin\*.exe\
933 $(XWPRELEASE_NLS)\bin\*.dll
934 $(LXLITEPATH)\lxlite\
935 $(XWPRELEASE_MAIN)\plugins\xcenter\*.dll\
936 !endif
937 !endif
938
939 #
940 # Special target "release_nls": this is not called by "all",
941 # but must the set on the NMAKE command line.
942 #
943
944 release_nls:nls
945 !if[@md$(XWPRELEASE)2>NUL]
946 !endif
947 !if[@md$(XWPRELEASE_NLS)2>NUL]
948 !endif
949 !if[@md$(XWPRELEASE_NLSDOC)2>NUL]
950 !endif
951 @echo $(MAKEDIR)\makefile [$@]:Now copying files to $(XWPRELEASE)
952 @cd$(XWP_LANG_CODE)
953 $(MAKE)-nologorelease_nls"MAINMAKERUNNING=YES"
954 @cd..
955 $(COPY)$(MODULESDIR)\xfldr$(XWP_LANG_CODE).inf$(XWPRELEASE_NLSDOC)
956 $(COPY)$(MODULESDIR)\xfldr$(XWP_LANG_CODE).dll$(XWPRELEASE_NLS)\bin
957 !if[@md$(XWPRELEASE_NLS)\help2>NUL]
958 !endif
959 $(COPY)$(MODULESDIR)\xfldr$(XWP_LANG_CODE).tmf$(XWPRELEASE_NLS)\help
960 $(COPY)$(XWP_LANG_CODE)\misc\drvrs$(XWP_LANG_CODE).txt$(XWPRELEASE_NLS)\help
961 !ifndefXWPLITE
962 $(COPY)$(XWP_LANG_CODE)\misc\xfcls$(XWP_LANG_CODE).txt$(XWPRELEASE_NLS)\help
963 !endif
964 $(COPY)$(MODULESDIR)\xfldr$(XWP_LANG_CODE).hlp$(XWPRELEASE_NLS)\help
965 !if[@md$(XWPRELEASE_NLS)\install2>NUL]
966 !endif
967 !ifndefXWPLITE
968 $(COPY)$(XWP_LANG_CODE)\misc\crobj$(XWP_LANG_CODE).cmd$(XWPRELEASE_NLS)\install\crobj$(XWP_LANG_CODE).cmd
969 $(COPY)$(XWP_LANG_CODE)\misc\instl$(XWP_LANG_CODE).cmd$(XWPRELEASE_NLS)\install\instl$(XWP_LANG_CODE).cmd
970 $(COPY)$(XWP_LANG_CODE)\misc\sound$(XWP_LANG_CODE).cmd$(XWPRELEASE_NLS)\install
971 !else
972 $(COPY)$(XWP_LANG_CODE)\misc\crobj$(XWP_LANG_CODE)_lite.cmd$(XWPRELEASE_NLS)\install\crobj$(XWP_LANG_CODE).cmd
973 $(COPY)$(XWP_LANG_CODE)\misc\instl$(XWP_LANG_CODE)_lite.cmd$(XWPRELEASE_NLS)\install\instl$(XWP_LANG_CODE).cmd
974 !endif
975 @echo $(MAKEDIR)\makefile [$@]:Done copying files.
976 !ifdefLXLITEPATH
977 @echo $(MAKEDIR)\makefile [$@]:Now compacting files.
978 $(LXLITEPATH)\lxlite\
979 $(XWPRELEASE_NLS)\bin\*.dll
980 @echo $(MAKEDIR)\makefile [$@]:Done compacting files.
981 !endif
982
983 #
984 # Special target "wpi": this is not called by "all",
985 # but must be set on the NMAKE command line.
986 #
987
988 wpi:release
989 @echo$(MAKEDIR)\makefile[$@]:BuildingWPIfrom$(XWPRELEASE)\$(BLD_TYP)
990 makewpi.cmd$(XWPRELEASE)\$(BLD_TYP)$(XWP_LANG_CODE)
991
992 #
993 # Special target "wpi_nls": this is not called by "all",
994 # but must be set on the NMAKE command line.
995 #
996
997 wpi_nls:release_nls
998 @echo$(MAKEDIR)\makefile[$@]:BuildingNLSWPIfrom$(XWPRELEASE)\$(BLD_TYP)
999 @cd$(XWP_LANG_CODE)
1000 makewpi$(XWP_LANG_CODE).cmd$(XWPRELEASE)\$(BLD_TYP)
1001 @cd$(CURRENT_DIR)
1002
1003 clean:
1004 cleanup.cmdy$(BLD_TYP)$(XWP_LANG_CODE)
Note: See TracBrowser for help on using the repository browser.

AltStyle によって変換されたページ (->オリジナル) /