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