| 1 | #***************************************************************************** |
| 2 | # * |
| 3 | # Make file for VMS * |
| 4 | # Author : J.Jansen (joukj@hrem.stm.tudelft.nl) * |
| 5 | # Date : 15 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 | .else |
| 15 | .ifdef __WXGTK__ |
| 16 | CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ |
| 17 | /assume=(nostdnew,noglobal_array_new) |
| 18 | .else |
| 19 | CXX_DEFINE = |
| 20 | .endif |
| 21 | .endif |
| 22 | |
| 23 | .suffixes : .cpp |
| 24 | |
| 25 | .cpp.obj : |
| 26 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp |
| 27 | |
| 28 | all : |
| 29 | .ifdef __WXMOTIF__ |
| 30 | $(MMS)$(MMSQUALIFIERS) wxlayout.exe |
| 31 | .else |
| 32 | .ifdef __WXGTK__ |
| 33 | $(MMS)$(MMSQUALIFIERS) wxlayout_gtk.exe |
| 34 | .endif |
| 35 | .endif |
| 36 | |
| 37 | .ifdef __WXMOTIF__ |
| 38 | wxlayout.exe : wxlayout.obj,kbList.obj,wxllist.obj,wxlparser.obj,wxlwindow.obj |
| 39 | |
| 40 | cxxlink wxlayout,kbList.obj,wxllist.obj,wxlparser.obj,wxlwindow.obj,\ |
| 41 | [--.lib]vms/opt |
| 42 | .else |
| 43 | .ifdef __WXGTK__ |
| 44 | wxlayout_gtk.exe : wxlayout.obj,kbList.obj,wxllist.obj,wxlparser.obj,\ |
| 45 | wxlwindow.obj |
| 46 | cxxlink/exec=wxlayout_gtk.exe wxlayout,kbList.obj,wxllist.obj,\ |
| 47 | wxlparser.obj,wxlwindow.obj,[--.lib]vms_gtk/opt |
| 48 | .endif |
| 49 | .endif |
| 50 | |
| 51 | wxlayout.obj : wxlayout.cpp |
| 52 | kbList.obj : kblist.cpp |
| 53 | wxllist.obj : wxllist.cpp |
| 54 | wxlparser.obj : wxlparser.cpp |
| 55 | wxlwindow.obj : wxlwindow.cpp |