# Version: $Id$
###############################################################################
-top_srcdir = @top_srcdir@
+top_srcdir = @top_srcdir@/..
top_builddir = ../../..
-this_dir = $(top_srcdir)/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@PATH_IFS@$(scintilla_dir)/src
TARGET_LIBNAME=libstc
LIBVERSION_REVISION=0
LIBVERSION_AGE=0
+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)/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)