gala/plugins/pip/Makefile.am
2017-07-16 22:00:23 +02:00

62 lines
1.2 KiB
Makefile

include $(top_srcdir)/Makefile.common
VAPIDIR = $(top_srcdir)/vapi
BUILT_SOURCES = libgala_pip_la_vala.stamp
libgala_pip_la_LTLIBRARIES = libgala-pip.la
libgala_pip_ladir = $(pkglibdir)/plugins
libgala_pip_la_LDFLAGS = \
$(PLUGIN_LDFLAGS) \
$(GALA_CORE_LDFLAGS) \
$(top_builddir)/lib/libgala.la \
$(NULL)
libgala_pip_la_CFLAGS = \
$(GALA_CORE_CFLAGS) \
-include config.h \
-w \
-I$(top_builddir)/lib \
$(NULL)
libgala_pip_la_VALAFLAGS = \
$(GALA_CORE_VALAFLAGS) \
$(top_builddir)/lib/gala.vapi \
--vapidir $(VAPIDIR) \
$(VAPIDIR)/config.vapi \
$(NULL)
libgala_pip_la_LIBADD = \
$(GALA_CORE_LIBS) \
$(NULL)
libgala_pip_la_VALASOURCES = \
Main.vala \
MoveAction.vala \
PopupWindow.vala \
SelectionArea.vala \
ShadowEffect.vala \
$(NULL)
nodist_libgala_pip_la_SOURCES = \
$(BUILT_SOURCES) \
$(libgala_pip_la_VALASOURCES:.vala=.c) \
$(NULL)
libgala_pip_la_vala.stamp: $(libgala_pip_la_VALASOURCES) $(top_builddir)/lib/gala.vapi Makefile
$(AM_V_VALA)$(VALAC) \
$(libgala_pip_la_VALAFLAGS) \
-C \
$(filter %.vala %.c,$^)
$(AM_V_at)touch $@
CLEANFILES = \
$(nodist_libgala_pip_la_SOURCES) \
$(NULL)
EXTRA_DIST = \
$(libgala_pip_la_VALASOURCES) \
$(NULL)