1
2GLIB_GENMARSHAL = glib-genmarshal
3GLIB_COMPILE_RESOURCES = glib-compile-resources
4GLIB_MKENUMS = glib-mkenums
5
6AM_CPPFLAGS = \
7	-DHAVE_ROUND \
8	@VICE_CPPFLAGS@ \
9	@ARCH_INCLUDES@ \
10	$(extra_includes) \
11	@GTK_CFLAGS@ \
12	@GLIB_CFLAGS@ \
13	-I$(top_builddir)/src \
14	-I$(top_builddir)/src/arch/gtk3/novte \
15	-I$(top_srcdir)/src/arch/gtk3/novte \
16	-I$(top_srcdir)/src
17
18AM_CFLAGS = @VICE_CFLAGS@
19
20AM_CXXFLAGS = @VICE_CXXFLAGS@ @VTE_CXXFLAGS@
21
22AM_LDFLAGS = @VICE_LDFLAGS@
23
24
25noinst_LIBRARIES = libnovte.a
26
27libnovte_a_SOURCES = \
28	debug.cc \
29	iso2022.cc \
30	keymap.cc \
31	matcher.cc \
32	ring.cc \
33	table.cc \
34	vte.cc \
35	vteaccess.cc \
36	vteconv.cc \
37	vtedraw.cc \
38	vtegtk.cc \
39	vterowdata.cc \
40	vteseq.cc \
41	vtestream.cc \
42	vtetypes.cc \
43	vteunistr.cc \
44	vteutils.cc
45
46EXTRA_DIST = \
47	novte.h \
48	vtedeprecated.h \
49	vteenums.h \
50	vteglobals.h \
51	vtemacros.h \
52	vteterminal.h \
53	attr.hh \
54	buffer.h \
55	caps.hh \
56	caps-list.hh \
57	color-triple.hh \
58	debug.h \
59	iso2022.h \
60	keymap.h \
61	matcher.hh \
62	ring.h \
63	table.hh \
64	vteaccess.h \
65	vteconv.h \
66	vtedefines.hh \
67	vtedraw.hh \
68	vtegtk.hh \
69	vteinternal.hh \
70	vterowdata.h \
71	vteseq-list.hh \
72	vtestream.h \
73	vtestream-base.h \
74	vtestream-file.h \
75	vtetypes.hh \
76	vteunistr.h \
77	vteutils.h\
78	box_drawing.txt \
79	iso2022.txt \
80	box_drawing_generate.sh \
81	marshal.list \
82	vtetypebuiltins.cc.template \
83	vtetypebuiltins.h.template \
84	vtetypebuiltins.h
85
86BUILT_SOURCES = \
87	box_drawing.h \
88	marshal.cc \
89	marshal.h \
90	vtetypebuiltins.cc \
91	vtetypebuiltins.h
92
93box_drawing.h: box_drawing.txt box_drawing_generate.sh
94	$(AM_V_GEN) $(srcdir)/box_drawing_generate.sh < $< > $@
95
96marshal.cc: marshal.list
97	$(AM_V_GEN) echo '#include "marshal.h"' > $@ \
98	&& $(GLIB_GENMARSHAL) --prefix=_vte_marshal --body --internal $< >> $@
99
100marshal.h: marshal.list
101	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_vte_marshal --header --internal $< > $@
102
103vtetypebuiltins.h: vtetypebuiltins.h.template vteenums.h vtedeprecated.h
104	$(AM_V_GEN) $(GLIB_MKENUMS) --template $< $(filter %.h,$^) > xgen-vtbh \
105	&& (cmp -s xgen-vtbh vtetypebuiltins.h || cp xgen-vtbh vtetypebuiltins.h ) \
106	&& rm -f xgen-vtbh
107
108vtetypebuiltins.cc: vtetypebuiltins.cc.template vteenums.h vtedeprecated.h
109	$(AM_V_GEN) $(GLIB_MKENUMS) --template $< $(filter %.h,$^) > xgen-vtbc \
110	&& (cmp -s xgen-vtbc vtetypebuiltins.cc || cp xgen-vtbc vtetypebuiltins.cc ) \
111	&& rm -f xgen-vtbc
112