Initial German translation of the build tutorial
[anjuta.git] / plugins / am-project / Makefile.am
blob48a2d2a152e6efc45c5d9586ffd8952e322aa444
1 SUBDIRS = . tests
3 # Plugin UI file
4 plugin_uidir = $(anjuta_ui_dir)
5 dist_plugin_ui_DATA =
7 # Plugin glade file
8 plugin_gladedir = $(anjuta_glade_dir)
9 dist_plugin_glade_DATA =
11 # Plugin icon file
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)
22 AM_CPPFLAGS =                                   \
23         $(WARN_CFLAGS) \
24         $(DEPRECATED_FLAGS) \
25         $(GIO_CFLAGS) \
26         $(LIBANJUTA_CFLAGS) \
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 = \
33         libam-project.la
35 libam_project_la_SOURCES = \
36         plugin.c \
37         plugin.h \
38         am-project.c \
39         am-project.h \
40         am-scanner.l \
41         am-parser.y \
42         am-scanner.h \
43         ac-scanner.l \
44         ac-parser.y \
45         ac-scanner.h \
46         ac-writer.h \
47         ac-writer.c \
48         am-writer.h \
49         am-writer.c \
50         am-project-private.h \
51         am-properties.c \
52         am-properties.h \
53         amp-node.c \
54         amp-node.h \
55         amp-root.c \
56         amp-root.h \
57         amp-module.h \
58         amp-module.c \
59         amp-package.h \
60         amp-package.c \
61         amp-group.h \
62         amp-group.c \
63         amp-target.h \
64         amp-target.c \
65         amp-source.h \
66         amp-source.c \
67         amp-object.c \
68         amp-object.h \
69         command-queue.c \
70         command-queue.h
72 libam_project_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
74 libam_project_la_LIBADD = \
75         $(GIO_LIBS) \
76         $(LIBANJUTA_LIBS)
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
96 # Test program
98 noinst_PROGRAMS = projectparser
100 projectparser_SOURCES = \
101         projectparser.c \
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 = \
109         $(GIO_LIBS) \
110         $(LIBANJUTA_LIBS) \
111         $(ANJUTA_LIBS)
113 EXTRA_DIST = \
114         $(plugin_in_files) \
115         ac-parser.h \
116         am-parser.h
118 CLEANFILES = $(plugin_in_files:.plugin.in=.plugin)
120 DISTCLEANFILES = \
121         $(plugin_DATA)
123 -include $(top_srcdir)/git.mk