]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/descrip.mms
fix from Robert
[wxWidgets.git] / src / common / descrip.mms
index 00060a80614c688cacd9f4fad7e23ad03ac6065b..688a3d1c90e410e148974be8434d11151f17cfd2 100644 (file)
        set command $disk2:[joukj.com]bison.cld
 
 .ifdef __WXMOTIF__
-CXX_DEFINE = /define=(__WXMOTIF__=1)
+CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
+          /assume=(nostdnew,noglobal_array_new)
+CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)
+.else
+.ifdef __WXGTK__
+CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
+          /assume=(nostdnew,noglobal_array_new)
+CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm
 .else
 CXX_DEFINE =
+CC_DEFINE =
+.endif
 .endif
 
 YACC=bison/yacc
@@ -26,7 +35,7 @@ LEX=flex
 .cpp.obj :
        cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
 .c.obj :
-       cc $(CFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).c
+       cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
 
 OBJECTS = \
                parser.obj,\
@@ -36,6 +45,7 @@ OBJECTS = \
                cmdline.obj,\
                cmndata.obj,\
                config.obj,\
+               cshelp.obj,\
                ctrlcmn.obj,\
                ctrlsub.obj,\
                datetime.obj,\
@@ -112,6 +122,7 @@ OBJECTS1=framecmn.obj,\
                textfile.obj,\
                timercmn.obj,\
                tokenzr.obj,\
+               treebase.obj,\
                txtstrm.obj,\
                unzip.obj,\
                url.obj,\
@@ -135,6 +146,7 @@ SOURCES = \
                cmdline.cpp,\
                cmndata.cpp,\
                config.cpp,\
+               cshelp.cpp,\
                ctrlcmn.cpp,\
                ctrlsub.cpp,\
                datetime.cpp,\
@@ -210,6 +222,7 @@ SOURCES = \
                textfile.cpp,\
                timercmn.cpp,\
                tokenzr.cpp,\
+               treebase.cpp,\
                txtstrm.cpp,\
                unzip.c,\
                url.cpp,\
@@ -231,6 +244,11 @@ all : $(SOURCES)
 .ifdef __WXMOTIF__
        library [--.lib]libwx_motif.olb $(OBJECTS)
        library [--.lib]libwx_motif.olb $(OBJECTS1)
+.else
+.ifdef __WXGTK__
+       library [--.lib]libwx_gtk.olb $(OBJECTS)
+       library [--.lib]libwx_gtk.olb $(OBJECTS1)
+.endif
 .endif
 
 parser.obj : parser.c lexer.c
@@ -258,6 +276,7 @@ clipcmn.obj : clipcmn.cpp
 cmndata.obj : cmndata.cpp
 cmdline.obj : cmdline.cpp
 config.obj : config.cpp
+cshelp.obj : cshelp.cpp
 ctrlcmn.obj : ctrlcmn.cpp
 ctrlsub.obj : ctrlsub.cpp
 datetime.obj : datetime.cpp
@@ -333,6 +352,7 @@ textcmn.obj : textcmn.cpp
 textfile.obj : textfile.cpp
 timercmn.obj : timercmn.cpp
 tokenzr.obj : tokenzr.cpp
+treebase.obj : treebase.cpp
 txtstrm.obj : txtstrm.cpp
 unzip.obj : unzip.c
 url.obj : url.cpp