File: Makefile.am

package info (click to toggle)
anjuta 2%3A3.34.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 72,196 kB
  • sloc: ansic: 207,444; sh: 47,499; cpp: 11,461; makefile: 3,588; yacc: 2,821; perl: 2,094; lex: 1,546; xml: 904; python: 149; sql: 99; java: 10
file content (98 lines) | stat: -rw-r--r-- 2,485 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Plugin glade file
sourceview_xmldir = $(anjuta_glade_dir)
dist_sourceview_xml_DATA = anjuta-editor-sourceview.ui

# Plugin UI file
sourceview_uidir = $(anjuta_ui_dir)
dist_sourceview_ui_DATA = anjuta-sourceview.xml

# Plugin Icon file
sourceview_pixmapsdir = $(anjuta_image_dir)
dist_sourceview_pixmaps_DATA = \
	anjuta-editor-sourceview-plugin-48.png \
	anjuta-linemark-16.png \
	anjuta-pcmark-16.png \
	anjuta-breakpoint-disabled-16.png \
	anjuta-breakpoint-enabled-16.png \
	anjuta-bookmark-16.png \
	anjuta-message-16.png

# Plugin description file
plugin_in_files = sourceview.plugin.in
%.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache

sourceview_plugindir = $(anjuta_plugin_dir)
dist_sourceview_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)

AM_CPPFLAGS = \
	$(WARN_CFLAGS) \
	$(DEPRECATED_FLAGS) \
	$(GIO_CFLAGS) \
	$(SOURCEVIEW_CFLAGS) \
	$(LIBANJUTA_CFLAGS) \
	-DG_LOG_DOMAIN=\"sourceview\"

# Where to install the plugin
plugindir = $(anjuta_plugin_dir)

# Marshallers
BUILT_SOURCES = 			\
	anjuta-marshal.c			\
	anjuta-marshal.h              

anjuta-marshal.h: anjuta-marshal.list
	$(AM_V_GEN)glib-genmarshal $< --header --prefix=anjuta_marshal > $@

anjuta-marshal.c: anjuta-marshal.list
	$(AM_V_GEN)echo "#include \"anjuta-marshal.h\"" > $@ && \
	glib-genmarshal $< --body --prefix=anjuta_marshal >> $@

# The plugin
plugin_LTLIBRARIES = libanjuta-sourceview.la

# Plugin sources
libanjuta_sourceview_la_SOURCES = \
	$(BUILT_SOURCES)		\
	plugin.c \
	plugin.h \
	sourceview.c \
	sourceview.h \
	anjuta-view.h \
	anjuta-view.c \
	sourceview-prefs.h \
	sourceview-prefs.c \
	sourceview-private.h \
	sourceview-cell.c \
	sourceview-cell.h \
	sourceview-print.h \
	sourceview-print.c \
	assist-tip.h \
	assist-tip.c \
	sourceview-io.h \
	sourceview-io.c \
	sourceview-provider.h \
	sourceview-provider.c

libanjuta_sourceview_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)

# Plugin dependencies
libanjuta_sourceview_la_LIBADD = \
	$(GIO_LIBS) \
	$(SOURCEVIEW_LIBS) \
	$(LIBANJUTA_LIBS)

gsettings_in_file = org.gnome.anjuta.plugins.sourceview.gschema.xml.in
gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@

EXTRA_DIST = \
	anjuta-marshal.list \
	$(plugin_in_files) \
        $(gsettings_in_file)

CLEANFILES = \
	$(gsettings_SCHEMAS) \
	$(plugin_in_files:.plugin.in=.plugin)

-include $(top_srcdir)/git.mk