1 # Sample Makefile for a anjuta plugin.
4 devhelp_uidir = $(anjuta_ui_dir)
5 devhelp_ui_DATA = anjuta-devhelp.ui anjuta-devhelp-simple.ui
8 devhelp_pixmapsdir = $(anjuta_image_dir)
9 devhelp_pixmaps_DATA = \
10 anjuta-devhelp-plugin.svg \
11 anjuta-devhelp-plugin-48.png \
12 anjuta-go-help-next-24.png \
13 anjuta-go-help-next-16.png \
14 anjuta-go-help-prev-24.png \
15 anjuta-go-help-prev-16.png
17 # Plugin description file
18 plugin_in_files = anjuta-devhelp.plugin.in
19 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
21 devhelp_plugindir = $(anjuta_plugin_dir)
22 devhelp_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
30 if HAVE_PLUGIN_DEVHELP
31 AM_CPPFLAGS += $(PLUGIN_DEVHELP_CFLAGS)
33 AM_CPPFLAGS += -DDISABLE_EMBEDDED_DEVHELP
36 # Where to install the plugin
37 plugindir = $(anjuta_plugin_dir)
40 plugin_LTLIBRARIES = libanjuta-devhelp.la
42 libanjuta_devhelp_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
45 libanjuta_devhelp_la_SOURCES = \
49 if HAVE_PLUGIN_DEVHELP
50 libanjuta_devhelp_la_SOURCES += \
56 libanjuta_devhelp_la_LIBADD = \
60 if HAVE_PLUGIN_DEVHELP
61 libanjuta_devhelp_la_LIBADD += $(PLUGIN_DEVHELP_LIBS)
66 $(devhelp_plugin_DATA) \
68 $(devhelp_pixmaps_DATA)