X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d525ad91103edf067939f6b0a03fbb45155cf34..e88be8c942cb93035f4220b54595c23eb9f0df9a:/src/stc/makefile.b32 diff --git a/src/stc/makefile.b32 b/src/stc/makefile.b32 index 3d52701553..40e5497e24 100644 --- a/src/stc/makefile.b32 +++ b/src/stc/makefile.b32 @@ -2,7 +2,7 @@ # File: makefile.b32 # Author: Julian Smart # Created: 1999 -# Updated: +# Updated: # Copyright: # # Makefile : Builds wxMMedia library for 32-bit BC++ @@ -14,6 +14,7 @@ WXDIR = $(WXWIN) SCINTILLA=.\scintilla + S=$(SCINTILLA)\src STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S) @@ -21,35 +22,58 @@ STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S) LIBTARGET=$(WXDIR)\contrib\lib\stc.lib OBJECTS = \ - Accessor.obj \ - AutoComplete.obj \ - CallTip.obj \ - CellBuffer.obj \ - ContractionState.obj\ - Document.obj \ - Editor.obj \ - Indicator.obj \ - KeyMap.obj \ - KeyWords.obj \ - LineMarker.obj \ - PropSet.obj \ - ScintillaBase.obj \ - Style.obj \ - ViewStyle.obj \ - \ - PlatWX.obj \ - ScintillaWX.obj \ - stc.obj \ + AutoComplete.obj \ + CallTip.obj \ + CellBuffer.obj \ + ContractionState.obj \ + Document.obj \ + DocumentAccessor.obj \ + Editor.obj \ + Indicator.obj \ + KeyMap.obj \ + KeyWords.obj \ + LexAVE.obj \ + LexAda.obj \ + LexCPP.obj \ + LexConf.obj \ + LexCrontab.obj \ + LexEiffel.obj \ + LexHTML.obj \ + LexLisp.obj \ + LexLua.obj \ + LexOthers.obj \ + LexPascal.obj \ + LexPerl.obj \ + LexPython.obj \ + LexRuby.obj \ + LexSQL.obj \ + LexVB.obj \ + LineMarker.obj \ + PropSet.obj \ + RESearch.obj \ + ScintillaBase.obj \ + Style.obj \ + StyleContext.obj \ + UniConversion.obj \ + ViewStyle.obj \ + WindowAccessor.obj \ + \ + PlatWX.obj \ + ScintillaWX.obj \ + stc.obj \ -!include $(WXDIR)\src\makelib.b32 +STCCFG = stc.cfg +STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(STCCFG) + +default: $(STCCFG) $(LIBTARGET) -CFG = stc.cfg -CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG) {$(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 @@ -75,5 +99,14 @@ $(OPT) $(DEBUG_FLAGS) $(WIN95FLAG) $(STCEXTRACPPFLAGS) -! $(CFG) +! $(STCCFG) + + +!include $(WXDIR)\src\makelib.b32 + +{$(S)}.cpp.obj: + bcc32 $(STCCPPFLAGS) -P -c {$< } + +.$(SRCSUFF).obj: + bcc32 $(STCCPPFLAGS) -c {$< }