| 1 | #***************************************************************************** |
| 2 | # * |
| 3 | # Make file for VMS * |
| 4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * |
| 5 | # Date : 14 December 2010 * |
| 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=advprops.obj,editors.obj,manager.obj,property.obj,propgrid.obj,\ |
| 47 | propgridiface.obj,propgridpagestate.obj,props.obj |
| 48 | |
| 49 | SOURCES=advprops.cpp editors.cpp manager.cpp property.cpp propgrid.cpp\ |
| 50 | propgridiface.cpp propgridpagestate.cpp props.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 | library [--.lib]libwx_gtk.olb $(OBJECTS) |
| 59 | .else |
| 60 | .ifdef __WXGTK2__ |
| 61 | library [--.lib]libwx_gtk2.olb $(OBJECTS) |
| 62 | .else |
| 63 | .ifdef __WXX11__ |
| 64 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) |
| 65 | .endif |
| 66 | .endif |
| 67 | .endif |
| 68 | .endif |
| 69 | |
| 70 | $(OBJECTS) : [--.include.wx]setup.h |
| 71 | |
| 72 | advprops.obj : advprops.cpp |
| 73 | editors.obj : editors.cpp |
| 74 | manager.obj : manager.cpp |
| 75 | property.obj : property.cpp |
| 76 | propgrid.obj : propgrid.cpp |
| 77 | propgridiface.obj : propgridiface.cpp |
| 78 | propgridpagestate.obj : propgridpagestate.cpp |
| 79 | props.obj : props.cpp |