From deb818d61954857e227068cb1d4f7d0137056665 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Mon, 21 Aug 2000 10:31:06 +0000 Subject: [PATCH] Committing in . Modified Files: wxWindows/descrip.mms wxWindows/samples/caret/descrip.mms Compile support for caret sample on wxGTK/VMS ---------------------------------------------------------------------- git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- descrip.mms | 4 +++- samples/caret/descrip.mms | 22 +++++++++++++++++++--- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/descrip.mms b/descrip.mms index 91baaad732..72f7eeb533 100644 --- a/descrip.mms +++ b/descrip.mms @@ -32,7 +32,9 @@ gtk : setup.h $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [--.demos.bombs] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) - set default [--.samples.minimal] + set default [--.samples.caret] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) + set default [-.minimal] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) motif : setup.h diff --git a/samples/caret/descrip.mms b/samples/caret/descrip.mms index 56acfb3d33..78972c1e90 100644 --- a/samples/caret/descrip.mms +++ b/samples/caret/descrip.mms @@ -11,8 +11,13 @@ .ifdef __WXMOTIF__ CXX_DEFINE = /define=(__WXMOTIF__=1) .else +.ifdef __WXGTK__ +CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new) +.else CXX_DEFINE = .endif +.endif .suffixes : .cpp @@ -20,11 +25,22 @@ CXX_DEFINE = cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp all : - $(MMS)$(MMSQUALIFIERS) caret.exe - -caret.exe : caret.obj .ifdef __WXMOTIF__ + $(MMS)$(MMSQUALIFIERS) caret.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) caret_gtk.exe +.endif +.endif + +.ifdef __WXMOTIF__ +caret.exe : caret.obj cxxlink caret,[--.lib]vms/opt +.else +.ifdef __WXGTK__ +caret_gtk.exe : caret.obj + cxxlink/exec=caret_gtk.exe caret,[--.lib]vms_gtk/opt +.endif .endif caret.obj : caret.cpp