]> git.saurik.com Git - wxWidgets.git/blame - src/stc/descrip.mms
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / stc / descrip.mms
CommitLineData
b34d087a
JJ
1#*****************************************************************************
2# *
3# Make file for VMS *
4# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
38e54405 5# Date : 14 December 2010 *
b34d087a
JJ
6# *
7#*****************************************************************************
8.first
9 define wx [--.include.wx]
10
11.ifdef __WXMOTIF__
94a1ccb9
JJ
12CXX_DEFINE = /define=(__WX__=1,__WXMOTIF__=1,SCI_LEXER=1,LINK_LEXERS=1)\
13 /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)\
b34d087a 14 /include=([],[.scintilla.src],[.scintilla.include])
94a1ccb9
JJ
15CC_DEFINE = /define=(__WX__=1,__WXMOTIF__=1,SCI_LEXER=1,LINK_LEXERS=1)\
16 /name=(as_is,short)/include=([],[.scintilla.src],[.scintilla.include])
b34d087a
JJ
17.else
18.ifdef __WXGTK__
94a1ccb9
JJ
19CXX_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])
23CC_DEFINE = /define=(__WX__=1,__WXGTK__=1,SCI_LEXER=1,LINK_LEXERS=1)\
24 /float=ieee/name=(as_is,short)/ieee=denorm\
b34d087a
JJ
25 /include=([],[.scintilla.src],[.scintilla.include])
26.else
27.ifdef __WXGTK2__
94a1ccb9
JJ
28CXX_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])
32CC_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])
b34d087a
JJ
35.else
36.ifdef __WXX11__
94a1ccb9
JJ
37CXX_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])
41CC_DEFINE=\
42 /define=(__WX__=1,__WXX11__=1,__WXUNIVERSAL__==1,SCI_LEXER=1,LINK_LEXERS=1)\
43 /float=ieee/name=(as_is,short)\
b34d087a 44 /include=([],[.scintilla.src],[.scintilla.include])
b34d087a
JJ
45.else
46CXX_DEFINE =
47CC_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
60OBJECTS=PlatWX.obj,ScintillaWX.obj,stc.obj
61
62SOURCES=PlatWX.cpp,ScintillaWX.cpp,stc.cpp
63
64all : $(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
38e54405
JJ
85$(OBJECTS) : [--.include.wx]setup.h
86
b34d087a
JJ
87PlatWX.obj : PlatWX.cpp
88ScintillaWX.obj : ScintillaWX.cpp
89stc.obj : stc.cpp