Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

source: fsodeviced/src/plugins/kernel26_display/Makefile.am @ 2ffea7d

Revision 2ffea7d, 1.0 KB checked in by Michael 'Mickey' Lauer <mickey@…>, 2 years ago (diff)

fsodeviced: include the .vala files with make dist

Even though valac is not required when building from a dist-tarball,
make does require the .vala files to be present.

Signed-off-by: Peter van de Werken <pwerken-fso@…>

  • Property mode set to 100644
Line 
1include $(top_srcdir)/Makefile.decl
2
3NULL =
4
5AM_CPPFLAGS = \
6        -I$(top_srcdir) \
7        $(FSO_CFLAGS) \
8        -DG_LOG_DOMAIN=\"fsodevice.kernel26_display\" \
9        $(NULL)
10
11noinst_PROGRAMS = $(TEST_PROGS)
12
13progs_ldadd = $(FSO_LIBS) $(DBUS_LIBS) $(top_srcdir)/src/lib/libfsodevice.la
14
15VALAC_ARGS = \
16        --basedir $(top_srcdir) \
17        --vapidir $(top_srcdir)/fsoframework \
18        --pkg glib-2.0 \
19        --pkg fso-glib-1.0 \
20        --pkg fsoframework-2.0
21
22#
23# plugin
24#
25modlibexecdir = $(libdir)/cornucopia/modules/fsodevice
26modlibexec_LTLIBRARIES = kernel26_display.la
27kernel26_display_la_SOURCES = plugin.c
28kernel26_display_la_VALASOURCES = plugin.vala
29$(kernel26_display_la_SOURCES): $(kernel26_display_la_VALASOURCES)
30        $(VALAC) -C $(VALAC_ARGS) $^
31        touch $@
32kernel26_display_la_LIBADD = $(progs_ldadd)
33kernel26_display_la_LDFLAGS = -no-undefined -module -avoid-version
34kernel26_display_la_LIBTOOLFLAGS = --tag=disable-static
35
36EXTRA_DIST += \
37        $(kernel26_display_la_VALASOURCES) \
38        $(NULL)
39
40CLEANFILES = \
41    *.c \
42    *.h \
43    *.la \
44    *.lo \
45    $(NULL)
46
47MAINTAINERCLEANFILES = \
48  Makefile.in \
49  $(NULL)
Note: See TracBrowser for help on using the repository browser.