]>
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 \ | |
d134d2d4 | 52 | $(GENDIR)\fontdlgg.obj |
2432b92d JS |
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 \ | |
3d05544e | 79 | $(COMMDIR)\resourc2.obj \ |
2432b92d JS |
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)\valtext.obj \ | |
87 | $(COMMDIR)\date.obj \ | |
88 | $(COMMDIR)\hash.obj \ | |
89 | $(COMMDIR)\list.obj \ | |
90 | $(COMMDIR)\string.obj \ | |
2432b92d JS |
91 | $(COMMDIR)\time.obj \ |
92 | $(COMMDIR)\tokenzr.obj \ | |
93 | $(COMMDIR)\wxexpr.obj \ | |
94 | $(COMMDIR)\y_tab.obj \ | |
95 | $(COMMDIR)\extended.obj \ | |
96 | $(COMMDIR)\process.obj \ | |
97 | $(COMMDIR)\wfstream.obj \ | |
98 | $(COMMDIR)\mstream.obj \ | |
99 | $(COMMDIR)\zstream.obj \ | |
100 | $(COMMDIR)\stream.obj \ | |
101 | $(COMMDIR)\datstrm.obj \ | |
102 | $(COMMDIR)\objstrm.obj \ | |
103 | $(COMMDIR)\variant.obj \ | |
104 | $(COMMDIR)\wincmn.obj | |
105 | ||
3d05544e JS |
106 | # Don't compile for WIN16 |
107 | # $(COMMDIR)\socket.obj \ | |
108 | # $(COMMDIR)\sckaddr.obj \ | |
109 | # $(COMMDIR)\sckfile.obj \ | |
110 | # $(COMMDIR)\sckipc.obj \ | |
111 | # $(COMMDIR)\sckstrm.obj \ | |
112 | # $(COMMDIR)\url.obj \ | |
113 | # $(COMMDIR)\http.obj \ | |
114 | # $(COMMDIR)\protocol.obj \ | |
115 | ||
2432b92d JS |
116 | # Don't compile |
117 | # $(COMMDIR)\db.obj \ | |
118 | # $(COMMDIR)\dbtable.obj \ | |
119 | # $(COMMDIR)\odbc.obj \ | |
120 | ||
121 | MSWOBJS = \ | |
122 | $(MSWDIR)\accel.obj \ | |
123 | $(MSWDIR)\app.obj \ | |
124 | $(MSWDIR)\bitmap.obj \ | |
125 | $(MSWDIR)\bmpbuttn.obj \ | |
126 | $(MSWDIR)\brush.obj \ | |
127 | $(MSWDIR)\button.obj \ | |
128 | $(MSWDIR)\checkbox.obj \ | |
129 | $(MSWDIR)\checklst.obj \ | |
130 | $(MSWDIR)\choice.obj \ | |
131 | $(MSWDIR)\clipbrd.obj \ | |
132 | $(MSWDIR)\colordlg.obj \ | |
133 | $(MSWDIR)\colour.obj \ | |
134 | $(MSWDIR)\combobox.obj \ | |
135 | $(MSWDIR)\control.obj \ | |
136 | $(MSWDIR)\curico.obj \ | |
137 | $(MSWDIR)\cursor.obj \ | |
138 | $(MSWDIR)\data.obj \ | |
139 | $(MSWDIR)\dc.obj \ | |
140 | $(MSWDIR)\dcmemory.obj \ | |
141 | $(MSWDIR)\dcclient.obj \ | |
142 | $(MSWDIR)\dcprint.obj \ | |
143 | $(MSWDIR)\dcscreen.obj \ | |
144 | $(MSWDIR)\dde.obj \ | |
145 | $(MSWDIR)\dialog.obj \ | |
146 | $(MSWDIR)\dib.obj \ | |
147 | $(MSWDIR)\dibutils.obj \ | |
148 | $(MSWDIR)\dirdlg.obj \ | |
149 | $(MSWDIR)\filedlg.obj \ | |
150 | $(MSWDIR)\font.obj \ | |
151 | $(MSWDIR)\fontdlg.obj \ | |
152 | $(MSWDIR)\frame.obj \ | |
153 | $(MSWDIR)\gauge95.obj \ | |
154 | $(MSWDIR)\gaugemsw.obj \ | |
155 | $(MSWDIR)\gdiobj.obj \ | |
156 | $(MSWDIR)\helpwin.obj \ | |
157 | $(MSWDIR)\icon.obj \ | |
158 | $(MSWDIR)\iniconf.obj \ | |
159 | $(MSWDIR)\listbox.obj \ | |
160 | $(MSWDIR)\main.obj \ | |
161 | $(MSWDIR)\mdi.obj \ | |
162 | $(MSWDIR)\menu.obj \ | |
163 | $(MSWDIR)\menuitem.obj \ | |
164 | $(MSWDIR)\metafile.obj \ | |
165 | $(MSWDIR)\minifram.obj \ | |
166 | $(MSWDIR)\msgdlg.obj \ | |
167 | $(MSWDIR)\nativdlg.obj \ | |
168 | $(MSWDIR)\ownerdrw.obj \ | |
169 | $(MSWDIR)\palette.obj \ | |
170 | $(MSWDIR)\pen.obj \ | |
171 | $(MSWDIR)\penwin.obj \ | |
172 | $(MSWDIR)\printdlg.obj \ | |
173 | $(MSWDIR)\printwin.obj \ | |
174 | $(MSWDIR)\radiobox.obj \ | |
175 | $(MSWDIR)\radiobut.obj \ | |
176 | $(MSWDIR)\region.obj \ | |
177 | $(MSWDIR)\registry.obj \ | |
178 | $(MSWDIR)\regconf.obj \ | |
179 | $(MSWDIR)\scrolbar.obj \ | |
180 | $(MSWDIR)\settings.obj \ | |
181 | $(MSWDIR)\slidrmsw.obj \ | |
182 | $(MSWDIR)\slider95.obj \ | |
183 | $(MSWDIR)\spinbutt.obj \ | |
184 | $(MSWDIR)\statbmp.obj \ | |
185 | $(MSWDIR)\statbox.obj \ | |
186 | $(MSWDIR)\statbr95.obj \ | |
187 | $(MSWDIR)\stattext.obj \ | |
188 | $(MSWDIR)\tabctrl.obj \ | |
189 | $(MSWDIR)\taskbar.obj \ | |
190 | $(MSWDIR)\tbar95.obj \ | |
191 | $(MSWDIR)\tbarmsw.obj \ | |
192 | $(MSWDIR)\textctrl.obj \ | |
193 | $(MSWDIR)\thread.obj \ | |
194 | $(MSWDIR)\timer.obj \ | |
195 | $(MSWDIR)\utils.obj \ | |
196 | $(MSWDIR)\utilsexc.obj \ | |
197 | $(MSWDIR)\wave.obj \ | |
2fd284a4 JS |
198 | $(MSWDIR)\window.obj \ |
199 | $(MSWDIR)\xpmhand.obj | |
2432b92d JS |
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 |