Makefile.am 1.16 KB
Newer Older
1
# Plugin UI file
2
loader_uidir = $(anjuta_ui_dir)
3
dist_loader_ui_DATA = anjuta-loader-plugin.ui
4 5

# Plugin Icon file
6
loader_pixmapsdir = $(anjuta_image_dir)
7
dist_loader_pixmaps_DATA = \
Naba Kumar's avatar
Naba Kumar committed
8 9
	anjuta-loader-plugin.svg \
	anjuta-loader-plugin-48.png
10 11 12

# Plugin description file
plugin_in_files = anjuta-loader.plugin.in
Naba Kumar's avatar
Naba Kumar committed
13
%.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
14

15
loader_plugindir = $(anjuta_plugin_dir)
16
dist_loader_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
17 18

# Include paths
19
AM_CPPFLAGS = \
20 21
	$(WARN_CFLAGS) \
	$(DEPRECATED_FLAGS) \
22 23
	$(LIBANJUTA_CFLAGS) \
	-DG_LOG_DOMAIN=\"libanjuta-loader\"
24 25

# Where to install the plugin
26
plugindir = $(anjuta_plugin_dir)
27 28 29 30 31

# The plugin
plugin_LTLIBRARIES = libanjuta-loader.la

# Plugin sources
Naba Kumar's avatar
Naba Kumar committed
32 33 34 35
libanjuta_loader_la_SOURCES = \
	plugin.c \
	plugin.h \
	dnd.c \
36 37 38
	dnd.h \
	anjuta-recent-chooser-menu.c \
	anjuta-recent-chooser-menu.h
39

40 41
libanjuta_loader_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)

42
libanjuta_loader_la_LIBADD = \
Johannes Schmid's avatar
Johannes Schmid committed
43
	$(LIBANJUTA_LIBS)
44

45 46 47
# Plugin dependencies

EXTRA_DIST = \
48
	$(plugin_in_files)
49 50

-include $(top_srcdir)/git.mk