X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4ad36cdc53b0df79a51386c15a384beb2f7333a..298a3f2ee8a54964a8ba79931a9a5b1d8be200b4:/contrib/build/stc/makefile.gcc?ds=sidebyside diff --git a/contrib/build/stc/makefile.gcc b/contrib/build/stc/makefile.gcc index 0995c99eb4..2ba2303c97 100644 --- a/contrib/build/stc/makefile.gcc +++ b/contrib/build/stc/makefile.gcc @@ -1,6 +1,6 @@ # ========================================================================= # This makefile was generated by -# Bakefile 0.1.1 (http://bakefile.sourceforge.net) +# Bakefile 0.1.8 (http://bakefile.sourceforge.net) # Do not modify, all changes will be overwritten! # ========================================================================= @@ -12,18 +12,22 @@ include ../../../build/msw/config.gcc ### Variables: ### +WX_RELEASE_NODOT = 26 OBJS = \ gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) +LIBDIRNAME = ..\..\src\stc\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG) SETUPHDIR = \ $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) -STCDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \ +STCDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \ -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ - $(__UNICODE_DEFINE_p) -I..\..\src\stc\..\..\..\include -I$(SETUPHDIR) -Wall \ - -I..\..\src\stc\..\..\include -I..\..\src\stc\scintilla\include \ + $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ + $(__UNICODE_DEFINE_p) -I..\..\src\stc\..\..\..\include -I$(SETUPHDIR) -W \ + -Wall -I..\..\src\stc\..\..\include -I..\..\src\stc\scintilla\include \ -I..\..\src\stc\scintilla\src -D__WX__ -DSCI_LEXER -DLINK_LEXERS \ - -DWXUSINGDLL -DWXMAKINGDLL_STC $(CXXFLAGS) $(__EXCEPTIONSFLAG) \ - $(__EXCEPTIONSFLAG_0) + -DWXUSINGDLL -DWXMAKINGDLL_STC $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ + -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) STCDLL_OBJECTS = \ + $(OBJS)\stcdll_version_rc.o \ $(OBJS)\stcdll_PlatWX.o \ $(OBJS)\stcdll_ScintillaWX.o \ $(OBJS)\stcdll_stc.o \ @@ -38,26 +42,39 @@ STCDLL_OBJECTS = \ $(OBJS)\stcdll_Indicator.o \ $(OBJS)\stcdll_KeyMap.o \ $(OBJS)\stcdll_KeyWords.o \ + $(OBJS)\stcdll_LexAPDL.o \ + $(OBJS)\stcdll_LexAU3.o \ $(OBJS)\stcdll_LexAVE.o \ $(OBJS)\stcdll_LexAda.o \ $(OBJS)\stcdll_LexAsm.o \ + $(OBJS)\stcdll_LexAsn1.o \ $(OBJS)\stcdll_LexBaan.o \ + $(OBJS)\stcdll_LexBash.o \ $(OBJS)\stcdll_LexBullant.o \ + $(OBJS)\stcdll_LexCLW.o \ $(OBJS)\stcdll_LexCPP.o \ $(OBJS)\stcdll_LexCSS.o \ $(OBJS)\stcdll_LexConf.o \ $(OBJS)\stcdll_LexCrontab.o \ - $(OBJS)\stcdll_LexEiffel.o \ $(OBJS)\stcdll_LexEScript.o \ + $(OBJS)\stcdll_LexEiffel.o \ + $(OBJS)\stcdll_LexErlang.o \ + $(OBJS)\stcdll_LexForth.o \ $(OBJS)\stcdll_LexFortran.o \ + $(OBJS)\stcdll_LexGui4Cli.o \ $(OBJS)\stcdll_LexHTML.o \ + $(OBJS)\stcdll_LexKix.o \ $(OBJS)\stcdll_LexLisp.o \ $(OBJS)\stcdll_LexLout.o \ $(OBJS)\stcdll_LexLua.o \ $(OBJS)\stcdll_LexMMIXAL.o \ + $(OBJS)\stcdll_LexMPT.o \ + $(OBJS)\stcdll_LexMSSQL.o \ $(OBJS)\stcdll_LexMatlab.o \ + $(OBJS)\stcdll_LexMetapost.o \ $(OBJS)\stcdll_LexNsis.o \ $(OBJS)\stcdll_LexOthers.o \ + $(OBJS)\stcdll_LexPB.o \ $(OBJS)\stcdll_LexPOV.o \ $(OBJS)\stcdll_LexPS.o \ $(OBJS)\stcdll_LexPascal.o \ @@ -66,7 +83,12 @@ STCDLL_OBJECTS = \ $(OBJS)\stcdll_LexRuby.o \ $(OBJS)\stcdll_LexSQL.o \ $(OBJS)\stcdll_LexScriptol.o \ + $(OBJS)\stcdll_LexSpecman.o \ + $(OBJS)\stcdll_LexTeX.o \ $(OBJS)\stcdll_LexVB.o \ + $(OBJS)\stcdll_LexVHDL.o \ + $(OBJS)\stcdll_LexVerilog.o \ + $(OBJS)\stcdll_LexYAML.o \ $(OBJS)\stcdll_LineMarker.o \ $(OBJS)\stcdll_PropSet.o \ $(OBJS)\stcdll_RESearch.o \ @@ -77,12 +99,14 @@ STCDLL_OBJECTS = \ $(OBJS)\stcdll_ViewStyle.o \ $(OBJS)\stcdll_WindowAccessor.o \ $(OBJS)\stcdll_XPM.o -STCLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \ +STCLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \ -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ - $(__UNICODE_DEFINE_p) -I..\..\src\stc\..\..\..\include -I$(SETUPHDIR) -Wall \ - -I..\..\src\stc\..\..\include -I..\..\src\stc\scintilla\include \ - -I..\..\src\stc\scintilla\src -D__WX__ -DSCI_LEXER -DLINK_LEXERS $(CXXFLAGS) \ - $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) + $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ + $(__UNICODE_DEFINE_p) -I..\..\src\stc\..\..\..\include -I$(SETUPHDIR) -W \ + -Wall -I..\..\src\stc\..\..\include -I..\..\src\stc\scintilla\include \ + -I..\..\src\stc\scintilla\src -D__WX__ -DSCI_LEXER -DLINK_LEXERS \ + $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \ + $(CXXFLAGS) STCLIB_OBJECTS = \ $(OBJS)\stclib_PlatWX.o \ $(OBJS)\stclib_ScintillaWX.o \ @@ -98,26 +122,39 @@ STCLIB_OBJECTS = \ $(OBJS)\stclib_Indicator.o \ $(OBJS)\stclib_KeyMap.o \ $(OBJS)\stclib_KeyWords.o \ + $(OBJS)\stclib_LexAPDL.o \ + $(OBJS)\stclib_LexAU3.o \ $(OBJS)\stclib_LexAVE.o \ $(OBJS)\stclib_LexAda.o \ $(OBJS)\stclib_LexAsm.o \ + $(OBJS)\stclib_LexAsn1.o \ $(OBJS)\stclib_LexBaan.o \ + $(OBJS)\stclib_LexBash.o \ $(OBJS)\stclib_LexBullant.o \ + $(OBJS)\stclib_LexCLW.o \ $(OBJS)\stclib_LexCPP.o \ $(OBJS)\stclib_LexCSS.o \ $(OBJS)\stclib_LexConf.o \ $(OBJS)\stclib_LexCrontab.o \ - $(OBJS)\stclib_LexEiffel.o \ $(OBJS)\stclib_LexEScript.o \ + $(OBJS)\stclib_LexEiffel.o \ + $(OBJS)\stclib_LexErlang.o \ + $(OBJS)\stclib_LexForth.o \ $(OBJS)\stclib_LexFortran.o \ + $(OBJS)\stclib_LexGui4Cli.o \ $(OBJS)\stclib_LexHTML.o \ + $(OBJS)\stclib_LexKix.o \ $(OBJS)\stclib_LexLisp.o \ $(OBJS)\stclib_LexLout.o \ $(OBJS)\stclib_LexLua.o \ $(OBJS)\stclib_LexMMIXAL.o \ + $(OBJS)\stclib_LexMPT.o \ + $(OBJS)\stclib_LexMSSQL.o \ $(OBJS)\stclib_LexMatlab.o \ + $(OBJS)\stclib_LexMetapost.o \ $(OBJS)\stclib_LexNsis.o \ $(OBJS)\stclib_LexOthers.o \ + $(OBJS)\stclib_LexPB.o \ $(OBJS)\stclib_LexPOV.o \ $(OBJS)\stclib_LexPS.o \ $(OBJS)\stclib_LexPascal.o \ @@ -126,7 +163,12 @@ STCLIB_OBJECTS = \ $(OBJS)\stclib_LexRuby.o \ $(OBJS)\stclib_LexSQL.o \ $(OBJS)\stclib_LexScriptol.o \ + $(OBJS)\stclib_LexSpecman.o \ + $(OBJS)\stclib_LexTeX.o \ $(OBJS)\stclib_LexVB.o \ + $(OBJS)\stclib_LexVHDL.o \ + $(OBJS)\stclib_LexVerilog.o \ + $(OBJS)\stclib_LexYAML.o \ $(OBJS)\stclib_LineMarker.o \ $(OBJS)\stclib_PropSet.o \ $(OBJS)\stclib_RESearch.o \ @@ -143,12 +185,6 @@ STCLIB_OBJECTS = \ ifeq ($(GCC_VERSION),2.95) GCCFLAGS = -fvtable-thunks endif -ifeq ($(SHARED),0) -LIBDIRNAME = ..\..\src\stc\..\..\..\lib\gcc_lib$(CFG) -endif -ifeq ($(SHARED),1) -LIBDIRNAME = ..\..\src\stc\..\..\..\lib\gcc_dll$(CFG) -endif ifeq ($(USE_GUI),0) PORTNAME = base endif @@ -169,50 +205,60 @@ endif ifeq ($(DEBUG_FLAG),1) WXDEBUGFLAG = d endif -ifeq ($(SHARED),1) -WXDLLFLAG = dll -endif ifeq ($(UNICODE),1) WXUNICODEFLAG = u endif ifeq ($(WXUNIV),1) WXUNIVNAME = univ endif -ifeq ($(BUILD),debug) -ifeq ($(DEBUG_INFO),default) -__DEBUGINFO = -g +ifeq ($(SHARED),1) +WXDLLFLAG = dll endif +ifeq ($(SHARED),0) +LIBTYPE_SUFFIX = lib endif -ifeq ($(BUILD),release) -ifeq ($(DEBUG_INFO),default) -__DEBUGINFO = +ifeq ($(SHARED),1) +LIBTYPE_SUFFIX = dll endif +ifeq ($(MONOLITHIC),0) +EXTRALIBS_FOR_BASE = endif -ifeq ($(DEBUG_INFO),0) -__DEBUGINFO = +ifeq ($(MONOLITHIC),1) +EXTRALIBS_FOR_BASE = endif -ifeq ($(DEBUG_INFO),1) -__DEBUGINFO = -g +ifeq ($(SHARED),1) +__stcdll___depname = \ + $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc_gcc$(VENDORTAG).dll +endif +ifeq ($(WXUNIV),1) +__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__ endif ifeq ($(BUILD),debug) ifeq ($(DEBUG_FLAG),default) -__DEBUG_DEFINE_p = -D__WXDEBUG__ +__DEBUG_DEFINE_p_1 = --define __WXDEBUG__ endif endif ifeq ($(DEBUG_FLAG),1) -__DEBUG_DEFINE_p = -D__WXDEBUG__ +__DEBUG_DEFINE_p_1 = --define __WXDEBUG__ endif ifeq ($(USE_EXCEPTIONS),0) -__EXCEPTIONSFLAG = -fno-rtti +__EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS endif -ifeq ($(USE_EXCEPTIONS),1) -__EXCEPTIONSFLAG = +ifeq ($(USE_RTTI),0) +__RTTI_DEFINE_p_1 = --define wxNO_RTTI endif -ifeq ($(USE_EXCEPTIONS),0) -__EXCEPTIONSFLAG_0 = -fno-exceptions +ifeq ($(USE_THREADS),0) +__THREAD_DEFINE_p_1 = --define wxNO_THREADS endif -ifeq ($(USE_EXCEPTIONS),1) -__EXCEPTIONSFLAG_0 = +ifeq ($(UNICODE),1) +__UNICODE_DEFINE_p_1 = --define _UNICODE +endif +ifeq ($(MONOLITHIC),1) +__WXLIB_MONO_p = \ + -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) +endif +ifeq ($(USE_GUI),1) +__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG) endif ifeq ($(USE_GUI),1) __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG) @@ -220,8 +266,36 @@ endif ifeq ($(USE_GUI),1) __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG) endif -ifeq ($(USE_GUI),1) -__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG) +ifeq ($(MSLU),1) +__UNICOWS_LIB_p = -lunicows +endif +ifeq ($(MONOLITHIC),0) +__WXLIB_CORE_p = \ + -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core +endif +ifeq ($(MONOLITHIC),0) +__WXLIB_BASE_p = \ + -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) +endif +ifeq ($(SHARED),0) +__stclib___depname = \ + $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc.a +endif +ifeq ($(BUILD),debug) +ifeq ($(DEBUG_INFO),default) +__DEBUGINFO = -g +endif +endif +ifeq ($(BUILD),release) +ifeq ($(DEBUG_INFO),default) +__DEBUGINFO = +endif +endif +ifeq ($(DEBUG_INFO),0) +__DEBUGINFO = +endif +ifeq ($(DEBUG_INFO),1) +__DEBUGINFO = -g endif ifeq ($(BUILD),debug) __OPTIMIZEFLAG = -O0 @@ -229,33 +303,46 @@ endif ifeq ($(BUILD),release) __OPTIMIZEFLAG = -O2 endif -ifeq ($(UNICODE),1) -__UNICODE_DEFINE_p = -D_UNICODE +ifeq ($(USE_THREADS),0) +__THREADSFLAG = endif -ifeq ($(MSLU),1) -__UNICOWS_LIB_p = -lunicows +ifeq ($(USE_THREADS),1) +__THREADSFLAG = -mthreads endif -ifeq ($(MONOLITHIC),0) -__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG) +ifeq ($(USE_RTTI),0) +__RTTIFLAG = -fno-rtti endif -ifeq ($(MONOLITHIC),0) -__WXLIB_CORE_p = \ - -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core +ifeq ($(USE_RTTI),1) +__RTTIFLAG = endif -ifeq ($(MONOLITHIC),1) -__WXLIB_MONO_p = \ - -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG) +ifeq ($(USE_EXCEPTIONS),0) +__EXCEPTIONSFLAG = -fno-exceptions +endif +ifeq ($(USE_EXCEPTIONS),1) +__EXCEPTIONSFLAG = endif ifeq ($(WXUNIV),1) __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ endif -ifeq ($(SHARED),1) -__stcdll___depname = \ - $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_stc_gcc$(VENDORTAG).dll +ifeq ($(BUILD),debug) +ifeq ($(DEBUG_FLAG),default) +__DEBUG_DEFINE_p = -D__WXDEBUG__ endif -ifeq ($(SHARED),0) -__stclib___depname = \ - $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_stc.a +endif +ifeq ($(DEBUG_FLAG),1) +__DEBUG_DEFINE_p = -D__WXDEBUG__ +endif +ifeq ($(USE_EXCEPTIONS),0) +__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS +endif +ifeq ($(USE_RTTI),0) +__RTTI_DEFINE_p = -DwxNO_RTTI +endif +ifeq ($(USE_THREADS),0) +__THREAD_DEFINE_p = -DwxNO_THREADS +endif +ifeq ($(UNICODE),1) +__UNICODE_DEFINE_p = -D_UNICODE endif @@ -267,6 +354,36 @@ $(OBJS): all: $(__stcdll___depname) $(__stclib___depname) +clean: + -if exist $(OBJS)\*.o del $(OBJS)\*.o + -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc_gcc$(VENDORTAG).dll + -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc.a + -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc.a + +ifeq ($(SHARED),1) +$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc_gcc$(VENDORTAG).dll: $(STCDLL_OBJECTS) $(OBJS)\stcdll_version_rc.o + $(CXX) -shared -fPIC -o $@ $(STCDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) +endif + +ifeq ($(SHARED),0) +$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc.a: $(STCLIB_OBJECTS) + if exist $@ del $@ + ar rcu $@ $(STCLIB_OBJECTS) + ranlib $@ +endif + +$(OBJS)\stcdll_version_rc.o: ../../src/stc/../../../src/msw/version.rc + windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) --include-dir ../../src/stc/../../../include --include-dir $(SETUPHDIR) --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc_gcc$(VENDORTAG) + +$(OBJS)\stcdll_PlatWX.o: ../../src/stc/PlatWX.cpp + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + +$(OBJS)\stcdll_ScintillaWX.o: ../../src/stc/ScintillaWX.cpp + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + +$(OBJS)\stcdll_stc.o: ../../src/stc/stc.cpp + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + $(OBJS)\stcdll_AutoComplete.o: ../../src/stc/scintilla/src/AutoComplete.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< @@ -300,6 +417,12 @@ $(OBJS)\stcdll_KeyMap.o: ../../src/stc/scintilla/src/KeyMap.cxx $(OBJS)\stcdll_KeyWords.o: ../../src/stc/scintilla/src/KeyWords.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< +$(OBJS)\stcdll_LexAPDL.o: ../../src/stc/scintilla/src/LexAPDL.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + +$(OBJS)\stcdll_LexAU3.o: ../../src/stc/scintilla/src/LexAU3.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + $(OBJS)\stcdll_LexAVE.o: ../../src/stc/scintilla/src/LexAVE.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< @@ -309,12 +432,21 @@ $(OBJS)\stcdll_LexAda.o: ../../src/stc/scintilla/src/LexAda.cxx $(OBJS)\stcdll_LexAsm.o: ../../src/stc/scintilla/src/LexAsm.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< +$(OBJS)\stcdll_LexAsn1.o: ../../src/stc/scintilla/src/LexAsn1.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + $(OBJS)\stcdll_LexBaan.o: ../../src/stc/scintilla/src/LexBaan.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< +$(OBJS)\stcdll_LexBash.o: ../../src/stc/scintilla/src/LexBash.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + $(OBJS)\stcdll_LexBullant.o: ../../src/stc/scintilla/src/LexBullant.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< +$(OBJS)\stcdll_LexCLW.o: ../../src/stc/scintilla/src/LexCLW.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + $(OBJS)\stcdll_LexCPP.o: ../../src/stc/scintilla/src/LexCPP.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< @@ -333,12 +465,24 @@ $(OBJS)\stcdll_LexEScript.o: ../../src/stc/scintilla/src/LexEScript.cxx $(OBJS)\stcdll_LexEiffel.o: ../../src/stc/scintilla/src/LexEiffel.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< +$(OBJS)\stcdll_LexErlang.o: ../../src/stc/scintilla/src/LexErlang.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + +$(OBJS)\stcdll_LexForth.o: ../../src/stc/scintilla/src/LexForth.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + $(OBJS)\stcdll_LexFortran.o: ../../src/stc/scintilla/src/LexFortran.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< +$(OBJS)\stcdll_LexGui4Cli.o: ../../src/stc/scintilla/src/LexGui4Cli.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + $(OBJS)\stcdll_LexHTML.o: ../../src/stc/scintilla/src/LexHTML.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< +$(OBJS)\stcdll_LexKix.o: ../../src/stc/scintilla/src/LexKix.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + $(OBJS)\stcdll_LexLisp.o: ../../src/stc/scintilla/src/LexLisp.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< @@ -351,15 +495,27 @@ $(OBJS)\stcdll_LexLua.o: ../../src/stc/scintilla/src/LexLua.cxx $(OBJS)\stcdll_LexMMIXAL.o: ../../src/stc/scintilla/src/LexMMIXAL.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< +$(OBJS)\stcdll_LexMPT.o: ../../src/stc/scintilla/src/LexMPT.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + +$(OBJS)\stcdll_LexMSSQL.o: ../../src/stc/scintilla/src/LexMSSQL.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + $(OBJS)\stcdll_LexMatlab.o: ../../src/stc/scintilla/src/LexMatlab.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< +$(OBJS)\stcdll_LexMetapost.o: ../../src/stc/scintilla/src/LexMetapost.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + $(OBJS)\stcdll_LexNsis.o: ../../src/stc/scintilla/src/LexNsis.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< $(OBJS)\stcdll_LexOthers.o: ../../src/stc/scintilla/src/LexOthers.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< +$(OBJS)\stcdll_LexPB.o: ../../src/stc/scintilla/src/LexPB.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + $(OBJS)\stcdll_LexPOV.o: ../../src/stc/scintilla/src/LexPOV.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< @@ -384,13 +540,25 @@ $(OBJS)\stcdll_LexSQL.o: ../../src/stc/scintilla/src/LexSQL.cxx $(OBJS)\stcdll_LexScriptol.o: ../../src/stc/scintilla/src/LexScriptol.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< +$(OBJS)\stcdll_LexSpecman.o: ../../src/stc/scintilla/src/LexSpecman.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + +$(OBJS)\stcdll_LexTeX.o: ../../src/stc/scintilla/src/LexTeX.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + $(OBJS)\stcdll_LexVB.o: ../../src/stc/scintilla/src/LexVB.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< -$(OBJS)\stcdll_LineMarker.o: ../../src/stc/scintilla/src/LineMarker.cxx +$(OBJS)\stcdll_LexVHDL.o: ../../src/stc/scintilla/src/LexVHDL.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< -$(OBJS)\stcdll_PlatWX.o: ../../src/stc/PlatWX.cpp +$(OBJS)\stcdll_LexVerilog.o: ../../src/stc/scintilla/src/LexVerilog.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + +$(OBJS)\stcdll_LexYAML.o: ../../src/stc/scintilla/src/LexYAML.cxx + $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< + +$(OBJS)\stcdll_LineMarker.o: ../../src/stc/scintilla/src/LineMarker.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< $(OBJS)\stcdll_PropSet.o: ../../src/stc/scintilla/src/PropSet.cxx @@ -402,9 +570,6 @@ $(OBJS)\stcdll_RESearch.o: ../../src/stc/scintilla/src/RESearch.cxx $(OBJS)\stcdll_ScintillaBase.o: ../../src/stc/scintilla/src/ScintillaBase.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< -$(OBJS)\stcdll_ScintillaWX.o: ../../src/stc/ScintillaWX.cpp - $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< - $(OBJS)\stcdll_Style.o: ../../src/stc/scintilla/src/Style.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< @@ -423,8 +588,14 @@ $(OBJS)\stcdll_WindowAccessor.o: ../../src/stc/scintilla/src/WindowAccessor.cxx $(OBJS)\stcdll_XPM.o: ../../src/stc/scintilla/src/XPM.cxx $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< -$(OBJS)\stcdll_stc.o: ../../src/stc/stc.cpp - $(CXX) -c -o $@ $(STCDLL_CXXFLAGS) $< +$(OBJS)\stclib_PlatWX.o: ../../src/stc/PlatWX.cpp + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + +$(OBJS)\stclib_ScintillaWX.o: ../../src/stc/ScintillaWX.cpp + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + +$(OBJS)\stclib_stc.o: ../../src/stc/stc.cpp + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< $(OBJS)\stclib_AutoComplete.o: ../../src/stc/scintilla/src/AutoComplete.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< @@ -459,6 +630,12 @@ $(OBJS)\stclib_KeyMap.o: ../../src/stc/scintilla/src/KeyMap.cxx $(OBJS)\stclib_KeyWords.o: ../../src/stc/scintilla/src/KeyWords.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< +$(OBJS)\stclib_LexAPDL.o: ../../src/stc/scintilla/src/LexAPDL.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + +$(OBJS)\stclib_LexAU3.o: ../../src/stc/scintilla/src/LexAU3.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + $(OBJS)\stclib_LexAVE.o: ../../src/stc/scintilla/src/LexAVE.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< @@ -468,12 +645,21 @@ $(OBJS)\stclib_LexAda.o: ../../src/stc/scintilla/src/LexAda.cxx $(OBJS)\stclib_LexAsm.o: ../../src/stc/scintilla/src/LexAsm.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< +$(OBJS)\stclib_LexAsn1.o: ../../src/stc/scintilla/src/LexAsn1.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + $(OBJS)\stclib_LexBaan.o: ../../src/stc/scintilla/src/LexBaan.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< +$(OBJS)\stclib_LexBash.o: ../../src/stc/scintilla/src/LexBash.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + $(OBJS)\stclib_LexBullant.o: ../../src/stc/scintilla/src/LexBullant.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< +$(OBJS)\stclib_LexCLW.o: ../../src/stc/scintilla/src/LexCLW.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + $(OBJS)\stclib_LexCPP.o: ../../src/stc/scintilla/src/LexCPP.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< @@ -492,12 +678,24 @@ $(OBJS)\stclib_LexEScript.o: ../../src/stc/scintilla/src/LexEScript.cxx $(OBJS)\stclib_LexEiffel.o: ../../src/stc/scintilla/src/LexEiffel.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< +$(OBJS)\stclib_LexErlang.o: ../../src/stc/scintilla/src/LexErlang.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + +$(OBJS)\stclib_LexForth.o: ../../src/stc/scintilla/src/LexForth.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + $(OBJS)\stclib_LexFortran.o: ../../src/stc/scintilla/src/LexFortran.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< +$(OBJS)\stclib_LexGui4Cli.o: ../../src/stc/scintilla/src/LexGui4Cli.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + $(OBJS)\stclib_LexHTML.o: ../../src/stc/scintilla/src/LexHTML.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< +$(OBJS)\stclib_LexKix.o: ../../src/stc/scintilla/src/LexKix.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + $(OBJS)\stclib_LexLisp.o: ../../src/stc/scintilla/src/LexLisp.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< @@ -510,15 +708,27 @@ $(OBJS)\stclib_LexLua.o: ../../src/stc/scintilla/src/LexLua.cxx $(OBJS)\stclib_LexMMIXAL.o: ../../src/stc/scintilla/src/LexMMIXAL.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< +$(OBJS)\stclib_LexMPT.o: ../../src/stc/scintilla/src/LexMPT.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + +$(OBJS)\stclib_LexMSSQL.o: ../../src/stc/scintilla/src/LexMSSQL.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + $(OBJS)\stclib_LexMatlab.o: ../../src/stc/scintilla/src/LexMatlab.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< +$(OBJS)\stclib_LexMetapost.o: ../../src/stc/scintilla/src/LexMetapost.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + $(OBJS)\stclib_LexNsis.o: ../../src/stc/scintilla/src/LexNsis.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< $(OBJS)\stclib_LexOthers.o: ../../src/stc/scintilla/src/LexOthers.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< +$(OBJS)\stclib_LexPB.o: ../../src/stc/scintilla/src/LexPB.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + $(OBJS)\stclib_LexPOV.o: ../../src/stc/scintilla/src/LexPOV.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< @@ -543,13 +753,25 @@ $(OBJS)\stclib_LexSQL.o: ../../src/stc/scintilla/src/LexSQL.cxx $(OBJS)\stclib_LexScriptol.o: ../../src/stc/scintilla/src/LexScriptol.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< +$(OBJS)\stclib_LexSpecman.o: ../../src/stc/scintilla/src/LexSpecman.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + +$(OBJS)\stclib_LexTeX.o: ../../src/stc/scintilla/src/LexTeX.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + $(OBJS)\stclib_LexVB.o: ../../src/stc/scintilla/src/LexVB.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< -$(OBJS)\stclib_LineMarker.o: ../../src/stc/scintilla/src/LineMarker.cxx +$(OBJS)\stclib_LexVHDL.o: ../../src/stc/scintilla/src/LexVHDL.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< -$(OBJS)\stclib_PlatWX.o: ../../src/stc/PlatWX.cpp +$(OBJS)\stclib_LexVerilog.o: ../../src/stc/scintilla/src/LexVerilog.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + +$(OBJS)\stclib_LexYAML.o: ../../src/stc/scintilla/src/LexYAML.cxx + $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< + +$(OBJS)\stclib_LineMarker.o: ../../src/stc/scintilla/src/LineMarker.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< $(OBJS)\stclib_PropSet.o: ../../src/stc/scintilla/src/PropSet.cxx @@ -561,9 +783,6 @@ $(OBJS)\stclib_RESearch.o: ../../src/stc/scintilla/src/RESearch.cxx $(OBJS)\stclib_ScintillaBase.o: ../../src/stc/scintilla/src/ScintillaBase.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< -$(OBJS)\stclib_ScintillaWX.o: ../../src/stc/ScintillaWX.cpp - $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< - $(OBJS)\stclib_Style.o: ../../src/stc/scintilla/src/Style.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< @@ -582,25 +801,6 @@ $(OBJS)\stclib_WindowAccessor.o: ../../src/stc/scintilla/src/WindowAccessor.cxx $(OBJS)\stclib_XPM.o: ../../src/stc/scintilla/src/XPM.cxx $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< -$(OBJS)\stclib_stc.o: ../../src/stc/stc.cpp - $(CXX) -c -o $@ $(STCLIB_CXXFLAGS) $< - -clean: - -if exist $(OBJS)\*.o del $(OBJS)\*.o - -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_stc_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_stc_gcc$(VENDORTAG).dll - -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_stc.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_stc.a - -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_stc.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_stc.a - -ifeq ($(SHARED),1) -$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_stc_gcc$(VENDORTAG).dll: $(STCDLL_OBJECTS) - $(CXX) -shared -o $@ $(STCDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_stc.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) -endif +.PHONY: all clean -ifeq ($(SHARED),0) -$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_stc.a: $(STCLIB_OBJECTS) - if exist $@ del $@ - ar rcu $@ $(STCLIB_OBJECTS) - ranlib $@ -endif -.PHONY: all clean