office-gobmx/compilerplugins/Makefile.mk
Luboš Luňák 02a8d36ebf initial support for clang compiler plugins
The plugin is intentionally built using a custom Makefile,
because it's used by gbuild, so I don't want to build the plugin
using gbuild too. It is also intentionally not placed under workdir/,
as that is cleaned by 'make clean', the plugin is cleaned only
by 'make distclean', so that cleaning it doesn't cause ccache misses.
No actual functionality in the plugin itself yet.

Change-Id: Ic05eba8d6260eec123c9e699eb5385abfe1b832f
2012-10-09 17:25:27 +02:00

32 lines
653 B
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
.PHONY: compilerplugins compilerplugins-clean
ifeq ($(COMPILER_PLUGINS),)
# no support
compilerplugins:
compilerplugins-clean:
compilerplugins.clean:
else
ifeq ($(COM_GCC_IS_CLANG),TRUE)
include $(SRCDIR)/compilerplugins/Makefile-clang.mk
compilerplugins.clean: compilerplugins-clean
endif
endif
# vim: set noet sw=4 ts=4: