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