top_srcdir = @top_srcdir@/..
top_builddir = ../../..
-this_dir = $(top_srcdir)/contrib/src/stc
-scintilla_dir=$(this_dir)/scintilla
-VPATH=$(this_dir)@PATH_IFS@$(scintilla_dir)/src # ':' for autoconf
+scintilla_dir = $(top_srcdir)/contrib/src/stc/scintilla
+libsrc_dir = contrib/src/stc/scintilla/src:$(top_srcdir)/contrib/src/stc
-LIBTARGET=libstc
+TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_stc-@WX_RELEASE@
+
+LIBVERSION_CURRENT=@WX_CURRENT@
+LIBVERSION_REVISION=@WX_REVISION@
+LIBVERSION_AGE=@WX_AGE@
+
+HEADER_PATH=$(top_srcdir)/contrib/include/wx
+HEADER_SUBDIR=stc
+
+HEADERS=stc.h
OBJECTS=PlatWX.o ScintillaWX.o stc.o \
- Accessor.o \
- AutoComplete.o \
+ AutoComplete.o \
CallTip.o \
- CellBuffer.o \
- ContractionState.o \
+ CellBuffer.o \
+ ContractionState.o \
Document.o \
- Editor.o \
+ DocumentAccessor.o \
+ Editor.o \
Indicator.o \
- KeyMap.o \
+ KeyMap.o \
KeyWords.o \
- LineMarker.o \
+ LexAVE.o \
+ LexBaan.o \
+ LexBullant.o \
+ LexMatlab.o \
+ LexAda.o \
+ LexCPP.o \
+ LexConf.o \
+ LexCrontab.o \
+ LexEiffel.o \
+ LexHTML.o \
+ LexLisp.o \
+ LexLua.o \
+ LexOthers.o \
+ LexPascal.o \
+ LexPerl.o \
+ LexPython.o \
+ LexRuby.o \
+ LexSQL.o \
+ LexVB.o \
+ LineMarker.o \
PropSet.o \
- ScintillaBase.o \
+ RESearch.o \
+ ScintillaBase.o \
Style.o \
- ViewStyle.o
-
-APPEXTRADEFS=-D__WX__ -DSCI_LEXER -I$(scintilla_dir)/src -I$(scintilla_dir)/include -I$(top_srcdir)/contrib/include
+ StyleContext.o \
+ UniConversion.o \
+ ViewStyle.o \
+ WindowAccessor.o \
+
+DEPFILES=$(OBJECTS:.o=.d)
+
+APPEXTRADEFS=-D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(scintilla_dir)/src -I$(scintilla_dir)/include -I$(top_srcdir)/contrib/include
include $(top_builddir)/src/makelib.env
+
+-include $(DEPFILES)