]> git.saurik.com Git - wxWidgets.git/commitdiff
Added some makefiles, more BC++/win16 fixes
authorJulian Smart <julian@anthemion.co.uk>
Fri, 17 Mar 2000 10:08:07 +0000 (10:08 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 17 Mar 2000 10:08:07 +0000 (10:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

13 files changed:
distrib/msw/generic.rsp
distrib/msw/makefile.rsp
distrib/msw/vc.rsp
src/msw/makefile.bcc
src/xpm/makefile.bcc [new file with mode: 0644]
src/xpm/xpmi.h
utils/hhp2cached/hhp2cached.cpp
utils/hhp2cached/hhp2cached.def [new file with mode: 0644]
utils/hhp2cached/hhp2cached.rc [new file with mode: 0644]
utils/hhp2cached/makefile.b32 [new file with mode: 0644]
utils/hhp2cached/makefile.g95 [new file with mode: 0644]
utils/hhp2cached/makefile.vc [new file with mode: 0644]
utils/hhp2cached/makefile.wat [new file with mode: 0644]

index 4c9551457058913160fad3a80743e81a32ebe6fe..59f5bcf43c5ee69a2d701d231d83730cd9442a74 100644 (file)
@@ -18,9 +18,7 @@ template.mak
 wx-config.in
 makefile.unx.in
 wxinstall
-descrip.mms
 setup.h_vms
-src/common/descrip.mms
 
 distrib/msw/*.rsp
 distrib/msw/*.bat
@@ -117,7 +115,6 @@ src/zlib/*.txt
 src/zlib/makefile*
 src/zlib/*.com
 src/zlib/*.3
-src/zlib/*.mms
 
 include/wx/*.h
 include/wx/*.inl
@@ -180,14 +177,14 @@ utils/dialoged/test/*.ico
 utils/dialoged/test/*.prj
 utils/dialoged/test/*.bmp
 
-utils/hhp2cache/*.h
-utils/hhp2cache/*.cpp
-utils/hhp2cache/*.def
-utils/hhp2cache/*.rc
-utils/hhp2cache/makefile*
-utils/hhp2cache/*.xbm
-utils/hhp2cache/*.xpm
-utils/hhp2cache/*.txt
+utils/hhp2cached/*.h
+utils/hhp2cached/*.cpp
+utils/hhp2cached/*.def
+utils/hhp2cached/*.rc
+utils/hhp2cached/makefile*
+utils/hhp2cached/*.xbm
+utils/hhp2cached/*.xpm
+utils/hhp2cached/*.txt
 
 contrib/configure
 contrib/configure.in
index d51c9456e0fae9c1eb5a5e5cb27ab497485edbbe..b804d7ea7e3e8a38191495d19146786dd3b47ebd 100644 (file)
@@ -79,3 +79,25 @@ contrib/samples/ogl/studio/Makefile.in
 contrib/samples/mmedia/Makefile.in
 contrib/samples/stc/Makefile.in
 
+descrip.mms
+contrib\samples\mmedia\descrip.mms
+deliver\wx\src\common\descrip.mms
+deliver\wx\src\png\scripts\descrip.mms
+deliver\wx\src\zlib\descrip.mms
+demos\bombs\descrip.mms
+samples\caret\descrip.mms
+samples\checklst\descrip.mms
+samples\config\descrip.mms
+samples\controls\descrip.mms
+samples\dialogs\descrip.mms
+samples\image\descrip.mms
+samples\menu\descrip.mms
+samples\minimal\descrip.mms
+src\common\descrip.mms
+src\generic\descrip.mms
+src\gtk\descrip.mms
+src\motif\descrip.mms
+src\png\scripts\descrip.mms
+src\unix\descrip.mms
+src\zlib\descrip.mms
+utils\dialoged\src\descrip.mms
index 3bc5d081624c572619052ce360d17b243e6e2537..fd4b8ce900c25b104f6215256ad7e1aa57c17fd0 100644 (file)
@@ -244,6 +244,9 @@ utils/dialoged/src/DialogEdVC.dsw
 utils/tex2rtf/src/Tex2RTFVC.dsp
 utils/tex2rtf/src/Tex2RTFVC.dsw
 
+utils/hhp2cached/hhp2cachedVC.dsp
+utils/hhp2cached/hhp2cachedVC.dsw
+
 contrib/src/ogl/OglVC.dsp
 contrib/src/ogl/OglVC.dsw
 
index a9c422961007e98f4034cdeaafc04b99b372a09f..c3b720ebdd6eedffe2178f6b6d1b931fad1cf667 100644 (file)
@@ -40,7 +40,7 @@ THISDIR = $(WXDIR)\src\msw
 # Please set these according to the settings in wx_setup.h, so we can include
 # the appropriate libraries in wx.lib
 USE_CTL3D=1
-USE_XPM_IN_MSW=0
+USE_XPM_IN_MSW=1
 
 PERIPH_LIBS=
 PERIPH_TARGET=
@@ -51,7 +51,7 @@ PERIPH_LIBS=$(WXDIR)\lib\bcc16\ctl3dv2.lib $(PERIPH_LIBS)
 !endif
 
 !if "$(USE_XPM_IN_MSW)" == "1"
-PERIPH_LIBS=$(WXDIR)\xpm.lib $(PERIPH_LIBS)
+PERIPH_LIBS=$(WXDIR)\lib\xpm.lib $(PERIPH_LIBS)
 PERIPH_TARGET=xpm $(PERIPH_TARGET)
 PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET)
 !endif
@@ -706,8 +706,6 @@ $(MSWDIR)\treelay.obj: $(GENDIR)\treelay.$(SRCSUFF)
 
 $(MSWDIR)\wizard.obj: $(GENDIR)\wizard.$(SRCSUFF)
 
-
-
 all_utils:
     cd $(WXDIR)\utils
     make -f makefile.bcc
@@ -723,17 +721,8 @@ all_execs:
     make -f makefile.bcc all_execs
     cd $(WXDIR)\src\msw
 
-all_libs:
-    cd $(WXDIR)\src\msw
-    make -f makefile.bcc dib fafa gauge hytext itsy prologio rcparser wx wxgraph\
-          wxstring wxtree mfutils # wxxpm
-
-all_contribs:
-    cd $(WXDIR)\src\msw
-    make -f makefile.bcc fafa wxstring itsy gauge # wxxpm
-
 # CONTRIB
-wxxpm: $(CFG)
+xpm:   $(CFG)
        cd $(WXDIR)\src\xpm
        make -f makefile.bcc -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG)
        cd $(WXDIR)\src\msw
diff --git a/src/xpm/makefile.bcc b/src/xpm/makefile.bcc
new file mode 100644 (file)
index 0000000..b01c0cb
--- /dev/null
@@ -0,0 +1,11 @@
+# Makefile for xpm
+# Borland C++   
+
+
+LIBTARGET=$(WXDIR)\lib\xpm.lib
+
+OBJECTS = attrib.obj crbuffri.obj crdatfri.obj create.obj crifrbuf.obj crifrdat.obj\
+          data.obj image.obj info.obj hashtab.obj misc.obj parse.obj\
+          rdftodat.obj rdftoi.obj rgb.obj scan.obj simx.obj wrffrdat.obj wrffri.obj
+
+!include $(WXWIN)\src\makelib.bcc
index d171ecc1a40cc7c26247f7f142a0bfa6b2435940..c5ebaeb72baf6882751a3628970fecf90ef38e42 100644 (file)
@@ -45,7 +45,7 @@
 #include "xpm.h"
 
 // Added by JACS for some compilers (no popen/pclose functions)
-#if defined(__WATCOMC__) || (!defined(WIN32) && defined(_MSC_VER))
+#if defined(__WATCOMC__) || (!defined(WIN32) && defined(_MSC_VER)) || (!defined(WIN32) && defined(__BORLANDC__))
 #define NO_ZPIPE
 #endif
 
index 4c6f30c52c19f72c453d965e88151e35310022e0..471fa04eeacc94404162abc30f99273adcdb0d76 100644 (file)
@@ -6,8 +6,17 @@
 
 */
 
+// For compilers that support precompilation, includes "wx/wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#include "wx/wx.h"
+#endif
 
-#include <wx/wx.h>
 #include <wx/html/helpdata.h>
 
 
diff --git a/utils/hhp2cached/hhp2cached.def b/utils/hhp2cached/hhp2cached.def
new file mode 100644 (file)
index 0000000..76113fa
--- /dev/null
@@ -0,0 +1,7 @@
+NAME         hhp2cached
+DESCRIPTION  'hhp2cached utility'
+EXETYPE      WINDOWS
+CODE         PRELOAD MOVEABLE DISCARDABLE
+DATA         PRELOAD MOVEABLE MULTIPLE
+HEAPSIZE     4048
+STACKSIZE    16000
diff --git a/utils/hhp2cached/hhp2cached.rc b/utils/hhp2cached/hhp2cached.rc
new file mode 100644 (file)
index 0000000..b86c4e2
--- /dev/null
@@ -0,0 +1 @@
+#include "wx/msw/wx.rc"
diff --git a/utils/hhp2cached/makefile.b32 b/utils/hhp2cached/makefile.b32
new file mode 100644 (file)
index 0000000..c6e37fd
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# File:                makefile.b32
+# Author:      Julian Smart
+# Created:     1999
+# Updated:     
+# Copyright:
+#
+# Makefile : Builds sample for 32-bit BC++
+
+WXDIR = $(WXWIN)
+
+TARGET=hhp2cached
+OBJECTS = $(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.b32
+
diff --git a/utils/hhp2cached/makefile.g95 b/utils/hhp2cached/makefile.g95
new file mode 100644 (file)
index 0000000..e2a0470
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# File:         makefile.g95
+# Author:       Julian Smart
+# Created:      1999
+# Updated:
+# Copyright:    (c) Julian Smart, 1999
+#
+# Makefile for wxWindows sample (Cygwin/Mingw32).
+
+WXDIR = ../..
+
+TARGET=hhp2cached
+OBJECTS = $(TARGET).o
+
+include $(WXDIR)/src/makeprog.g95
+
diff --git a/utils/hhp2cached/makefile.vc b/utils/hhp2cached/makefile.vc
new file mode 100644 (file)
index 0000000..cdbc91c
--- /dev/null
@@ -0,0 +1,18 @@
+#
+# File:                makefile.vc
+# Author:      Julian Smart
+# Created:     1999
+# Updated:     
+# Copyright:   (c) Julian Smart
+#
+# Makefile : Builds sample (VC++, WIN32)
+# Use FINAL=1 argument to nmake to build final version with no debug info.
+
+# Set WXDIR for your system
+WXDIR = $(WXWIN)
+
+PROGRAM=hhp2cached
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.vc
+
diff --git a/utils/hhp2cached/makefile.wat b/utils/hhp2cached/makefile.wat
new file mode 100644 (file)
index 0000000..7d2d392
--- /dev/null
@@ -0,0 +1,15 @@
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+# 
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = hhp2cached
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+