1 #*****************************************************************************
4 # Author : J.Jansen (joukj@hrem.stm.tudelft.nl) *
5 # Date : 24 April 2003 *
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 .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
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
43 cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
45 cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
47 OBJECTS=prop.obj,propform.obj,proplist.obj,wxexpr.obj,parser.obj,resource.obj,\
50 SOURCES=prop.cpp,propform.cpp,proplist.cpp,wxexpr.cpp,parser.y,resource.cpp,\
54 $(MMS)$(MMSQUALIFIERS) $(OBJECTS)
56 library/crea [---.lib]libwx_motif_deprecated.olb $(OBJECTS)
59 .ifdef __WXUNIVERSAL__
60 library/crea [---.lib]libwx_gtk_univ_deprecated.olb $(OBJECTS)
62 library/crea [---.lib]libwx_gtk_deprecated.olb $(OBJECTS)
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
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
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
90 resource.obj : resource.cpp
91 treelay.obj : treelay.cpp