| 1 | #***************************************************************************** |
| 2 | # * |
| 3 | # Make file for VMS * |
| 4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * |
| 5 | # Date : 13 February 2006 * |
| 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 __WXGTK2__ |
| 22 | CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\ |
| 23 | /assume=(nostdnew,noglobal_array_new) |
| 24 | CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm |
| 25 | .else |
| 26 | .ifdef __WXX11__ |
| 27 | CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ |
| 28 | /name=(as_is,short)/assume=(nostdnew,noglobal_array_new) |
| 29 | CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ |
| 30 | /name=(as_is,short) |
| 31 | .else |
| 32 | CXX_DEFINE = |
| 33 | CC_DEFINE = |
| 34 | .endif |
| 35 | .endif |
| 36 | .endif |
| 37 | .endif |
| 38 | |
| 39 | .suffixes : .cpp |
| 40 | |
| 41 | .cpp.obj : |
| 42 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp |
| 43 | .c.obj : |
| 44 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c |
| 45 | |
| 46 | OBJECTS = \ |
| 47 | helpctrl.obj,helpdata.obj,helpfrm.obj,htmlcell.obj,htmlfilt.obj,\ |
| 48 | htmlpars.obj,htmltag.obj,htmlwin.obj,htmprint.obj,m_dflist.obj,\ |
| 49 | m_fonts.obj,m_hline.obj,m_image.obj,m_layout.obj,m_links.obj,\ |
| 50 | m_list.obj,m_pre.obj,m_tables.obj,winpars.obj,chm.obj,m_style.obj |
| 51 | |
| 52 | SOURCES = \ |
| 53 | helpctrl.cpp,helpdata.cpp,helpfrm.cpp,htmlcell.cpp,htmlfilt.cpp,\ |
| 54 | htmlpars.cpp,htmltag.cpp,htmlwin.cpp,htmprint.cpp,m_dflist.cpp,\ |
| 55 | m_fonts.cpp,m_hline.cpp,m_image.cpp,m_layout.cpp,m_links.cpp,\ |
| 56 | m_list.cpp,m_pre.cpp,m_tables.cpp,winpars.cpp,chm.cpp,m_style.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 __WXGTK2__ |
| 67 | library [--.lib]libwx_gtk2.olb $(OBJECTS) |
| 68 | .else |
| 69 | .ifdef __WXX11__ |
| 70 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) |
| 71 | .endif |
| 72 | .endif |
| 73 | .endif |
| 74 | .endif |
| 75 | |
| 76 | helpctrl.obj : helpctrl.cpp |
| 77 | helpdata.obj : helpdata.cpp |
| 78 | helpfrm.obj : helpfrm.cpp |
| 79 | htmlcell.obj : htmlcell.cpp |
| 80 | htmlfilt.obj : htmlfilt.cpp |
| 81 | htmlpars.obj : htmlpars.cpp |
| 82 | htmltag.obj : htmltag.cpp |
| 83 | htmlwin.obj : htmlwin.cpp |
| 84 | htmprint.obj : htmprint.cpp |
| 85 | m_dflist.obj : m_dflist.cpp |
| 86 | m_fonts.obj : m_fonts.cpp |
| 87 | m_hline.obj : m_hline.cpp |
| 88 | m_image.obj : m_image.cpp |
| 89 | m_layout.obj : m_layout.cpp |
| 90 | m_links.obj : m_links.cpp |
| 91 | m_list.obj : m_list.cpp |
| 92 | m_pre.obj : m_pre.cpp |
| 93 | m_tables.obj : m_tables.cpp |
| 94 | winpars.obj : winpars.cpp |
| 95 | chm.obj : chm.cpp |
| 96 | m_style.obj : m_style.cpp |