]>
Commit | Line | Data |
---|---|---|
1 | #***************************************************************************** | |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
5 | # Date : 24 August 2012 * | |
6 | # * | |
7 | #***************************************************************************** | |
8 | .first | |
9 | define wx [--.include.wx] | |
10 | ||
11 | .ifdef __WXMOTIF__ | |
12 | CXX_DEFINE = /define=(__WX__=1,__WXMOTIF__=1,SCI_LEXER=1,LINK_LEXERS=1)\ | |
13 | /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)\ | |
14 | /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) | |
15 | CC_DEFINE = /define=(__WX__=1,__WXMOTIF__=1,SCI_LEXER=1,LINK_LEXERS=1)\ | |
16 | /name=(as_is,short)\ | |
17 | /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) | |
18 | .else | |
19 | .ifdef __WXGTK__ | |
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)\ | |
23 | /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) | |
24 | CC_DEFINE = /define=(__WX__=1,__WXGTK__=1,SCI_LEXER=1,LINK_LEXERS=1)\ | |
25 | /float=ieee/name=(as_is,short)/ieee=denorm\ | |
26 | /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) | |
27 | .else | |
28 | .ifdef __WXGTK2__ | |
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)\ | |
32 | /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) | |
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\ | |
35 | /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) | |
36 | .else | |
37 | .ifdef __WXX11__ | |
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)\ | |
41 | /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) | |
42 | CC_DEFINE=\ | |
43 | /define=(__WX__=1,__WXX11__=1,__WXUNIVERSAL__==1,SCI_LEXER=1,LINK_LEXERS=1)\ | |
44 | /float=ieee/name=(as_is,short)\ | |
45 | /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) | |
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) | |
84 | set def [-.lexlib] | |
85 | $(MMS)$(MMSQUALIFIERS) | |
86 | set def [-.lexers] | |
87 | $(MMS)$(MMSQUALIFIERS) | |
88 | set def [--] | |
89 | ||
90 | $(OBJECTS) : [--.include.wx]setup.h | |
91 | ||
92 | PlatWX.obj : PlatWX.cpp | |
93 | ScintillaWX.obj : ScintillaWX.cpp | |
94 | stc.obj : stc.cpp |