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