1 #*****************************************************************************
4 # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
5 # Date : 13 February 2006 *
7 #*****************************************************************************
9 define wx [---.include.wx]
10 set command $disk2:[joukj.com]bison.cld
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)
18 CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee\
19 /name=(as_is,short)/ieee=denorm/assume=(nostdnew,noglobal_array_new)
20 CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee\
21 /name=(as_is,short)/ieee=denorm
24 .ifdef __WXUNIVERSAL__
25 CXX_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\
26 /name=(as_is,short)/ieee=denorm/assume=(nostdnew,noglobal_array_new)
27 CC_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\
28 /name=(as_is,short)/ieee=denorm
30 CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
31 /assume=(nostdnew,noglobal_array_new)
32 CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm
50 cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
52 cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
54 OBJECTS=prop.obj,propform.obj,proplist.obj,wxexpr.obj,parser.obj,resource.obj,\
57 SOURCES=prop.cpp,propform.cpp,proplist.cpp,wxexpr.cpp,parser.y,resource.cpp,\
61 $(MMS)$(MMSQUALIFIERS) $(OBJECTS)
63 library/crea [---.lib]libwx_motif_deprecated.olb $(OBJECTS)
66 library/crea [---.lib]libwx_gtk2_deprecated.olb $(OBJECTS)
69 .ifdef __WXUNIVERSAL__
70 library/crea [---.lib]libwx_gtk_univ_deprecated.olb $(OBJECTS)
72 library/crea [---.lib]libwx_gtk_deprecated.olb $(OBJECTS)
79 propform.obj : propform.cpp
80 proplist.obj : proplist.cpp
81 wxexpr.obj : wxexpr.cpp
82 parser.obj : parser.c lexer.c
83 parser.c : parser.y lexer.c
85 pipe $(SED) -e "s;y_tab.c;parser.y;g" < y_tab.c | \
86 $(SED) -e "s/BUFSIZ/5000/g" | \
87 $(SED) -e "s/YYLMAX 200/YYLMAX 5000/g" | \
88 $(SED) -e "s/yy/PROIO_yy/g" | \
89 $(SED) -e "s/input/PROIO_input/g" | \
90 $(SED) -e "s/unput/PROIO_unput/g" > parser.c
95 pipe $(SED) -e "s;lexyy.c;lexer.l;g" < lexyy.c | \
96 $(SED) -e "s/yy/PROIO_yy/g" | \
97 $(SED) -e "s/input/PROIO_input/g" | \
98 $(SED) -e "s/unput/PROIO_unput/g" > lexer.c
101 resource.obj : resource.cpp
102 treelay.obj : treelay.cpp