| 1 | #***************************************************************************** |
| 2 | # * |
| 3 | # Make file for VMS * |
| 4 | # Author : J.Jansen (joukj@hrem.stm.tudelft.nl) * |
| 5 | # Date : 20 October 2004 * |
| 6 | # * |
| 7 | #***************************************************************************** |
| 8 | .first |
| 9 | define wx [--.include.wx] |
| 10 | |
| 11 | .ifdef __WXMOTIF__ |
| 12 | CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\ |
| 13 | /assume=(nostdnew,noglobal_array_new) |
| 14 | CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short) |
| 15 | .else |
| 16 | .ifdef __WXGTK__ |
| 17 | CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ |
| 18 | /assume=(nostdnew,noglobal_array_new) |
| 19 | CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm |
| 20 | .else |
| 21 | .ifdef __WXX11__ |
| 22 | CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ |
| 23 | /name=(as_is,short)/assume=(nostdnew,noglobal_array_new) |
| 24 | CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ |
| 25 | /name=(as_is,short) |
| 26 | .else |
| 27 | CXX_DEFINE = |
| 28 | CC_DEFINE = |
| 29 | .endif |
| 30 | .endif |
| 31 | .endif |
| 32 | |
| 33 | .suffixes : .cpp |
| 34 | |
| 35 | .cpp.obj : |
| 36 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp |
| 37 | .c.obj : |
| 38 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c |
| 39 | |
| 40 | OBJECTS=xh_bmp.obj,xh_bmpbt.obj,xh_bttn.obj,xh_cald.obj,xh_chckb.obj,\ |
| 41 | xh_chckl.obj,xh_choic.obj,xh_combo.obj,xh_dlg.obj,xh_frame.obj,\ |
| 42 | xh_gauge.obj,xh_gdctl.obj,xh_html.obj,xh_listb.obj,xh_listc.obj,\ |
| 43 | xh_menu.obj,xh_notbk.obj,xh_panel.obj,xh_radbt.obj,xh_radbx.obj,\ |
| 44 | xh_scrol.obj,xh_scwin.obj,xh_sizer.obj,xh_slidr.obj,xh_spin.obj,\ |
| 45 | xh_split.obj,xh_statbar.obj,xh_stbmp.obj,xh_stbox.obj,xh_stlin.obj,\ |
| 46 | xh_sttxt.obj,xh_text.obj,xh_tglbtn.obj,xh_toolb.obj,xh_tree.obj,\ |
| 47 | xh_unkwn.obj,xh_wizrd.obj,xmlres.obj,xmlrsall.obj |
| 48 | |
| 49 | SOURCES =xh_bmp.cpp,xh_bmpbt.cpp,xh_bttn.cpp,xh_cald.cpp,xh_chckb.cpp,\ |
| 50 | xh_chckl.cpp,xh_choic.cpp,xh_combo.cpp,xh_dlg.cpp,xh_frame.cpp,\ |
| 51 | xh_gauge.cpp,xh_gdctl.cpp,xh_html.cpp,xh_listb.cpp,xh_listc.cpp,\ |
| 52 | xh_menu.cpp,xh_notbk.cpp,xh_panel.cpp,xh_radbt.cpp,xh_radbx.cpp,\ |
| 53 | xh_scrol.cpp,xh_scwin.cpp,xh_sizer.cpp,xh_slidr.cpp,xh_spin.cpp,\ |
| 54 | xh_split.cpp,xh_statbar.cpp,xh_stbmp.cpp,xh_stbox.cpp,xh_stlin.cpp,\ |
| 55 | xh_sttxt.cpp,xh_text.cpp,xh_tglbtn.cpp,xh_toolb.cpp,xh_tree.cpp,\ |
| 56 | xh_unkwn.cpp,xh_wizrd.cpp,xmlres.cpp,xmlrsall.cpp |
| 57 | |
| 58 | all : $(SOURCES) |
| 59 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) |
| 60 | .ifdef __WXMOTIF__ |
| 61 | library [--.lib]libwx_motif.olb $(OBJECTS) |
| 62 | .else |
| 63 | .ifdef __WXGTK__ |
| 64 | library [--.lib]libwx_gtk.olb $(OBJECTS) |
| 65 | .else |
| 66 | .ifdef __WXX11__ |
| 67 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) |
| 68 | .endif |
| 69 | .endif |
| 70 | .endif |
| 71 | |
| 72 | xh_bmp.obj : xh_bmp.cpp |
| 73 | xh_bmpbt.obj : xh_bmpbt.cpp |
| 74 | xh_bttn.obj : xh_bttn.cpp |
| 75 | xh_cald.obj : xh_cald.cpp |
| 76 | xh_chckb.obj : xh_chckb.cpp |
| 77 | xh_chckl.obj : xh_chckl.cpp |
| 78 | xh_choic.obj : xh_choic.cpp |
| 79 | xh_combo.obj : xh_combo.cpp |
| 80 | xh_dlg.obj : xh_dlg.cpp |
| 81 | xh_frame.obj : xh_frame.cpp |
| 82 | xh_gauge.obj : xh_gauge.cpp |
| 83 | xh_gdctl.obj : xh_gdctl.cpp |
| 84 | xh_html.obj : xh_html.cpp |
| 85 | xh_listb.obj : xh_listb.cpp |
| 86 | xh_listc.obj : xh_listc.cpp |
| 87 | xh_menu.obj : xh_menu.cpp |
| 88 | xh_notbk.obj : xh_notbk.cpp |
| 89 | xh_panel.obj : xh_panel.cpp |
| 90 | xh_radbt.obj : xh_radbt.cpp |
| 91 | xh_radbx.obj : xh_radbx.cpp |
| 92 | xh_scrol.obj : xh_scrol.cpp |
| 93 | xh_scwin.obj : xh_scwin.cpp |
| 94 | xh_sizer.obj : xh_sizer.cpp |
| 95 | xh_slidr.obj : xh_slidr.cpp |
| 96 | xh_spin.obj : xh_spin.cpp |
| 97 | xh_split.obj : xh_split.cpp |
| 98 | xh_statbar.obj : xh_statbar.cpp |
| 99 | xh_stbmp.obj : xh_stbmp.cpp |
| 100 | xh_stbox.obj : xh_stbox.cpp |
| 101 | xh_stlin.obj : xh_stlin.cpp |
| 102 | xh_sttxt.obj : xh_sttxt.cpp |
| 103 | xh_text.obj : xh_text.cpp |
| 104 | xh_tglbtn.obj : xh_tglbtn.cpp |
| 105 | xh_toolb.obj : xh_toolb.cpp |
| 106 | xh_tree.obj : xh_tree.cpp |
| 107 | xh_unkwn.obj : xh_unkwn.cpp |
| 108 | xh_wizrd.obj : xh_wizrd.cpp |
| 109 | xmlres.obj : xmlres.cpp |
| 110 | xmlrsall.obj : xmlrsall.cpp |