| 1 | #***************************************************************************** |
| 2 | # * |
| 3 | # Make file for VMS * |
| 4 | # Author : J.Jansen (joukj@hrem.stm.tudelft.nl) * |
| 5 | # Date : 4 October 2001 * |
| 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 | .ifdef __WXUNIVERSAL__ |
| 18 | CXX_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\ |
| 19 | /name=(as_is,short)/ieee=denorm/assume=(nostdnew,noglobal_array_new) |
| 20 | CC_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\ |
| 21 | /name=(as_is,short)/ieee=denorm |
| 22 | .else |
| 23 | CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ |
| 24 | /assume=(nostdnew,noglobal_array_new) |
| 25 | CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm |
| 26 | .endif |
| 27 | .else |
| 28 | CXX_DEFINE = |
| 29 | CC_DEFINE = |
| 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 = \ |
| 41 | helpctrl.obj,helpdata.obj,helpfrm.obj,htmlcell.obj,htmlfilt.obj,\ |
| 42 | htmlpars.obj,htmltag.obj,htmlwin.obj,htmprint.obj,m_dflist.obj,\ |
| 43 | m_fonts.obj,m_hline.obj,m_image.obj,m_layout.obj,m_links.obj,\ |
| 44 | m_list.obj,m_pre.obj,m_tables.obj,winpars.obj |
| 45 | |
| 46 | SOURCES = \ |
| 47 | helpctrl.cpp,helpdata.cpp,helpfrm.cpp,htmlcell.cpp,htmlfilt.cpp,\ |
| 48 | htmlpars.cpp,htmltag.cpp,htmlwin.cpp,htmprint.cpp,m_dflist.cpp,\ |
| 49 | m_fonts.cpp,m_hline.cpp,m_image.cpp,m_layout.cpp,m_links.cpp,\ |
| 50 | m_list.cpp,m_pre.cpp,m_tables.cpp,winpars.cpp |
| 51 | |
| 52 | all : $(SOURCES) |
| 53 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) |
| 54 | .ifdef __WXMOTIF__ |
| 55 | library [--.lib]libwx_motif.olb $(OBJECTS) |
| 56 | .else |
| 57 | .ifdef __WXGTK__ |
| 58 | .ifdef __WXUNIVERSAL__ |
| 59 | library [--.lib]libwx_gtk_univ.olb $(OBJECTS) |
| 60 | .else |
| 61 | library [--.lib]libwx_gtk.olb $(OBJECTS) |
| 62 | .endif |
| 63 | .endif |
| 64 | .endif |
| 65 | |
| 66 | helpctrl.obj : helpctrl.cpp |
| 67 | helpdata.obj : helpdata.cpp |
| 68 | helpfrm.obj : helpfrm.cpp |
| 69 | htmlcell.obj : htmlcell.cpp |
| 70 | htmlfilt.obj : htmlfilt.cpp |
| 71 | htmlpars.obj : htmlpars.cpp |
| 72 | htmltag.obj : htmltag.cpp |
| 73 | htmlwin.obj : htmlwin.cpp |
| 74 | htmprint.obj : htmprint.cpp |
| 75 | m_dflist.obj : m_dflist.cpp |
| 76 | m_fonts.obj : m_fonts.cpp |
| 77 | m_hline.obj : m_hline.cpp |
| 78 | m_image.obj : m_image.cpp |
| 79 | m_layout.obj : m_layout.cpp |
| 80 | m_links.obj : m_links.cpp |
| 81 | m_list.obj : m_list.cpp |
| 82 | m_pre.obj : m_pre.cpp |
| 83 | m_tables.obj : m_tables.cpp |
| 84 | winpars.obj : winpars.cpp |