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