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