]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/deprecated/descrip.mms
Various dummy.cpp centralized in common/dummy.cpp. Build rebaked.
[wxWidgets.git] / contrib / src / deprecated / descrip.mms
1 #*****************************************************************************
2 # *
3 # Make file for VMS *
4 # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
5 # Date : 13 February 2006 *
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 __WXGTK2__
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
22 .else
23 .ifdef __WXGTK__
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
29 .else
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
33 .endif
34 .else
35 CXX_DEFINE =
36 CC_DEFINE =
37 .endif
38 .endif
39 .endif
40
41 YACC=bison/yacc
42
43 SED=gsed
44
45 LEX=flex
46
47 .suffixes : .cpp
48
49 .cpp.obj :
50 cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
51 .c.obj :
52 cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
53
54 OBJECTS=prop.obj,propform.obj,proplist.obj,wxexpr.obj,parser.obj,resource.obj,\
55 treelay.obj
56
57 SOURCES=prop.cpp,propform.cpp,proplist.cpp,wxexpr.cpp,parser.y,resource.cpp,\
58 treelay.cpp
59
60 all : $(SOURCES)
61 $(MMS)$(MMSQUALIFIERS) $(OBJECTS)
62 .ifdef __WXMOTIF__
63 library/crea [---.lib]libwx_motif_deprecated.olb $(OBJECTS)
64 .else
65 .ifdef __WXGTK2__
66 library/crea [---.lib]libwx_gtk2_deprecated.olb $(OBJECTS)
67 .else
68 .ifdef __WXGTK__
69 .ifdef __WXUNIVERSAL__
70 library/crea [---.lib]libwx_gtk_univ_deprecated.olb $(OBJECTS)
71 .else
72 library/crea [---.lib]libwx_gtk_deprecated.olb $(OBJECTS)
73 .endif
74 .endif
75 .endif
76 .endif
77
78 prop.obj : prop.cpp
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
84 $(YACC) parser.y
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
91 delete y_tab.c;*
92
93 lexer.c : lexer.l
94 $(LEX) lexer.l
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
99 delete lexyy.c;*
100
101 resource.obj : resource.cpp
102 treelay.obj : treelay.cpp