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