From 0e4c7ab4f28aa1556d414a50f5b47285007c50eb Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Mon, 16 Jun 2003 16:51:46 +0000 Subject: [PATCH] makefiles for samples for digital mars git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/checklst/makefile.sc | 6 +++ samples/console/makefile.sc | 6 +++ samples/db/makefile.sc | 6 +++ samples/dialogs/makefile.sc | 5 +- samples/dialup/makefile.sc | 6 +++ samples/display/Makefile.sc | 6 +++ samples/dnd/makefile.sc | 6 +++ samples/docview/makefile.sc | 44 +++------------- samples/docvwmdi/makefile.sc | 6 +++ samples/dragimag/makefile.sc | 41 ++------------- samples/drawing/makefile.sc | 6 +++ samples/dynamic/makefile.sc | 6 +++ samples/erase/makefile.sc | 38 ++------------ samples/event/makefile.sc | 41 ++------------- samples/exec/makefile.sc | 41 ++------------- samples/font/makefile.sc | 6 +++ samples/grid/makefile.sc | 38 ++------------ samples/help/makefile.sc | 6 +++ samples/htlbox/Makefile.sc | 6 +++ samples/html/about/Makefile.sc | 6 +++ samples/html/help/Makefile.sc | 6 +++ samples/html/printing/Makefile.sc | 6 +++ samples/html/test/makefile.sc | 11 ++-- samples/html/virtual/Makefile.sc | 6 +++ samples/html/widget/Makefile.sc | 6 +++ samples/html/zip/Makefile.sc | 6 +++ samples/joytest/makefile.sc | 40 ++------------- samples/keyboard/makefile.sc | 39 ++------------ samples/listctrl/makefile.sc | 6 +++ samples/makefile.sc | 84 +++++++++++++++++++++++++++++++ samples/memcheck/makefile.sc | 6 +++ samples/menu/makefile.sc | 6 +++ samples/mfc/makefile.sc | 7 +++ samples/minifram/makefile.sc | 41 ++------------- samples/multimon/Makefile.sc | 6 +++ samples/nativdlg/makefile.sc | 39 ++------------ samples/newgrid/makefile.sc | 4 ++ samples/notebook/makefile.sc | 41 ++------------- samples/oleauto/makefile.sc | 6 +++ samples/opengl/makefile.sc | 4 ++ samples/ownerdrw/makefile.sc | 6 +++ samples/printing/makefile.sc | 6 +++ samples/propsize/makefile.sc | 41 ++------------- samples/regtest/makefile.sc | 6 +++ samples/resource/makefile.sc | 4 ++ samples/richedit/makefile.sc | 6 +++ samples/rotate/makefile.sc | 6 +++ samples/sashtest/makefile.sc | 41 ++------------- samples/scroll/makefile.sc | 6 +++ samples/scrollsub/makefile.sc | 6 +++ samples/shaped/makefile.sc | 41 ++------------- samples/sockets/makefile.sc | 4 ++ samples/splitter/makefile.sc | 41 ++------------- samples/statbar/makefile.sc | 41 ++------------- samples/taskbar/makefile.sc | 6 +++ samples/text/Makefile.sc | 6 +++ samples/toolbar/makefile.sc | 41 ++------------- samples/treectrl/makefile.sc | 41 ++------------- samples/typetest/makefile.sc | 41 ++------------- samples/validate/makefile.sc | 41 ++------------- samples/vscroll/Makefile.sc | 6 +++ samples/widgets/Makefile.sc | 6 +++ samples/wizard/makefile.sc | 41 ++------------- samples/wxtest/Makefile.sc | 6 +++ 64 files changed, 428 insertions(+), 758 deletions(-) create mode 100644 samples/checklst/makefile.sc create mode 100644 samples/console/makefile.sc create mode 100644 samples/db/makefile.sc create mode 100644 samples/dialup/makefile.sc create mode 100644 samples/display/Makefile.sc create mode 100644 samples/dnd/makefile.sc create mode 100644 samples/docvwmdi/makefile.sc create mode 100644 samples/drawing/makefile.sc create mode 100644 samples/dynamic/makefile.sc create mode 100644 samples/font/makefile.sc create mode 100644 samples/help/makefile.sc create mode 100644 samples/htlbox/Makefile.sc create mode 100644 samples/html/about/Makefile.sc create mode 100644 samples/html/help/Makefile.sc create mode 100644 samples/html/printing/Makefile.sc create mode 100644 samples/html/virtual/Makefile.sc create mode 100644 samples/html/widget/Makefile.sc create mode 100644 samples/html/zip/Makefile.sc create mode 100644 samples/listctrl/makefile.sc create mode 100644 samples/makefile.sc create mode 100644 samples/memcheck/makefile.sc create mode 100644 samples/menu/makefile.sc create mode 100644 samples/mfc/makefile.sc create mode 100644 samples/multimon/Makefile.sc create mode 100644 samples/newgrid/makefile.sc create mode 100644 samples/oleauto/makefile.sc create mode 100644 samples/opengl/makefile.sc create mode 100644 samples/ownerdrw/makefile.sc create mode 100644 samples/printing/makefile.sc create mode 100644 samples/regtest/makefile.sc create mode 100644 samples/resource/makefile.sc create mode 100644 samples/richedit/makefile.sc create mode 100644 samples/rotate/makefile.sc create mode 100644 samples/scroll/makefile.sc create mode 100644 samples/scrollsub/makefile.sc create mode 100644 samples/sockets/makefile.sc create mode 100644 samples/taskbar/makefile.sc create mode 100644 samples/text/Makefile.sc create mode 100644 samples/vscroll/Makefile.sc create mode 100644 samples/widgets/Makefile.sc create mode 100644 samples/wxtest/Makefile.sc diff --git a/samples/checklst/makefile.sc b/samples/checklst/makefile.sc new file mode 100644 index 0000000000..210074b44e --- /dev/null +++ b/samples/checklst/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=checklst +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/console/makefile.sc b/samples/console/makefile.sc new file mode 100644 index 0000000000..accd233c44 --- /dev/null +++ b/samples/console/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=console +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/db/makefile.sc b/samples/db/makefile.sc new file mode 100644 index 0000000000..8945a67c74 --- /dev/null +++ b/samples/db/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=dbtest +OBJECTS = $(TARGET).obj listdb.obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/dialogs/makefile.sc b/samples/dialogs/makefile.sc index 96ff380905..c2a1671953 100644 --- a/samples/dialogs/makefile.sc +++ b/samples/dialogs/makefile.sc @@ -1,4 +1,7 @@ # Symantec C++ makefile WXDIR = ..\.. +EXTRALIBS= TARGET=dialogs -include $(WXDIR)\src\makeprog.sc +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc + diff --git a/samples/dialup/makefile.sc b/samples/dialup/makefile.sc new file mode 100644 index 0000000000..290d82addd --- /dev/null +++ b/samples/dialup/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=nettest +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/display/Makefile.sc b/samples/display/Makefile.sc new file mode 100644 index 0000000000..850c448208 --- /dev/null +++ b/samples/display/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows +TARGET=display +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/dnd/makefile.sc b/samples/dnd/makefile.sc new file mode 100644 index 0000000000..edde5c7c07 --- /dev/null +++ b/samples/dnd/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=dnd +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/docview/makefile.sc b/samples/docview/makefile.sc index 250054f91f..d28750908c 100644 --- a/samples/docview/makefile.sc +++ b/samples/docview/makefile.sc @@ -1,38 +1,6 @@ -# Symantec C++ makefile for docview example -# NOTE that peripheral libraries are now dealt in main wxWindows makefile. - -WXDIR = $(WXWIN) -!include $(WXDIR)\src\makesc.env - -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -MSWINC = $(INCDIR)\msw -BASEINC = $(INCDIR)\base - -CC=sc -RC=rc -CFLAGS = -o -ml -W -Dwx_msw -LDFLAGS = -ml -W - -INCLUDE=$(BASEINC);$(MSWINC) - -LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib - -OBJECTS=docview.obj view.obj doc.obj - -.$(SRCSUFF).obj: - *$(CC) -c $(CFLAGS) -I$(INCLUDE) $< - -.rc.res: - *$(RC) -r -I$(INCLUDE) $< - -docview.exe: $(OBJECTS) docview.def docview.res - *$(CC) $(LDFLAGS) -o$@ $(OBJECTS) docview.def $(LIBS) - *$(RC) -k docview.res - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows +TARGET=docview +OBJECTS = $(TARGET).obj doc.obj view.obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/docvwmdi/makefile.sc b/samples/docvwmdi/makefile.sc new file mode 100644 index 0000000000..9eff0f89c0 --- /dev/null +++ b/samples/docvwmdi/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=docview +OBJECTS = $(TARGET).obj view.obj doc.obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/dragimag/makefile.sc b/samples/dragimag/makefile.sc index 7a02278dc4..1cf04cc480 100644 --- a/samples/dragimag/makefile.sc +++ b/samples/dragimag/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for dragimag example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=dragimag - -include $(WXDIR)\src\makesc.env - -dragimag.exe: dragimag.obj $(DEFFILE) dragimag.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k dragimag.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/drawing/makefile.sc b/samples/drawing/makefile.sc new file mode 100644 index 0000000000..e36be3cbf1 --- /dev/null +++ b/samples/drawing/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=drawing +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/dynamic/makefile.sc b/samples/dynamic/makefile.sc new file mode 100644 index 0000000000..4121cbbb83 --- /dev/null +++ b/samples/dynamic/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=dynamic +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/erase/makefile.sc b/samples/erase/makefile.sc index 031c3eeac6..9540426da0 100644 --- a/samples/erase/makefile.sc +++ b/samples/erase/makefile.sc @@ -1,36 +1,6 @@ -# Symantec C++ makefile - +#Digital Mars (was Symantec) C++ makefile WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +EXTRALIBS= TARGET=erase - -include $(WXDIR)\src\makesc.env - -minimal.exe: minimal.obj $(DEFFILE) minimal.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k minimal.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/event/makefile.sc b/samples/event/makefile.sc index fb0aceb47d..a3aa39afec 100644 --- a/samples/event/makefile.sc +++ b/samples/event/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for event example (Symantec C++) -# Created: 2001-01-31 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=event - -include $(WXDIR)\src\makesc.env - -event.exe: event.obj $(DEFFILE) event.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k event.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/exec/makefile.sc b/samples/exec/makefile.sc index e1a3a1a4f6..0276d80e44 100644 --- a/samples/exec/makefile.sc +++ b/samples/exec/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for exec example (Symantec C++) -# Created: 2000-03-14 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=exec - -include $(WXDIR)\src\makesc.env - -exec.exe: exec.obj $(DEFFILE) exec.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k exec.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/font/makefile.sc b/samples/font/makefile.sc new file mode 100644 index 0000000000..63e95e750f --- /dev/null +++ b/samples/font/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=font +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/grid/makefile.sc b/samples/grid/makefile.sc index 61968af568..56c4195745 100644 --- a/samples/grid/makefile.sc +++ b/samples/grid/makefile.sc @@ -1,36 +1,6 @@ -# Symantec C++ makefile - +#Digital Mars (was Symantec) C++ makefile WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +EXTRALIBS= TARGET=griddemo - -include $(WXDIR)\src\makesc.env - -griddemo.exe: griddemo.obj $(DEFFILE) griddemo.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k griddemo.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS= $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/help/makefile.sc b/samples/help/makefile.sc new file mode 100644 index 0000000000..eb1323c243 --- /dev/null +++ b/samples/help/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=demo +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/htlbox/Makefile.sc b/samples/htlbox/Makefile.sc new file mode 100644 index 0000000000..f5619971b2 --- /dev/null +++ b/samples/htlbox/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows +TARGET=htlbox +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/html/about/Makefile.sc b/samples/html/about/Makefile.sc new file mode 100644 index 0000000000..43325cdd80 --- /dev/null +++ b/samples/html/about/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\..\wxWindows +TARGET=about +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/html/help/Makefile.sc b/samples/html/help/Makefile.sc new file mode 100644 index 0000000000..362bea839a --- /dev/null +++ b/samples/html/help/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\..\wxWindows +TARGET=help +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/html/printing/Makefile.sc b/samples/html/printing/Makefile.sc new file mode 100644 index 0000000000..cbeee7003f --- /dev/null +++ b/samples/html/printing/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\..\wxWindows +TARGET=printing +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/html/test/makefile.sc b/samples/html/test/makefile.sc index b44f3b0b6f..1c9ffc2d90 100644 --- a/samples/html/test/makefile.sc +++ b/samples/html/test/makefile.sc @@ -1,9 +1,6 @@ -# Symantec C++ makefile - -WXDIR = $(WXWIN) - +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\..\wxWindows TARGET=test - +OBJECTS = $(TARGET).obj +EXTRALIBS = include $(WXDIR)\src\makeprog.sc - - diff --git a/samples/html/virtual/Makefile.sc b/samples/html/virtual/Makefile.sc new file mode 100644 index 0000000000..c01f4f3efc --- /dev/null +++ b/samples/html/virtual/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\..\wxWindows +TARGET=virtual +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/html/widget/Makefile.sc b/samples/html/widget/Makefile.sc new file mode 100644 index 0000000000..89e46e2824 --- /dev/null +++ b/samples/html/widget/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\..\wxWindows +TARGET=widget +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/html/zip/Makefile.sc b/samples/html/zip/Makefile.sc new file mode 100644 index 0000000000..e677f99e15 --- /dev/null +++ b/samples/html/zip/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\..\wxWindows +TARGET=zip +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/joytest/makefile.sc b/samples/joytest/makefile.sc index be3c6ffd92..32df4f5503 100644 --- a/samples/joytest/makefile.sc +++ b/samples/joytest/makefile.sc @@ -1,37 +1,7 @@ -# Purpose: makefile for joytest example (Symantec C++) -# Created: 2000-03-14 - +#Digital Mars (was Symantec) C++ makefile WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) -TARGET=joytest - -include $(WXDIR)\src\makesc.env - -joytest.exe: joytest.obj $(DEFFILE) joytest.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k joytest.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def +EXTRALIBS= +TARGET=joytest +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/keyboard/makefile.sc b/samples/keyboard/makefile.sc index b85f8d637c..dd90d58793 100644 --- a/samples/keyboard/makefile.sc +++ b/samples/keyboard/makefile.sc @@ -1,37 +1,6 @@ -; Last change: JS 8 Apr 102 12:33 pm -# Symantec C++ makefile - +#Digital Mars (was Symantec) C++ makefile WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +EXTRALIBS= TARGET=keyboard - -include $(WXDIR)\src\makesc.env - -keyboard.exe: keyboard.obj $(DEFFILE) keyboard.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k keyboard.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/listctrl/makefile.sc b/samples/listctrl/makefile.sc new file mode 100644 index 0000000000..f9798e8489 --- /dev/null +++ b/samples/listctrl/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=listtest +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/makefile.sc b/samples/makefile.sc new file mode 100644 index 0000000000..120366d9dd --- /dev/null +++ b/samples/makefile.sc @@ -0,0 +1,84 @@ +#makefile for Digital Mars / Symantec compilers + +WXDIR=.. + +all: + cd access + -make -f $(WXDIR)\samples\access\makefile.sc + -make -f $(WXDIR)\samples\artprov\makefile.sc + -make -f $(WXDIR)\samples\calendar\makefile.sc $@ + -make -f $(WXDIR)\samples\caret\makefile.sc $@ + -make -f $(WXDIR)\samples\checklst\makefile.sc $@ + -make -f $(WXDIR)\samples\config\makefile.sc $@ + -make -f $(WXDIR)\samples\console\makefile.sc $@ + -make -f $(WXDIR)\samples\controls\makefile.sc $@ + -make -f $(WXDIR)\samples\db\makefile.sc $@ + -make -f $(WXDIR)\samples\dialogs\makefile.sc $@ + -make -f $(WXDIR)\samples\dialup\makefile.sc $@ + -make -f $(WXDIR)\samples\display\makefile.sc $@ + -make -f $(WXDIR)\samples\dnd\makefile.sc $@ + -make -f $(WXDIR)\samples\docview\makefile.sc $@ + -make -f $(WXDIR)\samples\docvwmdi\makefile.sc $@ + -make -f $(WXDIR)\samples\dragimag\makefile.sc $@ + -make -f $(WXDIR)\samples\drawing\makefile.sc $@ + -make -f $(WXDIR)\samples\dynamic\makefile.sc $@ + -make -f $(WXDIR)\samples\erase\makefile.sc $@ + -make -f $(WXDIR)\samples\event\makefile.sc $@ + -make -f $(WXDIR)\samples\exec\makefile.sc $@ + -make -f $(WXDIR)\samples\font\makefile.sc $@ + -make -f $(WXDIR)\samples\grid\makefile.sc $@ + -make -f $(WXDIR)\samples\help\makefile.sc $@ + -make -f $(WXDIR)\samples\htlbox\makefile.sc $@ + -make -f $(WXDIR)\samples\html\makefile.sc $@ + -make -f $(WXDIR)\samples\image\makefile.sc $@ + -make -f $(WXDIR)\samples\internat\makefile.sc $@ + -make -f $(WXDIR)\samples\ipc\makefile.sc $@ + -make -f $(WXDIR)\samples\joytest\makefile.sc $@ + -make -f $(WXDIR)\samples\keyboard\makefile.sc $@ + -make -f $(WXDIR)\samples\layout\makefile.sc $@ + -make -f $(WXDIR)\samples\listbox\makefile.sc $@ + -make -f $(WXDIR)\samples\listctrl\makefile.sc $@ + -make -f $(WXDIR)\samples\mdi\makefile.sc $@ + -make -f $(WXDIR)\samples\memcheck\makefile.sc $@ + -make -f $(WXDIR)\samples\menu\makefile.sc $@ + -make -f $(WXDIR)\samples\mfc\makefile.sc $@ + -make -f $(WXDIR)\samples\minifram\makefile.sc $@ + -make -f $(WXDIR)\samples\minimal\makefile.sc $@ + -make -f $(WXDIR)\samples\mobile\makefile.sc $@ + -make -f $(WXDIR)\samples\multimon\makefile.sc $@ + -make -f $(WXDIR)\samples\nativdlg\makefile.sc $@ + -make -f $(WXDIR)\samples\newgrid\makefile.sc $@ + -make -f $(WXDIR)\samples\notebook\makefile.sc $@ + -make -f $(WXDIR)\samples\oleauto\makefile.sc $@ + -make -f $(WXDIR)\samples\opengl\makefile.sc $@ + -make -f $(WXDIR)\samples\ownerdrw\makefile.sc $@ + -make -f $(WXDIR)\samples\png\makefile.sc $@ + -make -f $(WXDIR)\samples\printing\makefile.sc $@ + -make -f $(WXDIR)\samples\propsize\makefile.sc $@ + -make -f $(WXDIR)\samples\regtest\makefile.sc $@ + -make -f $(WXDIR)\samples\resource\makefile.sc $@ + -make -f $(WXDIR)\samples\richedit\makefile.sc $@ + -make -f $(WXDIR)\samples\rotate\makefile.sc $@ + -make -f $(WXDIR)\samples\sashtest\makefile.sc $@ + -make -f $(WXDIR)\samples\scroll\makefile.sc $@ + -make -f $(WXDIR)\samples\scrollsub\makefile.sc $@ + -make -f $(WXDIR)\samples\shaped\makefile.sc $@ + -make -f $(WXDIR)\samples\sockets\makefile.sc $@ + -make -f $(WXDIR)\samples\splitter\makefile.sc $@ + -make -f $(WXDIR)\samples\statbar\makefile.sc $@ + -make -f $(WXDIR)\samples\tab\makefile.sc $@ + -make -f $(WXDIR)\samples\taskbar\makefile.sc $@ + -make -f $(WXDIR)\samples\text\makefile.sc $@ + -make -f $(WXDIR)\samples\thread\makefile.sc $@ + -make -f $(WXDIR)\samples\toolbar\makefile.sc $@ + -make -f $(WXDIR)\samples\treectrl\makefile.sc $@ + -make -f $(WXDIR)\samples\typetest\makefile.sc $@ + -make -f $(WXDIR)\samples\validate\makefile.sc $@ + -make -f $(WXDIR)\samples\vscroll\makefile.sc $@ + -make -f $(WXDIR)\samples\widgets\makefile.sc $@ + -make -f $(WXDIR)\samples\wizard\makefile.sc $@ + -make -f $(WXDIR)\samples\wxtest\makefile.sc $@ + -make -f $(WXDIR)\samples\bytes\makefile.sc $@ + + + diff --git a/samples/memcheck/makefile.sc b/samples/memcheck/makefile.sc new file mode 100644 index 0000000000..4843145f5a --- /dev/null +++ b/samples/memcheck/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=memcheck +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/menu/makefile.sc b/samples/menu/makefile.sc new file mode 100644 index 0000000000..45d818c505 --- /dev/null +++ b/samples/menu/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=menu +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/mfc/makefile.sc b/samples/mfc/makefile.sc new file mode 100644 index 0000000000..2f23af2d79 --- /dev/null +++ b/samples/mfc/makefile.sc @@ -0,0 +1,7 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=hello +$(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res +$(TARGET) +include $(WXDIR)\src\makeprog.sc diff --git a/samples/minifram/makefile.sc b/samples/minifram/makefile.sc index 2b60356177..3efa80cd3c 100644 --- a/samples/minifram/makefile.sc +++ b/samples/minifram/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for minifram example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=minifram - -include $(WXDIR)\src\makesc.env - -minifram.exe: minifram.obj $(DEFFILE) minifram.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k minifram.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/multimon/Makefile.sc b/samples/multimon/Makefile.sc new file mode 100644 index 0000000000..394a960d8c --- /dev/null +++ b/samples/multimon/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows +TARGET=multimon_test +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/nativdlg/makefile.sc b/samples/nativdlg/makefile.sc index 235c8f8bc1..8458e846f9 100644 --- a/samples/nativdlg/makefile.sc +++ b/samples/nativdlg/makefile.sc @@ -1,35 +1,6 @@ -# Symantec C++ makefile for hello example -# NOTE that peripheral libraries are now dealt in main wxWindows makefile. - +#Digital Mars (was Symantec) C++ makefile WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -MSWINC = $(INCDIR)\msw -BASEINC = $(INCDIR)\base - -CC=sc -RC=rc -CFLAGS = -o -ml -W -Dwx_msw -LDFLAGS = -ml -W - -INCLUDE=$(BASEINC);$(MSWINC) - -LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib - -.cc.obj: - *$(CC) -c $(CFLAGS) -I$(INCLUDE) $< - -.rc.res: - *$(RC) -r -I$(INCLUDE) $< - -hello.exe: hello.obj hello.def hello.res - *$(CC) $(LDFLAGS) -o$@ hello.obj hello.def $(LIBS) - *$(RC) -k hello.res - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - +EXTRALIBS= +TARGET=nativdlg +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/newgrid/makefile.sc b/samples/newgrid/makefile.sc new file mode 100644 index 0000000000..38b713e7a3 --- /dev/null +++ b/samples/newgrid/makefile.sc @@ -0,0 +1,4 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +include $(WXDIR)\src\makeprog.sc diff --git a/samples/notebook/makefile.sc b/samples/notebook/makefile.sc index 3a2b33b872..20174a385b 100644 --- a/samples/notebook/makefile.sc +++ b/samples/notebook/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for notebook example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=notebook - -include $(WXDIR)\src\makesc.env - -notebook.exe: notebook.obj $(DEFFILE) notebook.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k notebook.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/oleauto/makefile.sc b/samples/oleauto/makefile.sc new file mode 100644 index 0000000000..bda02c2d7f --- /dev/null +++ b/samples/oleauto/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=oleauto +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/opengl/makefile.sc b/samples/opengl/makefile.sc new file mode 100644 index 0000000000..38b713e7a3 --- /dev/null +++ b/samples/opengl/makefile.sc @@ -0,0 +1,4 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +include $(WXDIR)\src\makeprog.sc diff --git a/samples/ownerdrw/makefile.sc b/samples/ownerdrw/makefile.sc new file mode 100644 index 0000000000..b18de3fa44 --- /dev/null +++ b/samples/ownerdrw/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=ownerdrw +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/printing/makefile.sc b/samples/printing/makefile.sc new file mode 100644 index 0000000000..5b1c6db309 --- /dev/null +++ b/samples/printing/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=printing +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/propsize/makefile.sc b/samples/propsize/makefile.sc index 50f7007ba7..dccdd8edd4 100644 --- a/samples/propsize/makefile.sc +++ b/samples/propsize/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for propsize example (Symantec C++) -# Created: 2000-03-14 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=propsize - -include $(WXDIR)\src\makesc.env - -propsize.exe: propsize.obj $(DEFFILE) propsize.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k propsize.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/regtest/makefile.sc b/samples/regtest/makefile.sc new file mode 100644 index 0000000000..b1de45d913 --- /dev/null +++ b/samples/regtest/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=regtest +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/resource/makefile.sc b/samples/resource/makefile.sc new file mode 100644 index 0000000000..38b713e7a3 --- /dev/null +++ b/samples/resource/makefile.sc @@ -0,0 +1,4 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +include $(WXDIR)\src\makeprog.sc diff --git a/samples/richedit/makefile.sc b/samples/richedit/makefile.sc new file mode 100644 index 0000000000..a913070215 --- /dev/null +++ b/samples/richedit/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=wxlayout +OBJECTS = wxLayout.obj kbList.obj wxllist.obj wxlparser.obj wxlwindow.obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/rotate/makefile.sc b/samples/rotate/makefile.sc new file mode 100644 index 0000000000..73b688953a --- /dev/null +++ b/samples/rotate/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=rotate +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/sashtest/makefile.sc b/samples/sashtest/makefile.sc index 4c48c9e12f..21817b034f 100644 --- a/samples/sashtest/makefile.sc +++ b/samples/sashtest/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for sashtest example (Symantec C++) -# Created: 2000-03-14 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=sashtest - -include $(WXDIR)\src\makesc.env - -sashtest.exe: sashtest.obj $(DEFFILE) sashtest.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k sashtest.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/scroll/makefile.sc b/samples/scroll/makefile.sc new file mode 100644 index 0000000000..c7225c030a --- /dev/null +++ b/samples/scroll/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=scroll +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/scrollsub/makefile.sc b/samples/scrollsub/makefile.sc new file mode 100644 index 0000000000..bd5a3490ef --- /dev/null +++ b/samples/scrollsub/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=scrollsub +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/shaped/makefile.sc b/samples/shaped/makefile.sc index c37d85391b..682c546679 100644 --- a/samples/shaped/makefile.sc +++ b/samples/shaped/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for shaped example (Symantec C++) -# Created: 2000-01-03 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=shaped - -include $(WXDIR)\src\makesc.env - -shaped.exe: shaped.obj $(DEFFILE) shaped.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k shaped.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/sockets/makefile.sc b/samples/sockets/makefile.sc new file mode 100644 index 0000000000..38b713e7a3 --- /dev/null +++ b/samples/sockets/makefile.sc @@ -0,0 +1,4 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +include $(WXDIR)\src\makeprog.sc diff --git a/samples/splitter/makefile.sc b/samples/splitter/makefile.sc index 6719c1b7cf..b867be6c5e 100644 --- a/samples/splitter/makefile.sc +++ b/samples/splitter/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for splitter example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=splitter - -include $(WXDIR)\src\makesc.env - -splitter.exe: splitter.obj $(DEFFILE) splitter.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k splitter.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/statbar/makefile.sc b/samples/statbar/makefile.sc index 773fdc1c4b..b52e936902 100644 --- a/samples/statbar/makefile.sc +++ b/samples/statbar/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for statbar example (Symantec C++) -# Created: 2000-02-04 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=statbar - -include $(WXDIR)\src\makesc.env - -statbar.exe: statbar.obj $(DEFFILE) statbar.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k statbar.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/taskbar/makefile.sc b/samples/taskbar/makefile.sc new file mode 100644 index 0000000000..5eb654b8dc --- /dev/null +++ b/samples/taskbar/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = $(WXWIN) +EXTRALIBS= +TARGET=tbtest +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/text/Makefile.sc b/samples/text/Makefile.sc new file mode 100644 index 0000000000..dac57b1a75 --- /dev/null +++ b/samples/text/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows +TARGET=text +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/toolbar/makefile.sc b/samples/toolbar/makefile.sc index 6de8e6893c..8c8d2eb55c 100644 --- a/samples/toolbar/makefile.sc +++ b/samples/toolbar/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for toolbar example (Symantec C++) -# Created: 2000-03-14 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=toolbar - -include $(WXDIR)\src\makesc.env - -toolbar.exe: toolbar.obj $(DEFFILE) toolbar.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k toolbar.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/treectrl/makefile.sc b/samples/treectrl/makefile.sc index 058a4bb27b..350df570f7 100644 --- a/samples/treectrl/makefile.sc +++ b/samples/treectrl/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for treetest example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=treetest - -include $(WXDIR)\src\makesc.env - -treetest.exe: treetest.obj $(DEFFILE) treetest.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k treetest.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/typetest/makefile.sc b/samples/typetest/makefile.sc index dea8d1a4f3..0e7de742ad 100644 --- a/samples/typetest/makefile.sc +++ b/samples/typetest/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for typetest example (Symantec C++) -# Created: 2000-03-14 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=typetest - -include $(WXDIR)\src\makesc.env - -typetest.exe: typetest.obj $(DEFFILE) typetest.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k typetest.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/validate/makefile.sc b/samples/validate/makefile.sc index 6245a2917d..28d2868b20 100644 --- a/samples/validate/makefile.sc +++ b/samples/validate/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for validate example (Symantec C++) -# Created: 2000-03-14 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=validate - -include $(WXDIR)\src\makesc.env - -validate.exe: validate.obj $(DEFFILE) validate.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k validate.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/vscroll/Makefile.sc b/samples/vscroll/Makefile.sc new file mode 100644 index 0000000000..ad557493f3 --- /dev/null +++ b/samples/vscroll/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows +TARGET=vstest +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/widgets/Makefile.sc b/samples/widgets/Makefile.sc new file mode 100644 index 0000000000..979d862423 --- /dev/null +++ b/samples/widgets/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows +TARGET=widgets +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/wizard/makefile.sc b/samples/wizard/makefile.sc index 3a0045e8f3..2a81cda914 100644 --- a/samples/wizard/makefile.sc +++ b/samples/wizard/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for wizard example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows TARGET=wizard - -include $(WXDIR)\src\makesc.env - -wizard.exe: wizard.obj $(DEFFILE) wizard.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k wizard.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -sc16.def: - echo NAME $(TARGET) > sc16.def - echo EXETYPE WINDOWS >> sc16.def - echo STUB 'WINSTUB.EXE' >> sc16.def - echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def - echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def - echo HEAPSIZE 1024 >> sc16.def - echo STACKSIZE 8192 >> sc16.def - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/wxtest/Makefile.sc b/samples/wxtest/Makefile.sc new file mode 100644 index 0000000000..6bed9cca2f --- /dev/null +++ b/samples/wxtest/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\wxWindows +TARGET=test +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc -- 2.47.2