]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/stc/makefile.b32
Fix for potential divide by zero error
[wxWidgets.git] / contrib / src / stc / makefile.b32
index 6f5703b7dc6f02c3e660572c17c9afe3f4bfaf52..0ac8176647195cdd0712327ba716ccbcab61d114 100644 (file)
 WXDIR = $(WXWIN)
 
 SCINTILLA=.\scintilla
 WXDIR = $(WXWIN)
 
 SCINTILLA=.\scintilla
+
 S=$(SCINTILLA)\src
 
 S=$(SCINTILLA)\src
 
-STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
+STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(SCINTILLA)/include -I$(S)
 
 LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
 
 OBJECTS = \
 
 LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
 
 OBJECTS = \
-       Accessor.obj            \
-       AutoComplete.obj        \
-       CallTip.obj             \
-       CellBuffer.obj          \
-       ContractionState.obj    \
-       Document.obj            \
+        AutoComplete.obj       \
+        CallTip.obj            \
+        CellBuffer.obj         \
+        ContractionState.obj   \
+        Document.obj           \
        DocumentAccessor.obj    \
        DocumentAccessor.obj    \
-       Editor.obj              \
-       Indicator.obj           \
-       KeyMap.obj              \
-       KeyWords.obj            \
+        Editor.obj             \
+        Indicator.obj          \
+        KeyMap.obj             \
+        KeyWords.obj           \
+       LexAVE.obj              \
+       LexAda.obj              \
+       LexBaan.obj             \
+       LexBullant.obj          \
+       LexMatlab.obj           \
        LexCPP.obj              \
        LexCPP.obj              \
+       LexConf.obj             \
+       LexCrontab.obj          \
+       LexEiffel.obj           \
        LexHTML.obj             \
        LexHTML.obj             \
+       LexLisp.obj             \
+       LexLua.obj              \
        LexOthers.obj           \
        LexOthers.obj           \
+       LexPascal.obj           \
        LexPerl.obj             \
        LexPython.obj           \
        LexPerl.obj             \
        LexPython.obj           \
+       LexRuby.obj             \
        LexSQL.obj              \
        LexVB.obj               \
        LexSQL.obj              \
        LexVB.obj               \
-       LineMarker.obj          \
-       PropSet.obj             \
-       ScintillaBase.obj       \
-       Style.obj               \
+        LineMarker.obj         \
+        PropSet.obj            \
+       RESearch.obj            \
+        ScintillaBase.obj      \
+        Style.obj              \
+       StyleContext.obj        \
        UniConversion.obj       \
        UniConversion.obj       \
-       ViewStyle.obj           \
+        ViewStyle.obj          \
        WindowAccessor.obj      \
        WindowAccessor.obj      \
-                               \
-       PlatWX.obj              \
-       ScintillaWX.obj         \
-       stc.obj                 \
+                               \
+       PlatWX.obj              \
+       ScintillaWX.obj         \
+       stc.obj                 \
 
 
+STCCFG = stc.cfg
+STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(STCCFG)
 
 
-!include $(WXDIR)\src\makelib.b32
+default: $(STCCFG) $(LIBTARGET)
 
 
-CFG = stc.cfg
-CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
+cleancfg: 
+       del $(STCCFG)
 
 {$(S)}.cxx.obj:
 
 {$(S)}.cxx.obj:
-       bcc32 $(CPPFLAGS) -P -c {$< }
+       bcc32 $(STCCPPFLAGS) -P -c {$< }
+
 
 
-$(CFG): makefile.b32
+
+$(STCCFG): makefile.b32
        copy &&!
 -H=$(WXDIR)\src\msw\wx32.csm
 -3
        copy &&!
 -H=$(WXDIR)\src\msw\wx32.csm
 -3
@@ -75,7 +93,8 @@ $(CFG): makefile.b32
 -tWM
 
 -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff
 -tWM
 
 -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff
--I$(WXDIR)\include\wx\msw\gnuwin32
+-I$(WXDIR)\include\wx\msw\gnuwin32;$(ARCHINCDIR)
+
 
 -L$(BCCDIR)\lib
 -D__WXWIN__
 
 -L$(BCCDIR)\lib
 -D__WXWIN__
@@ -86,5 +105,14 @@ $(OPT)
 $(DEBUG_FLAGS)
 $(WIN95FLAG)
 $(STCEXTRACPPFLAGS)
 $(DEBUG_FLAGS)
 $(WIN95FLAG)
 $(STCEXTRACPPFLAGS)
-! $(CFG)
+! $(STCCFG)
+
+
+!include $(WXDIR)\src\makelib.b32
+
+{$(S)}.cpp.obj:
+       bcc32 $(STCCPPFLAGS) -P -c {$< }
+
+.$(SRCSUFF).obj:
+       bcc32 $(STCCPPFLAGS) -c {$< }