1 ## Process this file with automake to produce Makefile.in
5 noinst_LTLIBRARIES = libanjuta-scintilla.la
12 -DGTK -DSCI_LEXER -DUSE_XIM
14 AM_CXXFLAGS = -DGTK -DSCI_LEXER -DUSE_XIM
16 include $(srcdir)/lexers.make
18 libanjuta_scintilla_la_SOURCES =\
26 ContractionState.cxx \
91 libanjuta_scintilla_la_LIBADD = \
96 noinst_PROGRAMS = test-scintilla
98 test_scintilla_CXXFLAGS = -DGTK
99 test_scintilla_SOURCES = test-scintilla.cxx
100 test_scintilla_LDADD = libanjuta-scintilla.la
102 $(srcdir)/lexers.make:
104 echo "## Lexers make file" > $(notdir $@); \
105 echo 'LEXER_OBJS = \' >> $(notdir $@); \
106 echo -n ' StyleContext.o' >> $(notdir $@); \
107 for lex in Lex*.cxx; do \
108 lex=`echo $$lex | sed -e "s,.*/,," -e "s/cxx$$/o/"`; \
109 echo '\' >> $(notdir $@); \
110 echo -n " $$lex" >> $(notdir $@); \
112 echo "" >> $(notdir $@); \
113 echo "" >> $(notdir $@); \
114 echo 'LEXER_SRCS = \' >> $(notdir $@); \
115 echo -n ' LexerNoExceptions.h' >> $(notdir $@); \
116 for lex in Lex*.cxx; do \
117 echo '\' >> $(notdir $@); \
118 echo -n " $$lex" >> $(notdir $@); \
120 echo "" >> $(notdir $@)
124 cp scintilla/gtk/*.cxx .; \
125 cp scintilla/gtk/*.h .; \
126 cp scintilla/gtk/*.list h.; \
127 cp scintilla/lexers/*.cxx .; \
128 cp scintilla/lexers/*.h .; \
129 cp scintilla/lexlib/*.cxx .; \
130 cp scintilla/lexlib/*.h .; \
131 cp scintilla/src/*.cxx .; \
132 cp scintilla/src/*.h .; \
133 cp scintilla/include/*.h include; \
134 cp scintilla/include/*.py include; \
135 cp scintilla/include/*.iface include; \
136 echo "Patching files ..."
138 for patchfile in patches/*.diff; do \
139 patch -p0 < $$patchfile; \
141 echo "Updating properties file..."
143 ./update-properties.pl ../properties/styles.properties scite/src
145 marshallers: scintilla-marshal.list
146 glib-genmarshal --prefix scintilla_marshal scintilla-marshal.list --header > scintilla-marshal.h
147 glib-genmarshal --prefix scintilla_marshal scintilla-marshal.list --body > scintilla-marshal.c
149 EXTRA_DIST=lexers.make