]> git.saurik.com Git - wxWidgets.git/blame - utils/dialoged/src/makefile.vc
wxListCtrlCompare typedef now is defined correctly (was missing CALLBACK)
[wxWidgets.git] / utils / dialoged / src / makefile.vc
CommitLineData
457814b5 1#
48d1144b 2# File: makefile.vc
457814b5
JS
3# Author: Julian Smart
4# Created: 1993
5# Updated:
48d1144b 6# Copyright: (c) 1993-1999 Julian Smart
457814b5
JS
7#
8# "%W% %G%"
9#
48d1144b 10# Makefile : Builds Dialog Editor (MS VC++).
457814b5
JS
11# Use FINAL=1 argument to nmake to build final version with no debugging
12# info
13
750b78ba
JS
14
15# N.B. This makefiles uses CPPFLAGS2 to disable precompiled headers so we
16# can override optimization, which is necessary for correct behaviour under
17# VC++ 5 (otherwise deleting an object causes a crash).
18
457814b5
JS
19# Set WXDIR for your system
20WXDIR = $(WXWIN)
21THISDIR = $(WXDIR)\utils\dialoged\src
457814b5
JS
22DOCDIR=$(WXDIR)\docs
23LOCALDOCDIR=$(WXDIR)\utils\dialoged\docs
24
750b78ba
JS
25OVERRIDEFLAGS=/Od
26
457814b5
JS
27PROGRAM=dialoged
28
03f68f12 29OBJECTS = dialoged.obj reseditr.obj dlghndlr.obj reswrite.obj\
bbcdf8bc 30 winprop.obj edtree.obj edlist.obj symbtabl.obj winstyle.obj
457814b5 31
48d1144b 32!include $(WXDIR)\src\makeprog.vc
457814b5 33
457814b5 34
48d1144b 35all: dialoged.exe
457814b5 36
03f68f12 37dialoged.obj: winprop.h reseditr.h dialoged.$(SRCSUFF) $(DUMMYOBJ)
457814b5 38 $(cc) @<<
750b78ba 39$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
457814b5
JS
40<<
41
03f68f12 42winprop.obj: winprop.h reseditr.h winprop.$(SRCSUFF) $(DUMMYOBJ)
457814b5 43 $(cc) @<<
750b78ba 44$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
457814b5
JS
45<<
46
03f68f12 47reswrite.obj: winprop.h reseditr.h reswrite.$(SRCSUFF) $(DUMMYOBJ)
457814b5 48 $(cc) @<<
750b78ba 49$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
457814b5
JS
50<<
51
03f68f12 52reseditr.obj: winprop.h reseditr.h reseditr.$(SRCSUFF) $(DUMMYOBJ)
457814b5 53 $(cc) @<<
750b78ba 54$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
457814b5
JS
55<<
56
03f68f12 57edtree.obj: winprop.h reseditr.h edtree.h edtree.$(SRCSUFF) $(DUMMYOBJ)
457814b5 58 $(cc) @<<
750b78ba 59$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
457814b5
JS
60<<
61
03f68f12 62edlist.obj: winprop.h reseditr.h edlist.h edlist.$(SRCSUFF) $(DUMMYOBJ)
ae8351fc 63 $(cc) @<<
750b78ba 64$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
ae8351fc
JS
65<<
66
03f68f12 67dlghndlr.obj: winprop.h reseditr.h dlghndlr.$(SRCSUFF) $(DUMMYOBJ)
ae8351fc 68 $(cc) @<<
750b78ba 69$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
ae8351fc
JS
70<<
71
03f68f12 72symbtabl.obj: symbtabl.h symbtabl.$(SRCSUFF) $(DUMMYOBJ)
457814b5 73 $(cc) @<<
750b78ba 74$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
457814b5
JS
75<<
76
bbcdf8bc
JS
77winstyle.obj: winstyle.h winstyle.$(SRCSUFF) $(DUMMYOBJ)
78 $(cc) @<<
750b78ba 79$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
bbcdf8bc
JS
80<<
81
457814b5
JS
82DOCSOURCES=$(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\body.tex\
83 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
84 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\tech.tex
85
86html: $(DOCDIR)\html\dialoged\dlged.htm
87hlp: $(DOCDIR)\winhelp\dialoged.hlp
88pdfrtf: $(DOCDIR)\pdf\dialoged.rtf
89ps: $(DOCDIR)\ps\dialoged.ps
90
91$(DOCDIR)\winhelp\dialoged.hlp: $(LOCALDOCDIR)\dialoged.rtf $(LOCALDOCDIR)\dialoged.hpj
92 cd $(LOCALDOCDIR)
93 -erase dialoged.ph
94 hc dialoged
95 move dialoged.hlp $(DOCDIR)\winhelp\dialoged.hlp
96 move dialoged.cnt $(DOCDIR)\winhelp\dialoged.cnt
97 cd $(THISDIR)
98
99$(LOCALDOCDIR)\dialoged.rtf: $(DOCSOURCES)
100 cd $(LOCALDOCDIR)
101 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\dialoged.rtf -twice -winhelp
102 cd $(THISDIR)
103
104$(DOCDIR)\pdf\dialoged.rtf: $(DOCSOURCES)
105 cd $(LOCALDOCDIR)
106 -copy *.bmp *.wmf $(DOCDIR)\pdf
107 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\pdf\dialoged.rtf -twice -rtf
108 cd $(THISDIR)
109
110$(DOCDIR)\html\dialoged\dlged.htm: $(DOCSOURCES)
111 cd $(LOCALDOCDIR)
112 -mkdir $(DOCDIR)\html\dialoged
113 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\html\dialoged\dlged.htm -twice -html
114 -erase $(DOCDIR)\html\dialoged\*.con
115 -erase $(DOCDIR)\html\dialoged\*.ref
116 cd $(THISDIR)
117
118$(LOCALDOCDIR)\dialoged.dvi: $(DOCSOURCES)
119 cd $(LOCALDOCDIR)
120 -latex dialoged
121 -latex dialoged
122 -makeindx dialoged
123 -bibtex dialoged
124 -latex dialoged
125 -latex dialoged
126 cd $(THISDIR)
127
128$(WXDIR)\docs\ps\dialoged.ps: $(LOCALDOCDIR)\dialoged.dvi
129 cd $(LOCALDOCDIR)
130 -dvips32 -o dialoged.ps dialoged
131 move dialoged.ps $(WXDIR)\docs\ps\dialoged.ps
132 cd $(THISDIR)
133
134