]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/descrip.mms
compilation fix for wxUSE_TOOLTIPS=0 (i.e. wxUniv)
[wxWidgets.git] / src / unix / descrip.mms
index 3370b6debad05e8da1b09ac268988f569badb52e..9affb525e68b340c9f15e26455e7a7e4cf722574 100644 (file)
@@ -9,9 +9,18 @@
        define wx [--.include.wx]
 
 .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
 
 .suffixes : .cpp
@@ -19,21 +28,25 @@ CXX_DEFINE =
 .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 = \
                dialup.obj,\
+               dir.obj,\
                fontenum.obj,\
                fontutil.obj,\
                gsocket.obj,\
+               mimetype.obj,\
                threadpsx.obj,\
                utilsunx.obj
 
 SOURCES = \
                dialup.cpp,\
+               dir.cpp,\
                fontenum.cpp,\
                fontutil.cpp,\
                gsocket.c,\
+               mimetype.cpp,\
                threadpsx.cpp,\
                utilsunx.cpp
 
@@ -41,11 +54,17 @@ all : $(SOURCES)
        $(MMS)$(MMSQUALIFIERS) $(OBJECTS)
 .ifdef __WXMOTIF__
        library [--.lib]libwx_motif.olb $(OBJECTS)
+.else
+.ifdef __WXGTK__
+       library [--.lib]libwx_gtk.olb $(OBJECTS)
+.endif
 .endif
 
 dialup.obj : dialup.cpp
+dir.obj : dir.cpp
 fontenum.obj : fontenum.cpp
 fontutil.obj : fontutil.cpp
 gsocket.obj : gsocket.c
+mimetype.obj : mimetype.cpp
 threadpsx.obj : threadpsx.cpp
 utilsunx.obj : utilsunx.cpp