4 plugin_uidir = $(anjuta_ui_dir)
8 plugin_gladedir = $(anjuta_glade_dir)
9 dist_plugin_glade_DATA =
12 plugin_pixmapsdir = $(anjuta_image_dir)
13 dist_plugin_pixmaps_DATA = am-project-plugin-48.png
15 # Plugin description file
16 plugin_in_files = am-project.plugin.in
17 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
19 plugindir = $(anjuta_plugin_dir)
20 dist_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
27 -DG_LOG_DOMAIN=\"am-project\"
29 # flex(1) output fails this check, so disable it
30 CFLAGS += -Wno-error=missing-prototypes
32 plugin_LTLIBRARIES = \
35 libam_project_la_SOURCES = \
50 am-project-private.h \
72 libam_project_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
74 libam_project_la_LIBADD = \
78 AM_YFLAGS = -t -v -g -rall -r lookahead,itemset
80 ac-scanner.c: $(srcdir)/ac-scanner.l ac-parser.c
81 $(LEXCOMPILE) -o $@ $<
83 ac-parser.c: $(srcdir)/ac-parser.y
84 $(YACCCOMPILE) -o $@ $<
86 ac-scanner.h: ac-parser.c
88 am-scanner.c: $(srcdir)/am-scanner.l am-parser.c
89 $(LEXCOMPILE) -o $@ $<
91 am-parser.c: $(srcdir)/am-parser.y
92 $(YACCCOMPILE) -o $@ $<
94 am-scanner.h: am-parser.c
98 noinst_PROGRAMS = projectparser
100 projectparser_SOURCES = \
102 $(libam_project_la_SOURCES)
104 # This is needed to have different objects for libam_project_la_SOURCES, one
105 # compiled with libtool another without
106 projectparser_CFLAGS = $(AM_CFLAGS)
108 projectparser_LDADD = \
118 CLEANFILES = $(plugin_in_files:.plugin.in=.plugin)
123 -include $(top_srcdir)/git.mk