]>
Commit | Line | Data |
---|---|---|
95fbecf6 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=(__WXMOTIF__=1)/name=(as_is,short)\ | |
13 | /assume=(nostdnew,noglobal_array_new)/include=[] | |
14 | CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)/include=[] | |
15 | .else | |
16 | .ifdef __WXGTK__ | |
17 | CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
18 | /assume=(nostdnew,noglobal_array_new)/include=[] | |
19 | CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
20 | /include=[] | |
21 | .else | |
22 | .ifdef __WXGTK2__ | |
23 | CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
24 | /assume=(nostdnew,noglobal_array_new)/include=[] | |
25 | CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)\ | |
26 | /ieee=denorm/include=[] | |
27 | .else | |
28 | .ifdef __WXX11__ | |
29 | CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
30 | /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)/include=[] | |
31 | CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
32 | /name=(as_is,short)/include=[] | |
33 | .else | |
34 | CXX_DEFINE = | |
35 | CC_DEFINE = | |
36 | .endif | |
37 | .endif | |
38 | .endif | |
39 | .endif | |
40 | ||
41 | .suffixes : .cpp | |
42 | ||
43 | .cpp.obj : | |
44 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
45 | .c.obj : | |
46 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c | |
47 | ||
48 | OBJECTS=regcomp.obj,regerror.obj,regexec.obj,regfree.obj,\ | |
49 | regfronts.obj,tclUniData.obj | |
50 | ||
51 | SOURCES=regcomp.c,regc_color.c,regc_cvec.c,regc_lex.c,regc_locale.c,\ | |
52 | regc_nfa.c,regerror.c,regexec.c,rege_dfa.c,regfree.c,regfronts.c,\ | |
53 | tclUniData.c | |
54 | ||
55 | all : $(SOURCES) | |
56 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
57 | .ifdef __WXMOTIF__ | |
58 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
59 | .else | |
60 | .ifdef __WXGTK__ | |
61 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
62 | .else | |
63 | .ifdef __WXGTK2__ | |
64 | library [--.lib]libwx_gtk2.olb $(OBJECTS) | |
65 | .else | |
66 | .ifdef __WXX11__ | |
67 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
68 | .endif | |
69 | .endif | |
70 | .endif | |
71 | .endif | |
72 | ||
73 | regcomp.obj : regcomp.c | |
74 | regerror.obj : regerror.c | |
75 | regexec.obj : regexec.c | |
76 | regfree.obj : regfree.c | |
77 | regfronts.obj : regfronts.c | |
78 | tclUniData.obj : tclUniData.c |