]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/deprecated/descrip.mms
Committing in .
[wxWidgets.git] / contrib / src / deprecated / descrip.mms
CommitLineData
6804a3f7
JJ
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__
13CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
14 /assume=(nostdnew,noglobal_array_new)
15CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)
16.else
17.ifdef __WXGTK__
18.ifdef __WXUNIVERSAL__
19CXX_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\
20 /name=(as_is,short)/ieee=denorm/assume=(nostdnew,noglobal_array_new)
21CC_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\
22 /name=(as_is,short)/ieee=denorm
23.else
24CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
25 /assume=(nostdnew,noglobal_array_new)
26CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm
27.endif
28.else
29CXX_DEFINE =
30CC_DEFINE =
31.endif
32.endif
33
34YACC=bison/yacc
35
36SED=gsed
37
38LEX=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
47OBJECTS=prop.obj,propform.obj,proplist.obj,wxexpr.obj,parser.obj,resource.obj,\
48 treelay.obj
49
50SOURCES=prop.cpp,propform.cpp,proplist.cpp,wxexpr.cpp,parser.y,resource.cpp,\
51 treelay.cpp
52
53all : $(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
67prop.obj : prop.cpp
68propform.obj : propform.cpp
69proplist.obj : proplist.cpp
70wxexpr.obj : wxexpr.cpp
71parser.obj : parser.c lexer.c
72parser.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
82lexer.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
90resource.obj : resource.cpp
91treelay.obj : treelay.cpp