]>
Commit | Line | Data |
---|---|---|
de3d7096 JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
5 | # Date : 24 August 2012 * | |
6 | # * | |
7 | #***************************************************************************** | |
8 | ||
9 | .first | |
10 | define wx [----.include.wx] | |
11 | ||
12 | .suffixes : .cpp | |
13 | ||
14 | .ifdef __WXMOTIF__ | |
15 | CXX_DEFINE = /define=(__WX__=1,__WXMOTIF__=1,__USE_STD_IOSTREAM=1)/name=(as_is,short)\ | |
16 | /assume=(nostdnew,noglobal_array_new)/include=([],[-.src],[-.include]) | |
17 | CC_DEFINE = /define=(__WX__=1,__WXMOTIF__=1)/name=(as_is,short)\ | |
18 | /include=([],[-.src],[-.include]) | |
19 | .else | |
20 | .ifdef __WXGTK__ | |
21 | CXX_DEFINE = /define=(__WX__=1,__WXGTK__=1,__USE_STD_IOSTREAM=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
22 | /assume=(nostdnew,noglobal_array_new)/include=([],[-.src],[-.include]) | |
23 | CC_DEFINE = /define=(__WX__=1,__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
24 | /include=([],[-.src],[-.include]) | |
25 | .else | |
26 | .ifdef __WXGTK2__ | |
27 | CXX_DEFINE = /define=(__WX__=1,__WXGTK__=1,VMS_GTK2=1,__USE_STD_IOSTREAM=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
28 | /assume=(nostdnew,noglobal_array_new)/include=([],[-.src],[-.include]) | |
29 | CC_DEFINE = /define=(__WX__=1,__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)\ | |
30 | /ieee=denorm/include=([],[-.src],[-.include]) | |
31 | .else | |
32 | .ifdef __WXX11__ | |
33 | CXX_DEFINE = /define=(__WX__=1,__WXX11__=1,__WXUNIVERSAL__==1,__USE_STD_IOSTREAM=1)/float=ieee\ | |
34 | /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)\ | |
35 | /include=([],[-.src],[-.include]) | |
36 | CC_DEFINE = /define=(__WX__=1,__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
37 | /name=(as_is,short)/include=([],[-.src],[-.include]) | |
38 | .else | |
39 | CXX_DEFINE = | |
40 | CC_DEFINE = | |
41 | .endif | |
42 | .endif | |
43 | .endif | |
44 | .endif | |
45 | ||
46 | .cxx.obj : | |
47 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cxx | |
48 | .cpp.obj : | |
49 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
50 | .c.obj : | |
51 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c | |
52 | ||
53 | OBJECTS=Accessor.obj,CharacterSet.obj,LexerBase.obj,LexerModule.obj,\ | |
54 | LexerNoExceptions.obj,LexerSimple.obj,PropSetSimple.obj,\ | |
55 | StyleContext.obj,WordList.obj | |
56 | ||
57 | SOURCES=Accessor.cxx,CharacterSet.cxx,LexerBase.cxx,LexerModule.cxx,\ | |
58 | LexerNoExceptions.cxx,LexerSimple.cxx,PropSetSimple.cxx,\ | |
59 | StyleContext.cxx,WordList.cxx | |
60 | ||
61 | all : $(SOURCES) | |
62 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
63 | .ifdef __WXMOTIF__ | |
64 | library [----.lib]libwx_motif.olb $(OBJECTS) | |
65 | If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_motif.olb [.CXX_REPOSITORY]*.obj | |
66 | .else | |
67 | .ifdef __WXGTK__ | |
68 | library [----.lib]libwx_gtk.olb $(OBJECTS) | |
69 | If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_gtk.olb [.CXX_REPOSITORY]*.obj | |
70 | .else | |
71 | .ifdef __WXGTK2__ | |
72 | library [----.lib]libwx_gtk2.olb $(OBJECTS) | |
73 | If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_gtk2.olb [.CXX_REPOSITORY]*.obj | |
74 | .else | |
75 | .ifdef __WXX11__ | |
76 | library [----.lib]libwx_x11_univ.olb $(OBJECTS) | |
77 | If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_x11_univ.olb [.CXX_REPOSITORY]*.obj | |
78 | .endif | |
79 | .endif | |
80 | .endif | |
81 | .endif | |
82 | ||
83 | $(OBJECTS) : [----.include.wx]setup.h | |
84 | ||
85 | Accessor.obj : Accessor.cxx | |
86 | CharacterSet.obj : CharacterSet.cxx | |
87 | LexerBase.obj : LexerBase.cxx | |
88 | LexerModule.obj : LexerModule.cxx | |
89 | LexerNoExceptions.obj : LexerNoExceptions.cxx | |
90 | LexerSimple.obj : LexerSimple.cxx | |
91 | PropSetSimple.obj : PropSetSimple.cxx | |
92 | StyleContext.obj : StyleContext.cxx | |
93 | WordList.obj : WordList.cxx |