gala/plugins/maskcorners/Makefile.am

60 lines
1.2 KiB
Makefile

include $(top_srcdir)/Makefile.common
VAPIDIR = $(top_srcdir)/vapi
BUILT_SOURCES = libgala_maskcorners_la_vala.stamp
libgala_maskcorners_la_LTLIBRARIES = libgala-maskcorners.la
libgala_maskcorners_ladir = $(pkglibdir)/plugins
libgala_maskcorners_la_LDFLAGS = \
$(PLUGIN_LDFLAGS) \
$(GALA_CORE_LDFLAGS) \
$(top_builddir)/lib/libgala.la \
$(NULL)
libgala_maskcorners_la_CFLAGS = \
$(GALA_CORE_CFLAGS) \
-include config.h \
-w \
-I$(top_builddir)/lib \
$(NULL)
libgala_maskcorners_la_VALAFLAGS = \
$(GALA_CORE_VALAFLAGS) \
$(top_builddir)/lib/gala.vapi \
--vapidir $(VAPIDIR) \
$(VAPIDIR)/config.vapi \
$(NULL)
libgala_maskcorners_la_LIBADD = \
$(GALA_CORE_LIBS) \
$(NULL)
libgala_maskcorners_la_VALASOURCES = \
Main.vala \
Settings.vala \
$(NULL)
nodist_libgala_maskcorners_la_SOURCES = \
$(BUILT_SOURCES) \
$(libgala_maskcorners_la_VALASOURCES:.vala=.c) \
$(NULL)
libgala_maskcorners_la_vala.stamp: $(libgala_maskcorners_la_VALASOURCES) $(top_builddir)/lib/gala.vapi Makefile
$(AM_V_VALA)$(VALAC) \
$(libgala_maskcorners_la_VALAFLAGS) \
-C \
$(filter %.vala %.c,$^)
$(AM_V_at)touch $@
CLEANFILES = \
$(nodist_libgala_maskcorners_la_SOURCES) \
$(NULL)
EXTRA_DIST = \
$(libgala_maskcorners_la_VALASOURCES) \
$(NULL)