1 #!#############################################################################
3 #! Purpose: tmake template file from which makefile.b32 is generated by running
4 #! tmake -t b32 wxwin.pro
5 #! Author: Vadim Zeitlin
8 #!#############################################################################
11 #! include the code which parses filelist.txt file and initializes
12 #! %wxCommon, %wxGeneric and %wxMSW hashes.
13 IncludeTemplate("filelist.t");
15 #! now transform these hashes into $project tags
16 foreach $file (sort keys %wxUNIV) {
17 next if $wxUNIV{$file} =~ /\T\b/;
19 $file =~ s/cp?p?$/obj/;
20 $obj = "\$(UNIVDIR)\\" . $file . " ";
21 $project{"WXUNIVOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
24 foreach $file (sort keys %wxUNIV) {
25 next unless $wxUNIV{$file} =~ /\T\b/;
27 $file =~ s/cp?p?$/obj/;
28 $obj = "\$(UNIVTHEMEDIR)\\" . $file . " ";
29 $project{"WXUNIVTHEMEOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
32 foreach $file (sort keys %wxHTML) {
33 next if $wxHTML{$file} =~ /\b16\b/;
35 $file =~ s/cp?p?$/obj/;
36 $project{"WXHTMLOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
39 foreach $file (sort keys %wxCommon) {
40 next if $wxCommon{$file} =~ /\b(16|U)\b/;
42 $isCFile = $file =~ /\.c$/;
43 $file =~ s/cp?p?$/obj/;
44 $obj = "\$(OBJ_PATH)\\" . $file . " ";
45 $project{"WXCOMMONOBJS"} .= $obj;
46 $project{"WXCOBJS"} .= $obj if $isCFile;
49 #! MSW dir for native port
50 foreach $file (sort keys %wxMSW) {
51 next if $wxMSW{$file} =~ /\b16\b/;
53 $isCFile = $file =~ /\.c$/;
55 my $isOleObj = $wxMSW{$file} =~ /\bO\b/;
56 $file =~ s/cp?p?$/obj/;
57 my $obj = "\$(OBJ_PATH)\\" . $file . " ";
59 $project{"WXMSWOBJS"} .= $obj;
61 #! remember that this file is in ole subdir
62 $project{"WXOLEOBJS"} .= $obj;
64 $project{"WXCOBJS"} .= $obj if $isCFile;
67 #! Now do MSW dir for UNIV
68 foreach $file (sort keys %wxMSW) {
69 next unless $wxMSW{$file} =~ /\b(L|B)\b/;
71 $isCFile = $file =~ /\.c$/;
73 my $isOleObj = $wxMSW{$file} =~ /\bO\b/;
74 $file =~ s/cp?p?$/obj/;
75 my $obj = "\$(OBJ_PATH)\\" . $file . " ";
77 $project{"WXMSWUNIVOBJS"} .= $obj;
79 #! remember that this file is in ole subdir
80 $project{"WXOLEUNIVOBJS"} .= $obj;
82 $project{"WXCUNIVOBJS"} .= $obj if $isCFile;
85 #! Generic Dir for Native Port
86 foreach $file (sort keys %wxGeneric) {
88 next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
90 $file =~ s/cp?p?$/obj/;
91 $project{"WXGENERICOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
94 #! Generic Dir for UNIV Port
95 foreach $file (sort keys %wxGeneric) {
97 if ( $file =~ /^([^.]+)g.cpp$/ ) {
100 $file =~ s/cp?p?$/obj/;
101 $filereal =~ s/cp?p?$/obj/;
103 next if $project{"WXMSWUNIVOBJS"} =~ /\b$filereal\b/ ||
104 $project{"WXUNIVOBJS"} =~ /\b$filereal\b/;
107 $project{"WXGENERICUNIVOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
112 # This file was automatically generated by tmake
113 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
117 # Author: Julian Smart
124 # Makefile : Builds wxWindows library wx.lib for MS Windows,
125 # and Borland C++ (32-bit).
127 # BCCDIR now defined in ../makeb32.env
130 !error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
134 THISDIR = $(WXDIR)\src\msw
137 # Set all these to 1 if you want to build a dynamic library
143 !include $(WXDIR)\src\makeb32.env
145 # Please set these according to the settings in wx_setup.h, so we can include
146 # the appropriate libraries in wx.lib
153 !if "$(USE_CTL3D)" == "1"
154 #Use WIN32S/WIN95 32 bit version ctl3d32.dll under win95 (Andre Beltman)
155 PERIPH_LIBS=$(WXDIR)\lib\ctl3d32.lib $(PERIPH_LIBS)
156 PERIPH_TARGET=ctl3d $(PERIPH_TARGET)
157 PERIPH_CLEAN_TARGET=clean_ctl3d $(PERIPH_CLEAN_TARGET)
161 PERIPH_TARGET=zlib png jpeg tiff regex $(PERIPH_TARGET)
162 PERIPH_CLEAN_TARGET=clean_zlib clean_png clean_jpeg clean_tiff clean_regex $(PERIPH_CLEAN_TARGET)
168 LIBS= cw32mti import32 ole2w32 odbc32 zlib_$(DEBUG_SUFFIX) png_$(DEBUG_SUFFIX) jpeg_$(DEBUG_SUFFIX) tiff_$(DEBUG_SUFFIX) regex_$(DEBUG_SUFFIX)
178 UNIVTHEMEDIR=..\univ\themes
181 DOCDIR = $(WXDIR)\docs
183 GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
185 MSWOBJS = #$ ExpandList("WXMSWOBJS");
187 GENERICUNIVOBJS= #$ ExpandList("WXGENERICUNIVOBJS");
189 MSWUNIVOBJS = #$ ExpandList("WXMSWUNIVOBJS");
191 UNIVOBJS = #$ ExpandList("WXUNIVOBJS");
193 UNIVTHEMEOBJS = #$ ExpandList("WXUNIVTHEMEOBJS");
195 HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
198 #$ ExpandList("WXCOMMONOBJS");
200 !if "$(WXUSINGUNIV)" == "1"
201 OBJECTS = $(COMMONOBJS) $(GENERICUNIVOBJS) $(MSWUNIVOBJS) $(HTMLOBJS) $(UNIVOBJS) $(UNIVTHEMEOBJS)
203 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
208 wx: $(ARCHINCDIR)\wx makeoutdir makesetuph makearchsetuph $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
212 # Copy the in-CVS setup0.h to setup.h if necessary
214 cd $(WXDIR)\include\wx\msw
215 if not exist setup.h copy setup0.h setup.h
218 # Copy include\wx\msw\setup.h to the architecture-specific location
220 copy $(SETUPSRCDIR)\setup.h $(ARCHSETUPH)
228 -mkdir $(ARCHINCDIR)\wx
229 -if exist $(CFG) $(RM) $(CFG)
233 $(LIBTARGET): $(DUMMY).obj $(OBJECTS)
234 -if exist $(LIBTARGET) $(RM) $(LIBTARGET)
235 tlib "$(LIBTARGET)" /P1024 $(LINKDEBUGFLAGS) @&&!
236 +$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +)
241 $(LIBTARGET): $(DUMMY).obj $(OBJECTS)
244 $(LINK) $(LINK_FLAGS) $(LINKDEBUGFLAGS) /L$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk @&&!
248 $(PERIPH_LIBS) $(LIBS)
251 implib -c $(LIBTARGET) $(WXDLL)
254 dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
255 dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h version.res
258 brc32 -r -i$(WXDIR)\include\ $(MSWDIR)\version.rc
260 # $(OBJECTS): $(WXDIR)\include\wx\setup.h
262 !if "$(WXUSINGUNIV)" == "1"
263 ########################################################
264 # MSW objects (compile Native or UNIV) - UNIV
267 $_ = $project{"WXMSWUNIVOBJS"};
271 if ( $project{"WXOLEOBJS"} =~ /\Q$_/ ) { s/OBJ_PATH/OLEDIR/; }
272 $suffix = $project{"WXCUNIVOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
275 $text .= $_ . "\n\n";
281 ########################################################
282 # MSW objects (compile Native or UNIV) - Native
285 $_ = $project{"WXMSWOBJS"};
289 if ( $project{"WXOLEOBJS"} =~ /\Q$_/ ) { s/OBJ_PATH/OLEDIR/; }
290 $suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
293 $text .= $_ . "\n\n";
298 !if "$(WXUSINGUNIV)" == "1"
299 ########################################################
302 $_ = $project{"WXUNIVOBJS"};
308 $text .= $_ . "\n\n";
313 ########################################################
317 $_ = $project{"WXUNIVTHEMEOBJS"};
321 s/OBJ_PATH/UNIVTHEMEDIR/;
323 $text .= $_ . "\n\n";
329 ########################################################
330 # Common objects (always compiled)
333 $_ = $project{"WXCOMMONOBJS"};
337 $suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
340 $text .= $_ . "\n\n";
344 !if "$(WXUSINGUNIV)" == "1"
345 ########################################################
346 # Generic objects (not always compiled, depending on
347 # whether platforms have native implementations)
352 $_ = $project{"WXGENERICUNIVOBJS"};
358 $text .= $_ . "\n\n";
363 ########################################################
364 # Generic objects (not always compiled, depending on
365 # whether platforms have native implementations)
369 $_ = $project{"WXGENERICOBJS"};
375 $text .= $_ . "\n\n";
380 ########################################################
381 # HTML objects (always compiled)
384 $_ = $project{"WXHTMLOBJS"};
390 $text .= $_ . "\n\n";
397 ${MAKE} -f makefile.b32
402 ${MAKE} -f makefile.b32
407 ${MAKE} -f makefile.b32 all_execs
412 ${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
417 ${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
422 ${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
427 ${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
432 ${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
437 ${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
441 cd $(WXDIR)\src\regex
442 ${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
446 cd $(WXDIR)\src\regex
447 ${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
452 ${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
457 ${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
463 -H=$(OBJ_PATH)\wx32.csm
471 -w-hid # virtual function A hides virtual function B
474 -I$(ARCHINCDIR);$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff
475 -I$(WXDIR)\include\wx\msw\gnuwin32
477 -L$(BCCDIR)\lib;$(BCCDIR)\lib\psdk
488 -if exist $(OBJ_PATH)\*.cfg $(RM) $(OBJ_PATH)\*.cfg
490 clean: $(PERIPH_CLEAN_TARGET)
491 -if exist $(WXLIBDIR)\wx.il? $(RM) $(WXLIBDIR)\wx.tds
492 -if exist $(WXLIBDIR)\wx.il? $(RM) $(WXLIBDIR)\wx.il?
493 -if exist $(OBJ_PATH)\*.obj $(RM) $(OBJ_PATH)\*.obj
494 -if exist $(OBJ_PATH)\*.csm $(RM) $(OBJ_PATH)\*.csm
495 -if exist "$(OBJ_PATH)\wx32.#??" $(RM) "$(OBJ_PATH)\wx32.#??"
496 -if exist *.pch $(RM) *.pch
497 -if exist *.csm $(RM) *.csm
498 -if exist *.obj $(RM) *.obj
499 -if exist "wx32.#??" $(RM) "wx32.#??"
501 cleanall: clean cleancfg
505 docs: allhlp allhtml allpdfrtf
507 hlp: wxhlp portinghlp
508 wxhlp: $(DOCDIR)/winhelp/wx.hlp
509 refhlp: $(DOCDIR)/winhelp/techref.hlp
510 rtf: $(DOCDIR)/winhelp/wx.rtf
511 pdfrtf: $(DOCDIR)/pdf/wx.rtf
512 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
513 html: wxhtml portinghtml
514 wxhtml: $(DOCDIR)\html\wx\wx.htm
515 htmlhelp: $(DOCDIR)\html\wx\wx.chm
517 wxps: $(WXDIR)\docs\ps\wx.ps
518 referencps: $(WXDIR)\docs\ps\referenc.ps
520 portinghtml: $(DOCDIR)\html\porting\port.htm
521 portingrtf: $(DOCDIR)/winhelp/porting.rtf
522 portinghlp: $(DOCDIR)/winhelp/porting.hlp
523 portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
524 portingps: $(WXDIR)\docs\ps\porting.ps
526 allhlp: wxhlp portinghlp
527 cd $(WXDIR)\utils\dialoged\src
528 ${MAKE} -f makefile.b32 hlp
531 # cd $(WXDIR)\utils\wxhelp\src
532 # ${MAKE} -f makefile.b32 hlp
533 # cd $(WXDIR)\utils\tex2rtf\src
534 # ${MAKE} -f makefile.b32 hlp
535 # cd $(WXDIR)\utils\wxgraph\src
536 # ${MAKE} -f makefile.b32 hlp
537 # cd $(WXDIR)\utils\wxchart\src
538 # ${MAKE} -f makefile.b32 hlp
539 # cd $(WXDIR)\utils\wxtree\src
540 # ${MAKE} -f makefile.b32 hlp
541 # cd $(WXDIR)\utils\wxbuild\src
542 # ${MAKE} -f makefile.b32 hlp
543 # cd $(WXDIR)\utils\wxgrid\src
544 # ${MAKE} -f makefile.b32 hlp
546 allhtml: wxhtml portinghtml
547 cd $(WXDIR)\utils\dialoged\src
548 ${MAKE} -f makefile.b32 html
551 # ${MAKE} -f makefile.b32 html
552 # cd $(WXDIR)\utils\dialoged\src
553 # ${MAKE} -f makefile.b32 html
554 # cd $(WXDIR)\utils\hytext\src
555 # ${MAKE} -f makefile.b32 html
556 # cd $(WXDIR)\utils\wxhelp\src
557 # ${MAKE} -f makefile.b32 html
558 # cd $(WXDIR)\utils\tex2rtf\src
559 # ${MAKE} -f makefile.b32 html
560 # cd $(WXDIR)\utils\wxgraph\src
561 # ${MAKE} -f makefile.b32 html
562 # cd $(WXDIR)\utils\wxchart\src
563 # ${MAKE} -f makefile.b32 html
564 # cd $(WXDIR)\utils\wxtree\src
565 # ${MAKE} -f makefile.b32 html
567 allps: wxps referencps portingps
568 cd $(WXDIR)\utils\dialoged\src
569 ${MAKE} -f makefile.b32 ps
572 allpdfrtf: pdfrtf portingpdfrtf
573 cd $(WXDIR)\utils\dialoged\src
574 ${MAKE} -f makefile.b32 pdfrtf
577 # cd $(WXDIR)\utils\wxhelp\src
578 # ${MAKE} -f makefile.b32 ps
579 # cd $(WXDIR)\utils\tex2rtf\src
580 # ${MAKE} -f makefile.b32 ps
581 # cd $(WXDIR)\utils\wxgraph\src
582 # ${MAKE} -f makefile.b32 ps
583 # cd $(WXDIR)\utils\wxchart\src
584 # ${MAKE} -f makefile.b32 ps
585 # cd $(WXDIR)\utils\wxtree\src
586 # ${MAKE} -f makefile.b32 ps
589 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
590 cd $(DOCDIR)/latex/wx
591 -if exist wx.ph $(RM) wx.ph
593 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
594 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
597 $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
598 cd $(DOCDIR)/latex/porting
599 -if exist porting.ph $(RM) porting.ph
601 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
602 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
605 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
606 cd $(DOCDIR)/latex/techref
607 -if exist techref.ph $(RM) techref.ph
609 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
610 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
613 $(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
614 cd $(DOCDIR)\latex\wx
615 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
618 $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
619 cd $(DOCDIR)\latex\porting
620 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
623 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
624 cd $(DOCDIR)\latex\techref
625 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
628 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
629 cd $(DOCDIR)\latex\wx
630 -copy *.wmf $(DOCDIR)\pdf
631 -copy *.bmp $(DOCDIR)\pdf
632 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
635 $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
636 cd $(DOCDIR)\latex\porting
637 -copy *.wmf $(DOCDIR)\pdf
638 -copy *.bmp $(DOCDIR)\pdf
639 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
642 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
643 cd $(DOCDIR)\latex\techref
644 -copy *.wmf $(DOCDIR)\pdf
645 -copy *.bmp $(DOCDIR)\pdf
646 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
649 $(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex
650 cd $(DOCDIR)\latex\wx
651 -mkdir $(DOCDIR)\html\wx
652 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
653 -if exist $(DOCDIR)\html\wx\*.con $(RM) $(DOCDIR)\html\wx\*.con
654 -if exist $(DOCDIR)\html\wx\*.ref $(RM) $(DOCDIR)\html\wx\*.ref
655 -if exist $(DOCDIR)\latex\wx\*.con $(RM) $(DOCDIR)\latex\wx\*.con
656 -if exist $(DOCDIR)\latex\wx\*.ref $(RM) $(DOCDIR)\latex\wx\*.ref
659 $(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
665 $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
666 cd $(DOCDIR)\latex\porting
667 -mkdir $(DOCDIR)\html\porting
668 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
669 -if exist $(DOCDIR)\html\porting\*.con $(RM) $(DOCDIR)\html\porting\*.con
670 -if exist $(DOCDIR)\html\porting\*.ref $(RM) $(DOCDIR)\html\porting\*.ref
671 -if exist $(DOCDIR)\latex\porting\*.con $(RM) $(DOCDIR)\latex\porting\*.con
672 -if exist $(DOCDIR)\latex\porting\*.ref $(RM) $(DOCDIR)\latex\porting\*.ref
675 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
676 cd $(WXDIR)\docs\latex\wx
685 $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
686 cd $(WXDIR)\docs\latex\porting
695 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
696 cd $(WXDIR)\docs\latex\wx
697 -dvips32 -o wx.ps manual
698 move wx.ps $(WXDIR)\docs\ps\wx.ps
701 $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
702 cd $(WXDIR)\docs\latex\porting
703 -dvips32 -o porting.ps porting
704 move porting.ps $(WXDIR)\docs\ps\porting.ps
707 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
708 cd $(WXDIR)\docs\latex\wx
717 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
718 cd $(WXDIR)\docs\latex\wx
719 -dvips32 -o referenc.ps referenc
720 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
723 # In order to force document reprocessing
725 -touch $(WXDIR)\docs\latex\wx\manual.tex
727 updatedocs: touchmanual alldocs
729 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
730 # Office StartUp folder, and PDFMaker should be installed.
731 updatepdf: # touchmanual pdfrtf
732 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
736 # Can't use this or we'll have to distribute all tmake files with wxWindows
737 # makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
741 @echo Error in Environment!
742 @echo Please set TM in the environment to the directory containing tmake binaries
743 @echo eg set TM=c:\wx\tmake\bin
745 cd $(WXWIN)\distrib\msw\tmake
746 perl $(TM)\tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
747 copy makefile.$(MFTYPE) $(WXWIN)\src\msw