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