]>
Commit | Line | Data |
---|---|---|
1 | # Symantec C++ makefile for the msw objects | |
2 | # called from src\makefile.sc | |
3 | ||
4 | # configuration section (see src\makefile.sc) ########################### | |
5 | ||
6 | WXDIR = $(WXWIN) | |
7 | ||
8 | include ..\makesc.env | |
9 | ||
10 | DEBUG=0 | |
11 | ||
12 | LIBTARGET = $(LIBDIR)\wx.lib | |
13 | ||
14 | OPTIONS= | |
15 | ||
16 | # end of configuration section ########################################## | |
17 | ||
18 | GENDIR=$(WXDIR)\src\generic | |
19 | COMMDIR=$(WXDIR)\src\common | |
20 | XPMDIR=$(WXDIR)\src\xpm | |
21 | OLEDIR=ole | |
22 | MSWDIR=$(WXDIR)\src\msw | |
23 | ||
24 | GENERICOBJS= \ | |
25 | $(GENDIR)\choicdgg.obj \ | |
26 | $(GENDIR)\gridg.obj \ | |
27 | $(GENDIR)\laywin.obj \ | |
28 | $(GENDIR)\panelg.obj \ | |
29 | $(GENDIR)\prop.obj \ | |
30 | $(GENDIR)\propform.obj \ | |
31 | $(GENDIR)\proplist.obj \ | |
32 | $(GENDIR)\sashwin.obj \ | |
33 | $(GENDIR)\scrolwin.obj \ | |
34 | $(GENDIR)\splitter.obj \ | |
35 | $(GENDIR)\statusbr.obj \ | |
36 | $(GENDIR)\tabg.obj \ | |
37 | $(GENDIR)\textdlgg.obj | |
38 | ||
39 | # $(GENDIR)\imaglist.obj \ | |
40 | # $(GENDIR)\treectrl.obj \ | |
41 | # $(GENDIR)\listctrl.obj \ | |
42 | # $(GENDIR)\notebook.obj \ | |
43 | ||
44 | # These are generic things that don't need to be compiled on MSW, | |
45 | # but sometimes it's useful to do so for testing purposes. | |
46 | NONESSENTIALOBJS= \ | |
47 | $(GENDIR)\printps.obj \ | |
48 | $(GENDIR)\prntdlgg.obj \ | |
49 | $(GENDIR)\msgdlgg.obj \ | |
50 | $(GENDIR)\helpxlp.obj \ | |
51 | $(GENDIR)\colrdlgg.obj \ | |
52 | $(GENDIR)\fontdlgg.obj | |
53 | ||
54 | COMMONOBJS = \ | |
55 | $(COMMDIR)\cmndata.obj \ | |
56 | $(COMMDIR)\config.obj \ | |
57 | $(COMMDIR)\docview.obj \ | |
58 | $(COMMDIR)\docmdi.obj \ | |
59 | $(COMMDIR)\dynarray.obj \ | |
60 | $(COMMDIR)\dynlib.obj \ | |
61 | $(COMMDIR)\event.obj \ | |
62 | $(COMMDIR)\file.obj \ | |
63 | $(COMMDIR)\filefn.obj \ | |
64 | $(COMMDIR)\fileconf.obj \ | |
65 | $(COMMDIR)\framecmn.obj \ | |
66 | $(COMMDIR)\gdicmn.obj \ | |
67 | $(COMMDIR)\image.obj \ | |
68 | $(COMMDIR)\intl.obj \ | |
69 | $(COMMDIR)\ipcbase.obj \ | |
70 | $(COMMDIR)\helpbase.obj \ | |
71 | $(COMMDIR)\layout.obj \ | |
72 | $(COMMDIR)\log.obj \ | |
73 | $(COMMDIR)\memory.obj \ | |
74 | $(COMMDIR)\mimetype.obj \ | |
75 | $(COMMDIR)\module.obj \ | |
76 | $(COMMDIR)\object.obj \ | |
77 | $(COMMDIR)\prntbase.obj \ | |
78 | $(COMMDIR)\resource.obj \ | |
79 | $(COMMDIR)\resourc2.obj \ | |
80 | $(COMMDIR)\tbarbase.obj \ | |
81 | $(COMMDIR)\tbarsmpl.obj \ | |
82 | $(COMMDIR)\textfile.obj \ | |
83 | $(COMMDIR)\timercmn.obj \ | |
84 | $(COMMDIR)\utilscmn.obj \ | |
85 | $(COMMDIR)\validate.obj \ | |
86 | $(COMMDIR)\valgen.obj \ | |
87 | $(COMMDIR)\valtext.obj \ | |
88 | $(COMMDIR)\date.obj \ | |
89 | $(COMMDIR)\hash.obj \ | |
90 | $(COMMDIR)\list.obj \ | |
91 | $(COMMDIR)\paper.obj \ | |
92 | $(COMMDIR)\string.obj \ | |
93 | $(COMMDIR)\time.obj \ | |
94 | $(COMMDIR)\tokenzr.obj \ | |
95 | $(COMMDIR)\wxexpr.obj \ | |
96 | $(COMMDIR)\y_tab.obj \ | |
97 | $(COMMDIR)\extended.obj \ | |
98 | $(COMMDIR)\process.obj \ | |
99 | $(COMMDIR)\wfstream.obj \ | |
100 | $(COMMDIR)\mstream.obj \ | |
101 | $(COMMDIR)\zstream.obj \ | |
102 | $(COMMDIR)\stream.obj \ | |
103 | $(COMMDIR)\datstrm.obj \ | |
104 | $(COMMDIR)\objstrm.obj \ | |
105 | $(COMMDIR)\variant.obj \ | |
106 | $(COMMDIR)\wincmn.obj | |
107 | ||
108 | # Don't compile for WIN16 | |
109 | # $(COMMDIR)\socket.obj \ | |
110 | # $(COMMDIR)\sckaddr.obj \ | |
111 | # $(COMMDIR)\sckfile.obj \ | |
112 | # $(COMMDIR)\sckipc.obj \ | |
113 | # $(COMMDIR)\sckstrm.obj \ | |
114 | # $(COMMDIR)\url.obj \ | |
115 | # $(COMMDIR)\http.obj \ | |
116 | # $(COMMDIR)\protocol.obj \ | |
117 | ||
118 | # Don't compile | |
119 | # $(COMMDIR)\db.obj \ | |
120 | # $(COMMDIR)\dbtable.obj \ | |
121 | # $(COMMDIR)\odbc.obj \ | |
122 | ||
123 | MSWOBJS = \ | |
124 | $(MSWDIR)\accel.obj \ | |
125 | $(MSWDIR)\app.obj \ | |
126 | $(MSWDIR)\bitmap.obj \ | |
127 | $(MSWDIR)\bmpbuttn.obj \ | |
128 | $(MSWDIR)\brush.obj \ | |
129 | $(MSWDIR)\button.obj \ | |
130 | $(MSWDIR)\checkbox.obj \ | |
131 | $(MSWDIR)\checklst.obj \ | |
132 | $(MSWDIR)\choice.obj \ | |
133 | $(MSWDIR)\clipbrd.obj \ | |
134 | $(MSWDIR)\colordlg.obj \ | |
135 | $(MSWDIR)\colour.obj \ | |
136 | $(MSWDIR)\combobox.obj \ | |
137 | $(MSWDIR)\control.obj \ | |
138 | $(MSWDIR)\curico.obj \ | |
139 | $(MSWDIR)\cursor.obj \ | |
140 | $(MSWDIR)\data.obj \ | |
141 | $(MSWDIR)\dc.obj \ | |
142 | $(MSWDIR)\dcmemory.obj \ | |
143 | $(MSWDIR)\dcclient.obj \ | |
144 | $(MSWDIR)\dcprint.obj \ | |
145 | $(MSWDIR)\dcscreen.obj \ | |
146 | $(MSWDIR)\dde.obj \ | |
147 | $(MSWDIR)\dialog.obj \ | |
148 | $(MSWDIR)\dib.obj \ | |
149 | $(MSWDIR)\dibutils.obj \ | |
150 | $(MSWDIR)\dirdlg.obj \ | |
151 | $(MSWDIR)\filedlg.obj \ | |
152 | $(MSWDIR)\font.obj \ | |
153 | $(MSWDIR)\fontdlg.obj \ | |
154 | $(MSWDIR)\frame.obj \ | |
155 | $(MSWDIR)\gauge95.obj \ | |
156 | $(MSWDIR)\gaugemsw.obj \ | |
157 | $(MSWDIR)\gdiobj.obj \ | |
158 | $(MSWDIR)\helpwin.obj \ | |
159 | $(MSWDIR)\icon.obj \ | |
160 | $(MSWDIR)\iniconf.obj \ | |
161 | $(MSWDIR)\listbox.obj \ | |
162 | $(MSWDIR)\main.obj \ | |
163 | $(MSWDIR)\mdi.obj \ | |
164 | $(MSWDIR)\menu.obj \ | |
165 | $(MSWDIR)\menuitem.obj \ | |
166 | $(MSWDIR)\metafile.obj \ | |
167 | $(MSWDIR)\minifram.obj \ | |
168 | $(MSWDIR)\msgdlg.obj \ | |
169 | $(MSWDIR)\nativdlg.obj \ | |
170 | $(MSWDIR)\ownerdrw.obj \ | |
171 | $(MSWDIR)\palette.obj \ | |
172 | $(MSWDIR)\pen.obj \ | |
173 | $(MSWDIR)\penwin.obj \ | |
174 | $(MSWDIR)\printdlg.obj \ | |
175 | $(MSWDIR)\printwin.obj \ | |
176 | $(MSWDIR)\radiobox.obj \ | |
177 | $(MSWDIR)\radiobut.obj \ | |
178 | $(MSWDIR)\region.obj \ | |
179 | $(MSWDIR)\registry.obj \ | |
180 | $(MSWDIR)\regconf.obj \ | |
181 | $(MSWDIR)\scrolbar.obj \ | |
182 | $(MSWDIR)\settings.obj \ | |
183 | $(MSWDIR)\slidrmsw.obj \ | |
184 | $(MSWDIR)\slider95.obj \ | |
185 | $(MSWDIR)\spinbutt.obj \ | |
186 | $(MSWDIR)\statbmp.obj \ | |
187 | $(MSWDIR)\statbox.obj \ | |
188 | $(MSWDIR)\statbr95.obj \ | |
189 | $(MSWDIR)\stattext.obj \ | |
190 | $(MSWDIR)\tabctrl.obj \ | |
191 | $(MSWDIR)\taskbar.obj \ | |
192 | $(MSWDIR)\tbar95.obj \ | |
193 | $(MSWDIR)\tbarmsw.obj \ | |
194 | $(MSWDIR)\textctrl.obj \ | |
195 | $(MSWDIR)\thread.obj \ | |
196 | $(MSWDIR)\timer.obj \ | |
197 | $(MSWDIR)\tooltip.obj \ | |
198 | $(MSWDIR)\utils.obj \ | |
199 | $(MSWDIR)\utilsexc.obj \ | |
200 | $(MSWDIR)\wave.obj \ | |
201 | $(MSWDIR)\window.obj \ | |
202 | $(MSWDIR)\xpmhand.obj | |
203 | ||
204 | # Need Win95 support for these | |
205 | # $(MSWDIR)\notebook.obj \ | |
206 | # $(MSWDIR)\listctrl.obj \ | |
207 | # $(MSWDIR)\imaglist.obj \ | |
208 | # $(MSWDIR)\treectrl.obj \ | |
209 | # $(OLEDIR)\droptgt.obj \ | |
210 | # $(OLEDIR)\dropsrc.obj \ | |
211 | # $(OLEDIR)\dataobj.obj \ | |
212 | # $(OLEDIR)\oleutils.obj \ | |
213 | # $(OLEDIR)\uuid.obj \ | |
214 | # $(OLEDIR)\automtn.obj | |
215 | ||
216 | # Doesn't compile with SC++ 6 | |
217 | # $(MSWDIR)\joystick.obj \ | |
218 | # $(MSWDIR)\pnghand.obj \ | |
219 | ||
220 | XPMOBJECTS = $(XPMDIR)\crbuffri.obj\ | |
221 | $(XPMDIR)\crdatfri.obj\ | |
222 | $(XPMDIR)\create.obj $(XPMDIR)\crifrbuf.obj\ | |
223 | $(XPMDIR)\crifrdat.obj\ | |
224 | $(XPMDIR)\data.obj\ | |
225 | $(XPMDIR)\hashtab.obj $(XPMDIR)\misc.obj\ | |
226 | $(XPMDIR)\parse.obj $(XPMDIR)\rdftodat.obj\ | |
227 | $(XPMDIR)\rdftoi.obj\ | |
228 | $(XPMDIR)\rgb.obj $(XPMDIR)\scan.obj\ | |
229 | $(XPMDIR)\simx.obj $(XPMDIR)\wrffrdat.obj\ | |
230 | $(XPMDIR)\wrffrp.obj $(XPMDIR)\wrffri.obj | |
231 | ||
232 | # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. | |
233 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) # $(XPMOBJECTS) | |
234 | ||
235 | all: $(LIBTARGET) | |
236 | ||
237 | $(LIBTARGET): $(OBJECTS) | |
238 | -del $(LIBTARGET) | |
239 | *lib /PAGESIZE:512 $(LIBTARGET) y $(OBJECTS), nul; | |
240 | ||
241 | clean: | |
242 | -del *.obj | |
243 | -del $(LIBTARGET) | |
244 | ||
245 | $(COMMDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c | |
246 | ||
247 | $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c | |
248 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
249 | ||
250 | $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c | |
251 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
252 | ||
253 | #$(COMMDIR)\cmndata.obj: $(COMMDIR)\cmndata.cpp | |
254 | # *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) $(COMMDIR)\cmndata.cpp -o$(COMMDIR)\cmndata.obj | |
255 |