diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-05 18:17:13 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-09 17:25:27 +0200 |
commit | 02a8d36ebf3d54784903f2899eafe010bedf2f4c (patch) | |
tree | 61ba648242b1356b7da72336073b91e397814e50 /Makefile.top | |
parent | Some OUString and RTL_CONST refactoring (diff) | |
download | core-02a8d36ebf3d54784903f2899eafe010bedf2f4c.tar.gz core-02a8d36ebf3d54784903f2899eafe010bedf2f4c.zip |
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
Diffstat (limited to 'Makefile.top')
-rw-r--r-- | Makefile.top | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.top b/Makefile.top index e5bd89d1da0a..d8bde500ca26 100644 --- a/Makefile.top +++ b/Makefile.top @@ -351,10 +351,12 @@ ifeq ($(CROSS_COMPILING),YES) rm -rf $(SRCDIR)/*/$(INPATH_FOR_BUILD) endif +include $(SRCDIR)/compilerplugins/Makefile.mk + # # Distclean # -distclean : clean +distclean : clean compilerplugins-clean ifeq ($(BUILD_DMAKE),YES) (if [ -f dmake/Makefile ] ; then $(GNUMAKE) -j $(GMAKE_PARALLELISM) -C dmake distclean; fi) && \ rm -f solenv/*/bin/dmake* @@ -393,7 +395,7 @@ endif # bootstrap: $(WORKDIR)/bootstrap -$(WORKDIR)/bootstrap: solenv/bin/concat-deps.c +$(WORKDIR)/bootstrap: solenv/bin/concat-deps.c compilerplugins @cd $(SRCDIR) && ./bootstrap @mkdir -p $(dir $@) && touch $@ |