1#*****************************************************************************
2#                                                                            *
3# Make file for VMS                                                          *
4# Author : J.Jansen (joukj@hrem.nano.tudelft.nl)                             *
5# Date : 1 December 2006                                                     *
6#                                                                            *
7#*****************************************************************************
8.first
9	define wx [--.include.wx]
10
11.ifdef __WXMOTIF__
12CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
13	   /assume=(nostdnew,noglobal_array_new)
14CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)
15.else
16.ifdef __WXGTK__
17CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
18	   /assume=(nostdnew,noglobal_array_new)
19CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm
20.else
21.ifdef __WXGTK2__
22CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\
23	   /assume=(nostdnew,noglobal_array_new)
24CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm
25.else
26.ifdef __WXX11__
27CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
28	/name=(as_is,short)/assume=(nostdnew,noglobal_array_new)
29CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
30	/name=(as_is,short)
31.else
32CXX_DEFINE =
33CC_DEFINE =
34.endif
35.endif
36.endif
37.endif
38
39YACC=bison/yacc
40
41SED=gsed
42
43LEX=flex
44
45.suffixes : .cpp
46
47.cpp.obj :
48	cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
49.c.obj :
50	cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
51
52OBJECTS = \
53		anidecod.obj,\
54		animatecmn.obj,\
55		appbase.obj,\
56		appcmn.obj,\
57		artprov.obj,\
58		artstd.obj,\
59		bmpbase.obj,\
60		bookctrl.obj,\
61		choiccmn.obj,\
62		clipcmn.obj,\
63		clntdata.obj,\
64		cmdline.obj,\
65		cmdproc.obj,\
66		cmndata.obj,\
67		config.obj,\
68		containr.obj,\
69		convauto.obj,\
70		colourcmn.obj,\
71		cshelp.obj,\
72		ctrlcmn.obj,\
73		ctrlsub.obj,\
74		datacmn.obj,\
75		datetime.obj,\
76		datstrm.obj,\
77		db.obj,\
78		dbgrid.obj,\
79		dbtable.obj,\
80		dcbase.obj,\
81		dcbufcmn.obj,\
82		dircmn.obj,\
83		dlgcmn.obj,\
84		dobjcmn.obj,\
85		docmdi.obj,\
86		docview.obj,\
87		dpycmn.obj,\
88		dynarray.obj,\
89		dynlib.obj,\
90		encconv.obj,\
91		event.obj,\
92		evtloopcmn.obj,\
93		extended.obj,\
94		fddlgcmn.obj,\
95		ffile.obj,\
96		file.obj,\
97		fileback.obj,\
98		fileconf.obj,\
99		filename.obj,\
100		filefn.obj,\
101		filesys.obj,\
102		fldlgcmn.obj,\
103		fmapbase.obj,\
104		fontcmn.obj,\
105		fontenumcmn.obj,\
106		fontmap.obj,\
107		framecmn.obj
108
109OBJECTS1=fs_inet.obj,\
110		ftp.obj,\
111		gaugecmn.obj,\
112		gbsizer.obj,\
113		gdicmn.obj,\
114		gifdecod.obj,\
115		hash.obj,\
116		hashmap.obj,\
117		helpbase.obj,\
118		http.obj,\
119		iconbndl.obj,\
120		init.obj,\
121		imagall.obj,\
122		imagbmp.obj,\
123		image.obj,\
124		imagfill.obj,\
125		imaggif.obj,\
126		imagiff.obj,\
127		imagjpeg.obj,\
128		imagpcx.obj,\
129		imagpng.obj,\
130		imagpnm.obj,\
131		imagtga.obj,\
132		imagtiff.obj,\
133		imagxpm.obj,\
134		intl.obj,\
135		ipcbase.obj,\
136		layout.obj,\
137		lboxcmn.obj,\
138		list.obj,\
139		log.obj,\
140		longlong.obj,\
141		memory.obj,\
142		menucmn.obj,\
143		mimecmn.obj,\
144		module.obj,\
145		msgout.obj,\
146		mstream.obj,\
147		nbkbase.obj,\
148		object.obj,\
149		paper.obj,\
150		platinfo.obj,\
151		popupcmn.obj,\
152		prntbase.obj,\
153		process.obj,\
154		protocol.obj,\
155		quantize.obj,\
156		radiocmn.obj,\
157		rendcmn.obj,\
158		sckaddr.obj,\
159		sckfile.obj,\
160		sckipc.obj,\
161		sckstrm.obj,\
162		sizer.obj,\
163		socket.obj,\
164		settcmn.obj,\
165		statbar.obj,\
166		stdpbase.obj,\
167		stockitem.obj,\
168		stopwatch.obj,\
169		strconv.obj,\
170		stream.obj,\
171		string.obj,\
172		sysopt.obj
173
174OBJECTS2=tbarbase.obj,\
175		textbuf.obj,\
176		textcmn.obj,\
177		textfile.obj,\
178		timercmn.obj,\
179		tokenzr.obj,\
180		toplvcmn.obj,\
181		treebase.obj,\
182		txtstrm.obj,\
183		url.obj,\
184		utilscmn.obj,\
185		rgncmn.obj,\
186		uri.obj,\
187		valgen.obj,\
188		validate.obj,\
189		valtext.obj,\
190		variant.obj,\
191		wfstream.obj,\
192		wxchar.obj,\
193		wincmn.obj,\
194		xpmdecod.obj,\
195		zipstrm.obj,\
196		zstream.obj,\
197		clrpickercmn.obj,\
198		filepickercmn.obj,\
199		fontpickercmn.obj,\
200		pickerbase.obj,\
201		listctrlcmn.obj
202
203OBJECTS_MOTIF=radiocmn.obj,combocmn.obj
204
205OBJECTS_X11=accesscmn.obj,dndcmn.obj,dpycmn.obj,dseldlg.obj,\
206	dynload.obj,effects.obj,fddlgcmn.obj,fs_mem.obj,\
207	gbsizer.obj,geometry.obj,matrix.obj,radiocmn.obj,\
208	regex.obj,taskbarcmn.obj,xti.obj,xtistrm.obj,xtixml.obj,\
209	combocmn.obj
210
211OBJECTS_X11_2=socketevtdispatch.obj
212
213SOURCES = \
214		anidecod.cpp,\
215		animatecmn.cpp,\
216		appbase.cpp,\
217		appcmn.cpp,\
218		artprov.cpp,\
219		artstd.cpp,\
220		bmpbase.cpp,\
221		bookctrl.cpp,\
222		choiccmn.cpp,\
223		clipcmn.cpp,\
224		clntdata.cpp,\
225		cmdline.cpp,\
226		cmdproc.cpp,\
227		cmndata.cpp,\
228		config.cpp,\
229		containr.cpp,\
230		convauto.cpp,\
231		colourcmn.cpp,\
232		cshelp.cpp,\
233		ctrlcmn.cpp,\
234		ctrlsub.cpp,\
235		datacmn.cpp,\
236		datetime.cpp,\
237		datstrm.cpp,\
238		db.cpp,\
239		dbgrid.cpp,\
240		dbtable.cpp,\
241		dcbase.cpp,\
242		dcbufcmn.cpp,\
243		dircmn.cpp,\
244		dlgcmn.cpp,\
245		dobjcmn.cpp,\
246		docmdi.cpp,\
247		docview.cpp,\
248		dpycmn.cpp,\
249		dynarray.cpp,\
250		dynlib.cpp,\
251		encconv.cpp,\
252		event.cpp,\
253		evtloopcmn.cpp,\
254		extended.c,\
255		ffile.cpp,\
256		fddlgcmn.cpp,\
257		file.cpp,\
258		fileback.cpp,\
259		fileconf.cpp,\
260		filename.cpp,\
261		filefn.cpp,\
262		filesys.cpp,\
263		fldlgcmn.cpp,\
264		fmapbase.cpp,\
265		fontcmn.cpp,\
266		fontenumcmn.cpp,\
267		fontmap.cpp,\
268		framecmn.cpp,\
269		fs_inet.cpp,\
270		ftp.cpp,\
271		gaugecmn.cpp,\
272		gbsizer.cpp,\
273		gdicmn.cpp,\
274		gifdecod.cpp,\
275		hash.cpp,\
276		hashmap.cpp,\
277		helpbase.cpp,\
278		http.cpp,\
279		iconbndl.cpp,\
280		init.cpp,\
281		imagall.cpp,\
282		imagbmp.cpp,\
283		image.cpp,\
284		imagfill.cpp,\
285		imaggif.cpp,\
286		imagiff.cpp,\
287		imagjpeg.cpp,\
288		imagpcx.cpp,\
289		imagpng.cpp,\
290		imagpnm.cpp,\
291		imagtga.cpp,\
292		imagtiff.cpp,\
293		imagxpm.cpp,\
294		intl.cpp,\
295		ipcbase.cpp,\
296		layout.cpp,\
297		lboxcmn.cpp,\
298		list.cpp,\
299		listctrlcmn.cpp,\
300		log.cpp,\
301		longlong.cpp,\
302		memory.cpp,\
303		menucmn.cpp,\
304		mimecmn.cpp,\
305		module.cpp,\
306		msgout.cpp,\
307		mstream.cpp,\
308		nbkbase.cpp,\
309		object.cpp,\
310		paper.cpp,\
311		platinfo.cpp,\
312		popupcmn.cpp,\
313		prntbase.cpp,\
314		process.cpp,\
315		protocol.cpp,\
316		quantize.cpp,\
317		radiocmn.cpp,\
318		rendcmn.cpp,\
319		rgncmn.cpp,\
320		sckaddr.cpp,\
321		sckfile.cpp,\
322		sckipc.cpp,\
323		sckstrm.cpp,\
324		sizer.cpp,\
325		socket.cpp,\
326		socketevtdispatch.cpp,\
327		settcmn.cpp,\
328		statbar.cpp,\
329		stdpbase.cpp,\
330		stockitem.cpp,\
331		stopwatch.cpp,\
332		strconv.cpp,\
333		stream.cpp,\
334		sysopt.cpp,\
335		string.cpp,\
336		tbarbase.cpp,\
337		textbuf.cpp,\
338		textcmn.cpp,\
339		textfile.cpp,\
340		timercmn.cpp,\
341		tokenzr.cpp,\
342		toplvcmn.cpp,\
343		treebase.cpp,\
344		txtstrm.cpp,\
345		url.cpp,\
346		utilscmn.cpp,\
347		valgen.cpp,\
348		validate.cpp,\
349		valtext.cpp,\
350		variant.cpp,\
351		wfstream.cpp,\
352		wincmn.cpp,\
353		wxchar.cpp,\
354		xpmdecod.cpp,\
355		zipstrm.cpp,\
356		zstream.cpp,\
357		clrpickercmn.cpp,\
358		filepickercmn.cpp,\
359		fontpickercmn.cpp,\
360		pickerbase.cpp,\
361		accesscmn.cpp,\
362		dndcmn.cpp,\
363		dpycmn.cpp,\
364		dseldlg.cpp,\
365		dynload.cpp,\
366		effects.cpp,\
367		fddlgcmn.cpp,\
368		fs_mem.cpp,\
369		gbsizer.cpp,\
370		geometry.cpp,\
371		matrix.cpp,\
372		radiocmn.cpp,\
373		regex.cpp,\
374		taskbarcmn.cpp,\
375		uri.cpp,\
376		xti.cpp,\
377		xtistrm.cpp,\
378		xtixml.cpp
379
380all : $(SOURCES)
381	$(MMS)$(MMSQUALIFIERS) $(OBJECTS)
382	$(MMS)$(MMSQUALIFIERS) $(OBJECTS1)
383	$(MMS)$(MMSQUALIFIERS) $(OBJECTS2)
384.ifdef __WXMOTIF__
385	$(MMS)$(MMSQUALIFIERS) $(OBJECTS_MOTIF)
386	library [--.lib]libwx_motif.olb $(OBJECTS)
387	library [--.lib]libwx_motif.olb $(OBJECTS1)
388	library [--.lib]libwx_motif.olb $(OBJECTS2)
389	library [--.lib]libwx_motif.olb $(OBJECTS_MOTIF)
390.else
391.ifdef __WXGTK__
392	$(MMS)$(MMSQUALIFIERS) $(OBJECTS_X11)
393	library [--.lib]libwx_gtk.olb $(OBJECTS)
394	library [--.lib]libwx_gtk.olb $(OBJECTS1)
395	library [--.lib]libwx_gtk.olb $(OBJECTS2)
396	library [--.lib]libwx_gtk.olb $(OBJECTS_X11)
397.else
398.ifdef __WXGTK2__
399	$(MMS)$(MMSQUALIFIERS) $(OBJECTS_X11)
400	library [--.lib]libwx_gtk2.olb $(OBJECTS)
401	library [--.lib]libwx_gtk2.olb $(OBJECTS1)
402	library [--.lib]libwx_gtk2.olb $(OBJECTS2)
403	library [--.lib]libwx_gtk2.olb $(OBJECTS_X11)
404.else
405.ifdef __WXX11__
406	$(MMS)$(MMSQUALIFIERS) $(OBJECTS_X11)
407	$(MMS)$(MMSQUALIFIERS) $(OBJECTS_X11_2)
408	library [--.lib]libwx_x11_univ.olb $(OBJECTS)
409	library [--.lib]libwx_x11_univ.olb $(OBJECTS1)
410	library [--.lib]libwx_x11_univ.olb $(OBJECTS2)
411	library [--.lib]libwx_x11_univ.olb $(OBJECTS_X11)
412	library [--.lib]libwx_x11_univ.olb $(OBJECTS_X11_2)
413.endif
414.endif
415.endif
416.endif
417
418anidecod.obj : anidecod.cpp
419animatecmn.obj : animatecmn.cpp
420appbase.obj : appbase.cpp
421appcmn.obj : appcmn.cpp
422artprov.obj : artprov.cpp
423artstd.obj : artstd.cpp
424bmpbase.obj : bmpbase.cpp
425bookctrl.obj : bookctrl.cpp
426choiccmn.obj : choiccmn.cpp
427clipcmn.obj : clipcmn.cpp
428clntdata.obj : clntdata.cpp
429cmdline.obj : cmdline.cpp
430cmdproc.obj : cmdproc.cpp
431cmndata.obj : cmndata.cpp
432config.obj : config.cpp
433containr.obj : containr.cpp
434convauto.obj : convauto.cpp
435colourcmn.obj : colourcmn.cpp
436cshelp.obj : cshelp.cpp
437ctrlcmn.obj : ctrlcmn.cpp
438ctrlsub.obj : ctrlsub.cpp
439datacmn.obj : datacmn.cpp
440datetime.obj : datetime.cpp
441datstrm.obj : datstrm.cpp
442db.obj : db.cpp
443dbgrid.obj : dbgrid.cpp
444dbtable.obj : dbtable.cpp
445dcbase.obj : dcbase.cpp
446dcbufcmn.obj : dcbufcmn.cpp
447dircmn.obj : dircmn.cpp
448dlgcmn.obj : dlgcmn.cpp
449dobjcmn.obj : dobjcmn.cpp
450docmdi.obj : docmdi.cpp
451docview.obj : docview.cpp
452dynarray.obj : dynarray.cpp
453dynlib.obj : dynlib.cpp
454encconv.obj : encconv.cpp
455event.obj : event.cpp
456evtloopcmn.obj : evtloopcmn.cpp
457extended.obj : extended.c
458ffile.obj : ffile.cpp
459fddlgcmn.obj : fddlgcmn.cpp
460file.obj : file.cpp
461fileback.obj : fileback.cpp
462fileconf.obj : fileconf.cpp
463filefn.obj : filefn.cpp
464filename.obj : filename.cpp
465filesys.obj : filesys.cpp
466fldlgcmn.obj : fldlgcmn.cpp
467fmapbase.obj : fmapbase.cpp
468fontcmn.obj : fontcmn.cpp
469fontenumcmn.obj : fontenumcmn.cpp
470fontmap.obj : fontmap.cpp
471framecmn.obj : framecmn.cpp
472fs_inet.obj : fs_inet.cpp
473ftp.obj : ftp.cpp
474gaugecmn.obj : gaugecmn.cpp
475gbsizer.obj : gbsizer.cpp
476gdicmn.obj : gdicmn.cpp
477gifdecod.obj : gifdecod.cpp
478hash.obj : hash.cpp
479hashmap.obj : hashmap.cpp
480helpbase.obj : helpbase.cpp
481http.obj : http.cpp
482iconbndl.obj : iconbndl.cpp
483init.obj : init.cpp
484imagall.obj : imagall.cpp
485imagbmp.obj : imagbmp.cpp
486image.obj : image.cpp
487imagfill.obj : imagfill.cpp
488imaggif.obj : imaggif.cpp
489imagiff.obj : imagiff.cpp
490imagjpeg.obj : imagjpeg.cpp
491imagpcx.obj : imagpcx.cpp
492imagpng.obj : imagpng.cpp
493imagpnm.obj : imagpnm.cpp
494imagtga.obj : imagtga.cpp
495imagtiff.obj : imagtiff.cpp
496imagxpm.obj : imagxpm.cpp
497intl.obj : intl.cpp
498ipcbase.obj : ipcbase.cpp
499layout.obj : layout.cpp
500lboxcmn.obj : lboxcmn.cpp
501list.obj : list.cpp
502log.obj : log.cpp
503longlong.obj : longlong.cpp
504memory.obj : memory.cpp
505menucmn.obj : menucmn.cpp
506mimecmn.obj : mimecmn.cpp
507module.obj : module.cpp
508msgout.obj : msgout.cpp
509mstream.obj : mstream.cpp
510nbkbase.obj : nbkbase.cpp
511object.obj : object.cpp
512paper.obj : paper.cpp
513platinfo.obj : platinfo.cpp
514popupcmn.obj : popupcmn.cpp
515prntbase.obj : prntbase.cpp
516process.obj : process.cpp
517protocol.obj : protocol.cpp
518quantize.obj : quantize.cpp
519radiocmn.obj : radiocmn.cpp
520rendcmn.obj : rendcmn.cpp
521rgncmn.obj : rgncmn.cpp
522sckaddr.obj : sckaddr.cpp
523sckfile.obj : sckfile.cpp
524sckipc.obj : sckipc.cpp
525sckstrm.obj : sckstrm.cpp
526sizer.obj : sizer.cpp
527socket.obj : socket.cpp
528socketevtdispatch.obj : socketevtdispatch.cpp
529settcmn.obj : settcmn.cpp
530statbar.obj : statbar.cpp
531stdpbase.obj : stdpbase.cpp
532stockitem.obj : stockitem.cpp
533stopwatch.obj : stopwatch.cpp
534strconv.obj : strconv.cpp
535stream.obj : stream.cpp
536sysopt.obj : sysopt.cpp
537string.obj : string.cpp
538tbarbase.obj : tbarbase.cpp
539textbuf.obj : textbuf.cpp
540textcmn.obj : textcmn.cpp
541textfile.obj : textfile.cpp
542timercmn.obj : timercmn.cpp
543tokenzr.obj : tokenzr.cpp
544toplvcmn.obj : toplvcmn.cpp
545treebase.obj : treebase.cpp
546txtstrm.obj : txtstrm.cpp
547url.obj : url.cpp
548utilscmn.obj : utilscmn.cpp
549valgen.obj : valgen.cpp
550validate.obj : validate.cpp
551valtext.obj : valtext.cpp
552variant.obj : variant.cpp
553wfstream.obj : wfstream.cpp
554wincmn.obj : wincmn.cpp
555wxchar.obj : wxchar.cpp
556xpmdecod.obj : xpmdecod.cpp
557zipstrm.obj : zipstrm.cpp
558zstream.obj : zstream.cpp
559accesscmn.obj : accesscmn.cpp
560dndcmn.obj : dndcmn.cpp
561dpycmn.obj : dpycmn.cpp
562dseldlg.obj : dseldlg.cpp
563dynload.obj : dynload.cpp
564effects.obj : effects.cpp
565fddlgcmn.obj : fddlgcmn.cpp
566fs_mem.obj : fs_mem.cpp
567gbsizer.obj : gbsizer.cpp
568geometry.obj : geometry.cpp
569matrix.obj : matrix.cpp
570radiocmn.obj : radiocmn.cpp
571regex.obj : regex.cpp
572taskbarcmn.obj : taskbarcmn.cpp
573xti.obj : xti.cpp
574xtistrm.obj : xtistrm.cpp
575xtixml.obj : xtixml.cpp
576uri.obj : uri.cpp
577dpycmn.obj : dpycmn.cpp
578combocmn.obj : combocmn.cpp
579clrpickercmn.obj : clrpickercmn.cpp
580filepickercmn.obj : filepickercmn.cpp
581fontpickercmn.obj : fontpickercmn.cpp
582pickerbase.obj : pickerbase.cpp
583listctrlcmn.obj : listctrlcmn.cpp
584