diff --git a/contrib/samples/stc/Makefile.sc b/contrib/samples/stc/Makefile.sc new file mode 100644 index 0000000000..fe5084d999 --- /dev/null +++ b/contrib/samples/stc/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\..\wxWindows +TARGET=stctest +OBJECTS = $(TARGET).obj +EXTRALIBS = $(WXDIR)\lib\stc_sc.lib +include $(WXDIR)\src\makeprog.sc diff --git a/contrib/samples/svg/makefile.sc b/contrib/samples/svg/makefile.sc new file mode 100644 index 0000000000..16c3d00572 --- /dev/null +++ b/contrib/samples/svg/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\..\.. +EXTRALIBS=dcsvg_sc +TARGET=svgtest +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/contrib/src/stc/makefile.sc b/contrib/src/stc/makefile.sc new file mode 100644 index 0000000000..9fd0f15d00 --- /dev/null +++ b/contrib/src/stc/makefile.sc @@ -0,0 +1,74 @@ +WXDIR = ..\..\.. + +SCINTILLA=.\scintilla +S=$(SCINTILLA)\src + +EXTRASTCCPPFLAGS = -D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(SCINTILLA)/include -I$(S) +EXTRACPPFLAGS=$(EXTRACPPFLAGS) $(EXTRASTCCPPFLAGS) +STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) + +include $(WXDIR)\src\makesc.env +LIBTARGET=$(WXDIR)\lib\stc$(SC_SUFFIX).lib +THISDIR=$(WXDIR)\contrib\src\stc + + + + +# variables +OBJECTS = \ + $(S)\AutoComplete.obj \ + $(S)\CallTip.obj \ + $(S)\CellBuffer.obj \ + $(S)\ContractionState.obj \ + $(S)\Document.obj \ + $(S)\DocumentAccessor.obj \ + $(S)\Editor.obj \ + $(S)\Indicator.obj \ + $(S)\KeyMap.obj \ + $(S)\KeyWords.obj \ + $(S)\LexAVE.obj \ + $(S)\LexAda.obj \ + $(S)\LexAsm.obj \ + $(S)\LexBaan.obj \ + $(S)\LexBullant.obj \ + $(S)\LexMatlab.obj \ + $(S)\LexCPP.obj \ + $(S)\LexConf.obj \ + $(S)\LexCrontab.obj \ + $(S)\LexCSS.obj \ + $(S)\LexEiffel.obj \ + $(S)\LexFortran.obj \ + $(S)\LexHTML.obj \ + $(S)\LexLisp.obj \ + $(S)\LexLua.obj \ + $(S)\LexOthers.obj \ + $(S)\LexPOV.obj \ + $(S)\LexPascal.obj \ + $(S)\LexPerl.obj \ + $(S)\LexPython.obj \ + $(S)\LexRuby.obj \ + $(S)\LexSQL.obj \ + $(S)\LexVB.obj \ + $(S)\LineMarker.obj \ + $(S)\PropSet.obj \ + $(S)\RESearch.obj \ + $(S)\ScintillaBase.obj \ + $(S)\Style.obj \ + $(S)\StyleContext.obj \ + $(S)\UniConversion.obj \ + $(S)\ViewStyle.obj \ + $(S)\WindowAccessor.obj \ + $(S)\XPM.obj \ + \ + PlatWX.obj \ + ScintillaWX.obj \ + stc.obj \ + + +include $(WXDIR)\src\makelib.sc + + +.cxx.obj: + *$(CC) -c $(CFLAGS) $(STCCPPFLAGS) $(INCLUDE) $(OPTIONS) $< -o$@ + + diff --git a/contrib/src/svg/makefile.sc b/contrib/src/svg/makefile.sc new file mode 100644 index 0000000000..854884f275 --- /dev/null +++ b/contrib/src/svg/makefile.sc @@ -0,0 +1,20 @@ +############################################################################## +# Name: src/zlib/makefile.sc +# Purpose: build zlib Digital Mars 8.33 compiler +# Author: Chris Elliott +# Created: 21.01.03 +# RCS-ID: $Id$ +# Licence: wxWindows licence +############################################################################## + +WXDIR = ..\..\.. +include $(WXDIR)\src\makesc.env +LIBTARGET=$(WXDIR)\lib\dcsvg$(SC_SUFFIX).lib +THISDIR=$(WXDIR)\contrib\src\svg + +# variables +OBJECTS = \ + $(THISDIR)\dcsvg.obj + +include $(WXDIR)\src\makelib.sc + diff --git a/lib/_sc/wsock32_sc.def b/lib/_sc/wsock32_sc.def new file mode 100644 index 0000000000..9cb5991ef2 --- /dev/null +++ b/lib/_sc/wsock32_sc.def @@ -0,0 +1,32 @@ +LIBRARY wsock32 +EXETYPE NT +SUBSYSTEM WINDOWS +EXPORTS + _WSACleanup@0 = WSACleanup + _gethostbyaddr@12 = gethostbyaddr + _gethostbyname@4 = gethostbyname + _gethostname@8 = gethostname + _WSAStartup@8 = WSAStartup + + + _ntohs@4 = ntohs + _htons@4 = htons + _getservbyname@8 = getservbyname + _inet_addr@4 = inet_addr + _sendto@24 = sendto + _send@16 = send + _recvfrom@24 = recvfrom + _recv@16 = recv + ___WSAFDIsSet@8 = __WSAFDIsSet + _select@20 = select + _WSAGetLastError@0 = WSAGetLastError + _getsockname@12 = getsockname + _bind@12 = bind + _ioctlsocket@12 = ioctlsocket + _socket@12 = socket + _connect@12 = connect + _accept@12 = accept + _listen@8 = listen + _shutdown@8 = shutdown + _closesocket@4 = closesocket + _WSAAsyncSelect@16 = WSAAsyncSelect diff --git a/samples/artprov/Makefile.sc b/samples/artprov/Makefile.sc new file mode 100644 index 0000000000..928f493486 --- /dev/null +++ b/samples/artprov/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=arttest +OBJECTS = $(TARGET).obj artbrows.obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/caret/Makefile.sc b/samples/caret/Makefile.sc new file mode 100644 index 0000000000..536ddadb6f --- /dev/null +++ b/samples/caret/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=caret +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/checklst/makefile.sc b/samples/checklst/makefile.sc new file mode 100644 index 0000000000..319c5cd35e --- /dev/null +++ b/samples/checklst/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=checklst +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/config/Makefile.sc b/samples/config/Makefile.sc new file mode 100644 index 0000000000..4c14a167ee --- /dev/null +++ b/samples/config/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=conftest +OBJECTS = $(TARGET).obj +EXTRALIBS = +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/controls/makefile.sc b/samples/controls/makefile.sc new file mode 100644 index 0000000000..7623577efc --- /dev/null +++ b/samples/controls/makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=controls +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/db/makefile.sc b/samples/db/makefile.sc new file mode 100644 index 0000000000..7ad74634a6 --- /dev/null +++ b/samples/db/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +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 new file mode 100644 index 0000000000..d8dd828609 --- /dev/null +++ b/samples/dialogs/makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=dialogs +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/dialup/makefile.sc b/samples/dialup/makefile.sc new file mode 100644 index 0000000000..ed6a3c3054 --- /dev/null +++ b/samples/dialup/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=nettest +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/dnd/makefile.sc b/samples/dnd/makefile.sc new file mode 100644 index 0000000000..9c4baf90ad --- /dev/null +++ b/samples/dnd/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=dnd +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/docvwmdi/makefile.sc b/samples/docvwmdi/makefile.sc new file mode 100644 index 0000000000..5b89e188f2 --- /dev/null +++ b/samples/docvwmdi/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=docview +OBJECTS = $(TARGET).obj view.obj doc.obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/drawing/makefile.sc b/samples/drawing/makefile.sc new file mode 100644 index 0000000000..c009cae882 --- /dev/null +++ b/samples/drawing/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +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..56bec95d0e --- /dev/null +++ b/samples/dynamic/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=dynamic +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/font/makefile.sc b/samples/font/makefile.sc new file mode 100644 index 0000000000..fea69b76b2 --- /dev/null +++ b/samples/font/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=font +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..fecaba3732 --- /dev/null +++ b/samples/help/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=demo +OBJECTS = $(TARGET).obj +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..56cb9a5215 --- /dev/null +++ b/samples/html/about/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\.. +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..c6a9340e08 --- /dev/null +++ b/samples/html/help/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\.. +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..e415fd2f28 --- /dev/null +++ b/samples/html/printing/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\.. +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 new file mode 100644 index 0000000000..894f9fd9f3 --- /dev/null +++ b/samples/html/test/makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\.. +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..2010b7d422 --- /dev/null +++ b/samples/html/virtual/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\.. +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..50e13bfc24 --- /dev/null +++ b/samples/html/widget/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\.. +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..98dcb9e798 --- /dev/null +++ b/samples/html/zip/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\.. +TARGET=zip +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/image/makefile.sc b/samples/image/makefile.sc new file mode 100644 index 0000000000..6460f2130b --- /dev/null +++ b/samples/image/makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=image +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/ipc/client.sc b/samples/ipc/client.sc new file mode 100644 index 0000000000..b69e49e3d1 --- /dev/null +++ b/samples/ipc/client.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +TARGET=client +OBJECTS=$(TARGET).obj +EXTRALIBS= +include $(WXDIR)\src\makeprog.sc diff --git a/samples/ipc/server.sc b/samples/ipc/server.sc new file mode 100644 index 0000000000..c46ba1a349 --- /dev/null +++ b/samples/ipc/server.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +TARGET=server +OBJECTS=$(TARGET).obj +EXTRALIBS= +include $(WXDIR)\src\makeprog.sc diff --git a/samples/listctrl/makefile.sc b/samples/listctrl/makefile.sc new file mode 100644 index 0000000000..2335fe68dd --- /dev/null +++ b/samples/listctrl/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +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..44cd1ae98e --- /dev/null +++ b/samples/menu/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +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/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/oleauto/makefile.sc b/samples/oleauto/makefile.sc new file mode 100644 index 0000000000..9dcf639543 --- /dev/null +++ b/samples/oleauto/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +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..62c31c877d --- /dev/null +++ b/samples/ownerdrw/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=ownerdrw +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/png/Makefile.sc b/samples/png/Makefile.sc new file mode 100644 index 0000000000..1bac49df28 --- /dev/null +++ b/samples/png/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=pngdemo +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/printing/makefile.sc b/samples/printing/makefile.sc new file mode 100644 index 0000000000..6119daafd6 --- /dev/null +++ b/samples/printing/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=printing +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/regtest/makefile.sc b/samples/regtest/makefile.sc new file mode 100644 index 0000000000..202b0caf7e --- /dev/null +++ b/samples/regtest/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=regtest +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/richedit/makefile.sc b/samples/richedit/makefile.sc new file mode 100644 index 0000000000..37bc3e9f76 --- /dev/null +++ b/samples/richedit/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +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..9e189a3e12 --- /dev/null +++ b/samples/rotate/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=rotate +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/scroll/makefile.sc b/samples/scroll/makefile.sc new file mode 100644 index 0000000000..97673ff075 --- /dev/null +++ b/samples/scroll/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +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..0f75a6920d --- /dev/null +++ b/samples/scrollsub/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=scrollsub +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/sockets/client.sc b/samples/sockets/client.sc new file mode 100644 index 0000000000..4ada6e8ca2 --- /dev/null +++ b/samples/sockets/client.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=client +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/sockets/makefile.sc b/samples/sockets/makefile.sc new file mode 100644 index 0000000000..9a43c3bcb3 --- /dev/null +++ b/samples/sockets/makefile.sc @@ -0,0 +1,8 @@ +#Digital Mars (was Symantec) C++ makefile +all: + make -f client.sc + make -f server.sc + +clean: + make -f client.sc clean + make -f server.sc clean diff --git a/samples/sockets/server.sc b/samples/sockets/server.sc new file mode 100644 index 0000000000..faff57b3ce --- /dev/null +++ b/samples/sockets/server.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=server +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/stc/Makefile.sc b/samples/stc/Makefile.sc new file mode 100644 index 0000000000..fe5084d999 --- /dev/null +++ b/samples/stc/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\..\..\..\wxWindows +TARGET=stctest +OBJECTS = $(TARGET).obj +EXTRALIBS = $(WXDIR)\lib\stc_sc.lib +include $(WXDIR)\src\makeprog.sc diff --git a/samples/svg/makefile.sc b/samples/svg/makefile.sc new file mode 100644 index 0000000000..16c3d00572 --- /dev/null +++ b/samples/svg/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\..\.. +EXTRALIBS=dcsvg_sc +TARGET=svgtest +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/taskbar/makefile.sc b/samples/taskbar/makefile.sc new file mode 100644 index 0000000000..65d7e96908 --- /dev/null +++ b/samples/taskbar/makefile.sc @@ -0,0 +1,6 @@ +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +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..d0c3b33109 --- /dev/null +++ b/samples/text/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=text +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..f53a99e348 --- /dev/null +++ b/samples/widgets/Makefile.sc @@ -0,0 +1,7 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=widgets +OBJECTS = $(TARGET).obj button.obj combobox.obj gauge.obj listbox.obj\ + notebook.obj radiobox.obj slider.obj spinbtn.obj static.obj textctrl.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..b867b31821 --- /dev/null +++ b/samples/wxtest/Makefile.sc @@ -0,0 +1,6 @@ +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=test +OBJECTS = $(TARGET).obj test_wdr.obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/src/makeprog.sc b/src/makeprog.sc new file mode 100644 index 0000000000..165c33ca60 --- /dev/null +++ b/src/makeprog.sc @@ -0,0 +1,28 @@ +# Symantec DigitalMars C++ makefile + +WXLIB = $(WXDIR)\lib\wx.lib +INCDIR = $(WXDIR)\include +INCLUDE=$(INCDIR) + +include $(WXDIR)\src\makesc.env + +$(TARGET).exe: $(OBJECTS) $(TARGET).res + link $(LDFLAGS) /DELEXECUTABLE /RC -L/exet:nt/su:windows $(OBJECTS), $@, $*, $(LIBDIR)\ $(LIBS) + + +clean: + -del *.obj + -del *.exe + -del *.res + -del *.map + -del *.rws + -del *.sym + + +cleanexe: + -del *.exe + +relink: cleanexe $(TARGET).exe + + + diff --git a/src/stc/makefile.sc b/src/stc/makefile.sc new file mode 100644 index 0000000000..9fd0f15d00 --- /dev/null +++ b/src/stc/makefile.sc @@ -0,0 +1,74 @@ +WXDIR = ..\..\.. + +SCINTILLA=.\scintilla +S=$(SCINTILLA)\src + +EXTRASTCCPPFLAGS = -D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(SCINTILLA)/include -I$(S) +EXTRACPPFLAGS=$(EXTRACPPFLAGS) $(EXTRASTCCPPFLAGS) +STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) + +include $(WXDIR)\src\makesc.env +LIBTARGET=$(WXDIR)\lib\stc$(SC_SUFFIX).lib +THISDIR=$(WXDIR)\contrib\src\stc + + + + +# variables +OBJECTS = \ + $(S)\AutoComplete.obj \ + $(S)\CallTip.obj \ + $(S)\CellBuffer.obj \ + $(S)\ContractionState.obj \ + $(S)\Document.obj \ + $(S)\DocumentAccessor.obj \ + $(S)\Editor.obj \ + $(S)\Indicator.obj \ + $(S)\KeyMap.obj \ + $(S)\KeyWords.obj \ + $(S)\LexAVE.obj \ + $(S)\LexAda.obj \ + $(S)\LexAsm.obj \ + $(S)\LexBaan.obj \ + $(S)\LexBullant.obj \ + $(S)\LexMatlab.obj \ + $(S)\LexCPP.obj \ + $(S)\LexConf.obj \ + $(S)\LexCrontab.obj \ + $(S)\LexCSS.obj \ + $(S)\LexEiffel.obj \ + $(S)\LexFortran.obj \ + $(S)\LexHTML.obj \ + $(S)\LexLisp.obj \ + $(S)\LexLua.obj \ + $(S)\LexOthers.obj \ + $(S)\LexPOV.obj \ + $(S)\LexPascal.obj \ + $(S)\LexPerl.obj \ + $(S)\LexPython.obj \ + $(S)\LexRuby.obj \ + $(S)\LexSQL.obj \ + $(S)\LexVB.obj \ + $(S)\LineMarker.obj \ + $(S)\PropSet.obj \ + $(S)\RESearch.obj \ + $(S)\ScintillaBase.obj \ + $(S)\Style.obj \ + $(S)\StyleContext.obj \ + $(S)\UniConversion.obj \ + $(S)\ViewStyle.obj \ + $(S)\WindowAccessor.obj \ + $(S)\XPM.obj \ + \ + PlatWX.obj \ + ScintillaWX.obj \ + stc.obj \ + + +include $(WXDIR)\src\makelib.sc + + +.cxx.obj: + *$(CC) -c $(CFLAGS) $(STCCPPFLAGS) $(INCLUDE) $(OPTIONS) $< -o$@ + + diff --git a/wxPython/demo/bmp_source/copy2.bmp b/wxPython/demo/bmp_source/copy2.bmp new file mode 100644 index 0000000000..be5c502d87 Binary files /dev/null and b/wxPython/demo/bmp_source/copy2.bmp differ