]>
Commit | Line | Data |
---|---|---|
8110dab0 JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
38e54405 | 5 | # Date : 14 December 2010 * |
8110dab0 JJ |
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=art_aui.obj,art_internal.obj,art_msw.obj,bar.obj,buttonbar.obj,\ | |
47 | control_ribbon.obj,gallery.obj,page.obj,panel.obj,\ | |
48 | toolbar_ribbon.obj | |
49 | ||
50 | SOURCES=art_aui.cpp art_internal.cpp art_msw.cpp bar.cpp buttonbar.cpp\ | |
51 | control.cpp gallery.cpp page.cpp panel.cpp toolbar.cpp | |
52 | ||
53 | all : $(SOURCES) | |
54 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
55 | .ifdef __WXMOTIF__ | |
56 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
57 | .else | |
58 | .ifdef __WXGTK__ | |
59 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
60 | .else | |
61 | .ifdef __WXGTK2__ | |
62 | library [--.lib]libwx_gtk2.olb $(OBJECTS) | |
63 | .else | |
64 | .ifdef __WXX11__ | |
65 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
66 | .endif | |
67 | .endif | |
68 | .endif | |
69 | .endif | |
70 | ||
38e54405 JJ |
71 | $(OBJECTS) : [--.include.wx]setup.h |
72 | ||
8110dab0 JJ |
73 | art_aui.obj : art_aui.cpp |
74 | art_internal.obj : art_internal.cpp | |
75 | art_msw.obj : art_msw.cpp | |
76 | bar.obj : bar.cpp | |
77 | buttonbar.obj : buttonbar.cpp | |
78 | control_ribbon.obj : control.cpp | |
79 | copy control.cpp control_ribbon.cpp | |
80 | cxx$(CXXFLAGS)$(CXX_DEFINE) control_ribbon.cpp | |
81 | delete control_ribbon.cpp;* | |
82 | gallery.obj : gallery.cpp | |
83 | page.obj : page.cpp | |
84 | panel.obj : panel.cpp | |
85 | toolbar_ribbon.obj : toolbar.cpp | |
86 | copy toolbar.cpp toolbar_ribbon.cpp | |
87 | cxx$(CXXFLAGS)$(CXX_DEFINE) toolbar_ribbon.cpp | |
88 | delete toolbar_ribbon.cpp;* |