]> git.saurik.com Git - wxWidgets.git/blame - utils/dialoged/src/makefile.nt
several fixes
[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
JS
28OBJECTS = dialoged.obj reseditr.obj dlghndlr.obj reswrite.obj\
29 winprop.obj edtree.obj edlist.obj symbtabl.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
91$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
92 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
93
94wxprop:
95 cd $(PROPDIR)\src
96 nmake -f makefile.nt FINAL=$(FINAL)
97 cd $(THISDIR)
98
99clean_wxprop:
100 cd $(PROPDIR)\src
101 nmake -f makefile.nt clean
102 cd $(THISDIR)
103
104clean:
105 -erase *.obj
106 -erase *.sbr
107 -erase *.exe
108 -erase *.res
109 -erase *.map
110 -erase *.pdb
111
112cleanutils: clean clean_wxprop
113
114DOCSOURCES=$(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\body.tex\
115 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
116 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\tech.tex
117
118html: $(DOCDIR)\html\dialoged\dlged.htm
119hlp: $(DOCDIR)\winhelp\dialoged.hlp
120pdfrtf: $(DOCDIR)\pdf\dialoged.rtf
121ps: $(DOCDIR)\ps\dialoged.ps
122
123$(DOCDIR)\winhelp\dialoged.hlp: $(LOCALDOCDIR)\dialoged.rtf $(LOCALDOCDIR)\dialoged.hpj
124 cd $(LOCALDOCDIR)
125 -erase dialoged.ph
126 hc dialoged
127 move dialoged.hlp $(DOCDIR)\winhelp\dialoged.hlp
128 move dialoged.cnt $(DOCDIR)\winhelp\dialoged.cnt
129 cd $(THISDIR)
130
131$(LOCALDOCDIR)\dialoged.rtf: $(DOCSOURCES)
132 cd $(LOCALDOCDIR)
133 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\dialoged.rtf -twice -winhelp
134 cd $(THISDIR)
135
136$(DOCDIR)\pdf\dialoged.rtf: $(DOCSOURCES)
137 cd $(LOCALDOCDIR)
138 -copy *.bmp *.wmf $(DOCDIR)\pdf
139 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\pdf\dialoged.rtf -twice -rtf
140 cd $(THISDIR)
141
142$(DOCDIR)\html\dialoged\dlged.htm: $(DOCSOURCES)
143 cd $(LOCALDOCDIR)
144 -mkdir $(DOCDIR)\html\dialoged
145 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\html\dialoged\dlged.htm -twice -html
146 -erase $(DOCDIR)\html\dialoged\*.con
147 -erase $(DOCDIR)\html\dialoged\*.ref
148 cd $(THISDIR)
149
150$(LOCALDOCDIR)\dialoged.dvi: $(DOCSOURCES)
151 cd $(LOCALDOCDIR)
152 -latex dialoged
153 -latex dialoged
154 -makeindx dialoged
155 -bibtex dialoged
156 -latex dialoged
157 -latex dialoged
158 cd $(THISDIR)
159
160$(WXDIR)\docs\ps\dialoged.ps: $(LOCALDOCDIR)\dialoged.dvi
161 cd $(LOCALDOCDIR)
162 -dvips32 -o dialoged.ps dialoged
163 move dialoged.ps $(WXDIR)\docs\ps\dialoged.ps
164 cd $(THISDIR)
165
166