1 ## Process this file with automake to produce Makefile.in
5 noinst_LTLIBRARIES = libanjuta-scintilla.la
11 -DGTK -DSCI_LEXER -DUSE_XIM
13 AM_CXXFLAGS = -DGTK -DSCI_LEXER -DUSE_XIM
15 include $(srcdir)/lexers.make
17 libanjuta_scintilla_la_SOURCES =\
25 ContractionState.cxx \
87 libanjuta_scintilla_la_LIBADD = \
91 noinst_PROGRAMS = test-scintilla
93 test_scintilla_CXXFLAGS = -DGTK
94 test_scintilla_SOURCES = test-scintilla.cxx
95 test_scintilla_LDADD = libanjuta-scintilla.la
97 $(srcdir)/lexers.make:
99 echo "## Lexers make file" > $(notdir $@); \
100 echo 'LEXER_OBJS = \' >> $(notdir $@); \
101 echo -n ' StyleContext.o' >> $(notdir $@); \
102 for lex in Lex*.cxx; do \
103 lex=`echo $$lex | sed -e "s,.*/,," -e "s/cxx$$/o/"`; \
104 echo '\' >> $(notdir $@); \
105 echo -n " $$lex" >> $(notdir $@); \
107 echo "" >> $(notdir $@); \
108 echo "" >> $(notdir $@); \
109 echo -n 'LEXER_SRCS = ' >> $(notdir $@); \
110 for lex in Lex*.cxx; do \
111 echo '\' >> $(notdir $@); \
112 echo -n " $$lex" >> $(notdir $@); \
114 echo "" >> $(notdir $@)
118 cp scintilla/gtk/*.cxx .; \
119 cp scintilla/gtk/*.h .; \
120 cp scintilla/src/*.cxx .; \
121 cp scintilla/src/*.h .; \
122 cp scintilla/include/*.h include; \
123 cp scintilla/include/*.py include; \
124 cp scintilla/include/*.iface include; \
125 echo "Patching files ..."
127 for patchfile in patches/*.diff; do \
128 patch -p1 < $$patchfile; \
130 echo "Updating properties file..."
132 ./update-properties.pl ../properties/styles.properties scite/src
134 marshallers: scintilla-marshal.list
135 glib-genmarshal --prefix scintilla_marshal scintilla-marshal.list --header > scintilla-marshal.h
136 glib-genmarshal --prefix scintilla_marshal scintilla-marshal.list --body > scintilla-marshal.c
138 EXTRA_DIST=lexers.make