]> git.saurik.com Git - wxWidgets.git/blame - utils/dialoged/src/makefile.nt
wxUSE_IOSTREAMH changes
[wxWidgets.git] / utils / dialoged / src / makefile.nt
CommitLineData
457814b5
JS
1#
2# File: makefile.nt
3# Author: Julian Smart
4# Created: 1993
5# Updated:
6# Copyright: (c) 1993, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
10# Makefile : Builds wxProperty classes library (MS VC++).
11# Use FINAL=1 argument to nmake to build final version with no debugging
12# info
13
14# Set WXDIR for your system
15WXDIR = $(WXWIN)
16THISDIR = $(WXDIR)\utils\dialoged\src
17PROPDIR = $(WXDIR)\utils\wxprop
18PROPLIB=$(PROPDIR)\lib\wxprop.lib
19EXTRALIBS=$(PROPDIR)\lib\wxprop.lib
20EXTRAINC=/I$(PROPDIR)\src
21DOCDIR=$(WXDIR)\docs
22LOCALDOCDIR=$(WXDIR)\utils\dialoged\docs
23
24!include $(WXDIR)\src\ntwxwin.mak
25
26PROGRAM=dialoged
27
03f68f12 28OBJECTS = dialoged.obj reseditr.obj dlghndlr.obj reswrite.obj\
bbcdf8bc 29 winprop.obj edtree.obj edlist.obj symbtabl.obj winstyle.obj
457814b5
JS
30
31all: wxprop dialoged.exe
32
33wx:
34 cd $(WXDIR)\src\msw
35 nmake -f makefile.nt FINAL=$(FINAL)
36 cd $(THISDIR)
37
38wxclean:
39 cd $(WXDIR)\src\msw
40 nmake -f makefile.nt clean
41 cd $(THISDIR)
42
43$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROPLIB) $(PROGRAM).res
44 $(link) @<<
45-out:$(PROGRAM).exe
46$(LINKFLAGS)
47$(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
48$(LIBS)
49<<
50
03f68f12 51dialoged.obj: winprop.h reseditr.h dialoged.$(SRCSUFF) $(DUMMYOBJ)
457814b5
JS
52 $(cc) @<<
53$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
54<<
55
03f68f12 56winprop.obj: winprop.h reseditr.h winprop.$(SRCSUFF) $(DUMMYOBJ)
457814b5
JS
57 $(cc) @<<
58$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
59<<
60
03f68f12 61reswrite.obj: winprop.h reseditr.h reswrite.$(SRCSUFF) $(DUMMYOBJ)
457814b5
JS
62 $(cc) @<<
63$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
64<<
65
03f68f12 66reseditr.obj: winprop.h reseditr.h reseditr.$(SRCSUFF) $(DUMMYOBJ)
457814b5
JS
67 $(cc) @<<
68$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
69<<
70
03f68f12 71edtree.obj: winprop.h reseditr.h edtree.h edtree.$(SRCSUFF) $(DUMMYOBJ)
457814b5
JS
72 $(cc) @<<
73$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
74<<
75
03f68f12 76edlist.obj: winprop.h reseditr.h edlist.h edlist.$(SRCSUFF) $(DUMMYOBJ)
ae8351fc
JS
77 $(cc) @<<
78$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
79<<
80
03f68f12 81dlghndlr.obj: winprop.h reseditr.h dlghndlr.$(SRCSUFF) $(DUMMYOBJ)
ae8351fc
JS
82 $(cc) @<<
83$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
84<<
85
03f68f12 86symbtabl.obj: symbtabl.h symbtabl.$(SRCSUFF) $(DUMMYOBJ)
457814b5
JS
87 $(cc) @<<
88$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
89<<
90
bbcdf8bc
JS
91winstyle.obj: winstyle.h winstyle.$(SRCSUFF) $(DUMMYOBJ)
92 $(cc) @<<
93$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
94<<
95
457814b5
JS
96$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
97 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
98
99wxprop:
100 cd $(PROPDIR)\src
101 nmake -f makefile.nt FINAL=$(FINAL)
102 cd $(THISDIR)
103
104clean_wxprop:
105 cd $(PROPDIR)\src
106 nmake -f makefile.nt clean
107 cd $(THISDIR)
108
109clean:
110 -erase *.obj
111 -erase *.sbr
112 -erase *.exe
113 -erase *.res
114 -erase *.map
115 -erase *.pdb
116
117cleanutils: clean clean_wxprop
118
119DOCSOURCES=$(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\body.tex\
120 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
121 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\tech.tex
122
123html: $(DOCDIR)\html\dialoged\dlged.htm
124hlp: $(DOCDIR)\winhelp\dialoged.hlp
125pdfrtf: $(DOCDIR)\pdf\dialoged.rtf
126ps: $(DOCDIR)\ps\dialoged.ps
127
128$(DOCDIR)\winhelp\dialoged.hlp: $(LOCALDOCDIR)\dialoged.rtf $(LOCALDOCDIR)\dialoged.hpj
129 cd $(LOCALDOCDIR)
130 -erase dialoged.ph
131 hc dialoged
132 move dialoged.hlp $(DOCDIR)\winhelp\dialoged.hlp
133 move dialoged.cnt $(DOCDIR)\winhelp\dialoged.cnt
134 cd $(THISDIR)
135
136$(LOCALDOCDIR)\dialoged.rtf: $(DOCSOURCES)
137 cd $(LOCALDOCDIR)
138 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\dialoged.rtf -twice -winhelp
139 cd $(THISDIR)
140
141$(DOCDIR)\pdf\dialoged.rtf: $(DOCSOURCES)
142 cd $(LOCALDOCDIR)
143 -copy *.bmp *.wmf $(DOCDIR)\pdf
144 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\pdf\dialoged.rtf -twice -rtf
145 cd $(THISDIR)
146
147$(DOCDIR)\html\dialoged\dlged.htm: $(DOCSOURCES)
148 cd $(LOCALDOCDIR)
149 -mkdir $(DOCDIR)\html\dialoged
150 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\html\dialoged\dlged.htm -twice -html
151 -erase $(DOCDIR)\html\dialoged\*.con
152 -erase $(DOCDIR)\html\dialoged\*.ref
153 cd $(THISDIR)
154
155$(LOCALDOCDIR)\dialoged.dvi: $(DOCSOURCES)
156 cd $(LOCALDOCDIR)
157 -latex dialoged
158 -latex dialoged
159 -makeindx dialoged
160 -bibtex dialoged
161 -latex dialoged
162 -latex dialoged
163 cd $(THISDIR)
164
165$(WXDIR)\docs\ps\dialoged.ps: $(LOCALDOCDIR)\dialoged.dvi
166 cd $(LOCALDOCDIR)
167 -dvips32 -o dialoged.ps dialoged
168 move dialoged.ps $(WXDIR)\docs\ps\dialoged.ps
169 cd $(THISDIR)
170
171