]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/deprecated/descrip.mms
Use the unicode character, if available in the event
[wxWidgets.git] / contrib / src / deprecated / descrip.mms
1 #*****************************************************************************
2 # *
3 # Make file for VMS *
4 # Author : J.Jansen (joukj@hrem.stm.tudelft.nl) *
5 # Date : 24 April 2003 *
6 # *
7 #*****************************************************************************
8 .first
9 define wx [---.include.wx]
10 set command $disk2:[joukj.com]bison.cld
11
12 .ifdef __WXMOTIF__
13 CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
14 /assume=(nostdnew,noglobal_array_new)
15 CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)
16 .else
17 .ifdef __WXGTK__
18 .ifdef __WXUNIVERSAL__
19 CXX_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\
20 /name=(as_is,short)/ieee=denorm/assume=(nostdnew,noglobal_array_new)
21 CC_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\
22 /name=(as_is,short)/ieee=denorm
23 .else
24 CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
25 /assume=(nostdnew,noglobal_array_new)
26 CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm
27 .endif
28 .else
29 CXX_DEFINE =
30 CC_DEFINE =
31 .endif
32 .endif
33
34 YACC=bison/yacc
35
36 SED=gsed
37
38 LEX=flex
39
40 .suffixes : .cpp
41
42 .cpp.obj :
43 cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
44 .c.obj :
45 cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
46
47 OBJECTS=prop.obj,propform.obj,proplist.obj,wxexpr.obj,parser.obj,resource.obj,\
48 treelay.obj
49
50 SOURCES=prop.cpp,propform.cpp,proplist.cpp,wxexpr.cpp,parser.y,resource.cpp,\
51 treelay.cpp
52
53 all : $(SOURCES)
54 $(MMS)$(MMSQUALIFIERS) $(OBJECTS)
55 .ifdef __WXMOTIF__
56 library/crea [---.lib]libwx_motif_deprecated.olb $(OBJECTS)
57 .else
58 .ifdef __WXGTK__
59 .ifdef __WXUNIVERSAL__
60 library/crea [---.lib]libwx_gtk_univ_deprecated.olb $(OBJECTS)
61 .else
62 library/crea [---.lib]libwx_gtk_deprecated.olb $(OBJECTS)
63 .endif
64 .endif
65 .endif
66
67 prop.obj : prop.cpp
68 propform.obj : propform.cpp
69 proplist.obj : proplist.cpp
70 wxexpr.obj : wxexpr.cpp
71 parser.obj : parser.c lexer.c
72 parser.c : parser.y lexer.c
73 $(YACC) parser.y
74 pipe $(SED) -e "s;y_tab.c;parser.y;g" < y_tab.c | \
75 $(SED) -e "s/BUFSIZ/5000/g" | \
76 $(SED) -e "s/YYLMAX 200/YYLMAX 5000/g" | \
77 $(SED) -e "s/yy/PROIO_yy/g" | \
78 $(SED) -e "s/input/PROIO_input/g" | \
79 $(SED) -e "s/unput/PROIO_unput/g" > parser.c
80 delete y_tab.c;*
81
82 lexer.c : lexer.l
83 $(LEX) lexer.l
84 pipe $(SED) -e "s;lexyy.c;lexer.l;g" < lexyy.c | \
85 $(SED) -e "s/yy/PROIO_yy/g" | \
86 $(SED) -e "s/input/PROIO_input/g" | \
87 $(SED) -e "s/unput/PROIO_unput/g" > lexer.c
88 delete lexyy.c;*
89
90 resource.obj : resource.cpp
91 treelay.obj : treelay.cpp