1 ## Process this file with automake to produce Makefile.in
5 noinst_LTLIBRARIES = libanjuta-scintilla.la
10 -DGTK -DSCI_LEXER -DUSE_XIM
11 AM_CXXFLAGS = -DGTK -DSCI_LEXER -DUSE_XIM
13 include $(srcdir)/lexers.make
15 libanjuta_scintilla_la_SOURCES =\
19 ContractionState.cxx \
26 DocumentAccessor.cxx \
65 libanjuta_scintilla_la_LIBADD = \
69 noinst_PROGRAMS = test-scintilla
71 test_scintilla_CXXFLAGS = -DGTK
72 test_scintilla_SOURCES = test-scintilla.cxx
73 test_scintilla_LDADD = libanjuta-scintilla.la
76 cp $(srcdir)/scintilla/gtk/*.cxx $(srcdir)/
77 cp $(srcdir)/scintilla/gtk/*.h $(srcdir)/
78 cp $(srcdir)/scintilla/src/*.cxx $(srcdir)/
79 cp $(srcdir)/scintilla/src/*.h $(srcdir)/
80 cp $(srcdir)/scintilla/include/*.h $(srcdir)/include/
81 cp $(srcdir)/scintilla/include/*.py $(srcdir)/include/
82 cp $(srcdir)/scintilla/include/*.iface $(srcdir)/include/
83 echo "## Lexers make file" > lexers.make
84 echo 'LEXER_OBJS = \' >> lexers.make;
85 echo -n ' $$(top_srcdir)/plugins/editor/scintilla/StyleContext.o' >> lexers.make
86 for lex in Lex*.cxx; do \
87 lex=`echo $$lex | sed -e "s/cxx$$/o/"`; \
88 echo '\' >> lexers.make; \
89 echo -n ' $$(top_srcdir)/plugins/editor/scintilla/' >> lexers.make; \
90 echo -n "$$lex" >> lexers.make; \
92 echo "" >> lexers.make
93 echo "" >> lexers.make
94 echo -n 'LEXER_SRCS = ' >> lexers.make
95 for lex in Lex*.cxx; do \
96 echo '\' >> lexers.make; \
97 echo -n " $$lex" >> lexers.make; \
99 echo "" >> lexers.make
100 echo "Patching files ..."
101 for patchfile in patches/*.diff; do \
102 patch -p1 < $$patchfile; \
105 marshallers: scintilla-marshal.list
106 glib-genmarshal --prefix scintilla_marshal scintilla-marshal.list --header > scintilla-marshal.h
107 glib-genmarshal --prefix scintilla_marshal scintilla-marshal.list --body > scintilla-marshal.c
109 EXTRA_DIST=lexers.make