mirror of
https://github.com/brl/mutter.git
synced 2024-12-28 05:42:14 +00:00
b63b1584bd
We should formalise the current coding style of Clutter for third parties that wish to start hacking and contribute back patches.
54 lines
1.1 KiB
Makefile
54 lines
1.1 KiB
Makefile
NULL =
|
|
|
|
SUBDIRS = clutter tests po
|
|
|
|
if BUILD_GTK_DOC
|
|
SUBDIRS += doc
|
|
endif
|
|
|
|
DIST_SUBDIRS = clutter tests doc po
|
|
|
|
pcfiles = \
|
|
clutter-$(CLUTTER_API_VERSION).pc \
|
|
clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc \
|
|
$(NULL)
|
|
|
|
# clutter-<major>.<minor>.pc - for generic dependencies
|
|
clutter-$(CLUTTER_API_VERSION).pc: clutter.pc
|
|
@cp $< $@
|
|
|
|
# clutter-<flavour>-<major>.<minor>.pc - for backend-specific dependencies
|
|
clutter-$(CLUTTER_FLAVOUR)-$(CLUTTER_API_VERSION).pc: clutter.pc
|
|
@cp $< $@
|
|
|
|
.PHONY: test-report full-report
|
|
test-report full-report:
|
|
$(MAKE) -C tests/conform $(@)
|
|
|
|
pkgconfig_DATA = $(pcfiles)
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
DEFAULT_FLAVOUR = @CLUTTER_FLAVOUR@
|
|
|
|
EXTRA_DIST = clutter.pc.in HACKING HACKING.backends CODING_STYLE
|
|
|
|
CLEANFILES = $(pcfiles)
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags
|
|
|
|
# Extra clean files so that maintainer-clean removes *everything*
|
|
MAINTAINERCLEANFILES = \
|
|
aclocal.m4 \
|
|
compile \
|
|
config.guess \
|
|
config.h.in \
|
|
config.sub \
|
|
configure \
|
|
depcomp \
|
|
gtk-doc.make \
|
|
install-sh \
|
|
ltmain.sh \
|
|
Makefile.in \
|
|
missing \
|
|
$(NULL)
|