]>
Commit | Line | Data |
---|---|---|
1 | #***************************************************************************** | |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
5 | # Date : 1 September 2006 * | |
6 | # * | |
7 | #***************************************************************************** | |
8 | .first | |
9 | define wx [--.include.wx] | |
10 | ||
11 | .ifdef __WXMOTIF__ | |
12 | CXX_DEFINE = /nowarn/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 | /nowarn/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)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
23 | /nowarn/assume=(nostdnew,noglobal_array_new) | |
24 | CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2)/float=ieee/name=(as_is,short)/ieee=denorm | |
25 | .else | |
26 | .ifdef __WXX11__ | |
27 | CXX_DEFINE = /nowarn/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 = dockart.obj,floatpane.obj,framemanager.obj,auibook.obj,tabmdi.obj | |
47 | ||
48 | SOURCES = dockart.cpp floatpane.cpp framemanager.cpp auibook.cpp tabmdi.cpp | |
49 | ||
50 | all : $(SOURCES) | |
51 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
52 | .ifdef __WXMOTIF__ | |
53 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
54 | .else | |
55 | .ifdef __WXGTK__ | |
56 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
57 | .else | |
58 | .ifdef __WXGTK2__ | |
59 | library [--.lib]libwx_gtk2.olb $(OBJECTS) | |
60 | .else | |
61 | .ifdef __WXX11__ | |
62 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
63 | .endif | |
64 | .endif | |
65 | .endif | |
66 | .endif | |
67 | ||
68 | dockart.obj : dockart.cpp | |
69 | floatpane.obj : floatpane.cpp | |
70 | framemanager.obj : framemanager.cpp | |
71 | auibook.obj : auibook.cpp | |
72 | tabmdi.obj : tabmdi.cpp |