]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/dialoged/src/makefile.nt
*** empty log message ***
[wxWidgets.git] / utils / dialoged / src / makefile.nt
... / ...
CommitLineData
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
28OBJECTS = dialoged.obj editrpal.obj reseditr.obj dlghndlr.obj reswrite.obj winprop.obj
29
30all: wxprop dialoged.exe
31
32wx:
33 cd $(WXDIR)\src\msw
34 nmake -f makefile.nt FINAL=$(FINAL)
35 cd $(THISDIR)
36
37wxclean:
38 cd $(WXDIR)\src\msw
39 nmake -f makefile.nt clean
40 cd $(THISDIR)
41
42$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROPLIB) $(PROGRAM).res
43 $(link) @<<
44-out:$(PROGRAM).exe
45$(LINKFLAGS)
46$(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
47$(LIBS)
48<<
49
50dialoged.obj: winprop.h reseditr.h editrpal.h dialoged.$(SRCSUFF) $(DUMMYOBJ)
51 $(cc) @<<
52$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
53<<
54
55winprop.obj: winprop.h reseditr.h editrpal.h winprop.$(SRCSUFF) $(DUMMYOBJ)
56 $(cc) @<<
57$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
58<<
59
60editrpal.obj: winprop.h reseditr.h editrpal.h editrpal.$(SRCSUFF) $(DUMMYOBJ)
61 $(cc) @<<
62$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
63<<
64
65reswrite.obj: winprop.h reseditr.h editrpal.h reswrite.$(SRCSUFF) $(DUMMYOBJ)
66 $(cc) @<<
67$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
68<<
69
70reseditr.obj: winprop.h reseditr.h editrpal.h reseditr.$(SRCSUFF) $(DUMMYOBJ)
71 $(cc) @<<
72$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
73<<
74
75dlghndlr.obj: winprop.h reseditr.h editrpal.h dlghndlr.$(SRCSUFF) $(DUMMYOBJ)
76 $(cc) @<<
77$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
78<<
79
80$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
81 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
82
83wxprop:
84 cd $(PROPDIR)\src
85 nmake -f makefile.nt FINAL=$(FINAL)
86 cd $(THISDIR)
87
88clean_wxprop:
89 cd $(PROPDIR)\src
90 nmake -f makefile.nt clean
91 cd $(THISDIR)
92
93clean:
94 -erase *.obj
95 -erase *.sbr
96 -erase *.exe
97 -erase *.res
98 -erase *.map
99 -erase *.pdb
100
101cleanutils: clean clean_wxprop
102
103DOCSOURCES=$(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\body.tex\
104 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
105 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\tech.tex
106
107html: $(DOCDIR)\html\dialoged\dlged.htm
108hlp: $(DOCDIR)\winhelp\dialoged.hlp
109pdfrtf: $(DOCDIR)\pdf\dialoged.rtf
110ps: $(DOCDIR)\ps\dialoged.ps
111
112$(DOCDIR)\winhelp\dialoged.hlp: $(LOCALDOCDIR)\dialoged.rtf $(LOCALDOCDIR)\dialoged.hpj
113 cd $(LOCALDOCDIR)
114 -erase dialoged.ph
115 hc dialoged
116 move dialoged.hlp $(DOCDIR)\winhelp\dialoged.hlp
117 move dialoged.cnt $(DOCDIR)\winhelp\dialoged.cnt
118 cd $(THISDIR)
119
120$(LOCALDOCDIR)\dialoged.rtf: $(DOCSOURCES)
121 cd $(LOCALDOCDIR)
122 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\dialoged.rtf -twice -winhelp
123 cd $(THISDIR)
124
125$(DOCDIR)\pdf\dialoged.rtf: $(DOCSOURCES)
126 cd $(LOCALDOCDIR)
127 -copy *.bmp *.wmf $(DOCDIR)\pdf
128 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\pdf\dialoged.rtf -twice -rtf
129 cd $(THISDIR)
130
131$(DOCDIR)\html\dialoged\dlged.htm: $(DOCSOURCES)
132 cd $(LOCALDOCDIR)
133 -mkdir $(DOCDIR)\html\dialoged
134 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\html\dialoged\dlged.htm -twice -html
135 -erase $(DOCDIR)\html\dialoged\*.con
136 -erase $(DOCDIR)\html\dialoged\*.ref
137 cd $(THISDIR)
138
139$(LOCALDOCDIR)\dialoged.dvi: $(DOCSOURCES)
140 cd $(LOCALDOCDIR)
141 -latex dialoged
142 -latex dialoged
143 -makeindx dialoged
144 -bibtex dialoged
145 -latex dialoged
146 -latex dialoged
147 cd $(THISDIR)
148
149$(WXDIR)\docs\ps\dialoged.ps: $(LOCALDOCDIR)\dialoged.dvi
150 cd $(LOCALDOCDIR)
151 -dvips32 -o dialoged.ps dialoged
152 move dialoged.ps $(WXDIR)\docs\ps\dialoged.ps
153 cd $(THISDIR)
154
155