]>
Commit | Line | Data |
---|---|---|
1fe0a566 JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
733fa10b | 5 | # Date : 2 April 2011 * |
1fe0a566 JJ |
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 | ||
2cb8531c | 46 | OBJECTS = dockart.obj,floatpane.obj,framemanager.obj,auibook.obj,tabmdi.obj,\ |
733fa10b | 47 | auibar.obj,tabart.obj |
1fe0a566 | 48 | |
2cb8531c | 49 | SOURCES = dockart.cpp floatpane.cpp framemanager.cpp auibook.cpp tabmdi.cpp \ |
733fa10b | 50 | auibar.cpp tabart.cpp |
1fe0a566 JJ |
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 | ||
38e54405 JJ |
70 | $(OBJECTS) : [--.include.wx]setup.h |
71 | ||
1fe0a566 JJ |
72 | dockart.obj : dockart.cpp |
73 | floatpane.obj : floatpane.cpp | |
74 | framemanager.obj : framemanager.cpp | |
6dcc13f2 JJ |
75 | auibook.obj : auibook.cpp |
76 | tabmdi.obj : tabmdi.cpp | |
2cb8531c | 77 | auibar.obj : auibar.cpp |
733fa10b | 78 | tabart.obj : tabart.cpp |