--- /dev/null
+##===- tools/ccc/Makefile ----------------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL = ../../../..
+
+include $(LEVEL)/Makefile.common
+
+install-local:: $(PROJ_bindir)/ccc $(PROJ_bindir)/ccclib
+
+Extra := $(wildcard ccclib/*.py)
+
+$(PROJ_bindir)/ccclib : $(Extra)
+ $(Echo) Installing ccclib.
+ $(Verb) mkdir -p $(PROJ_bindir)/ccclib
+ $(Verb) cp $? $(PROJ_bindir)/ccclib
+ $(Verb) python -m compileall $(PROJ_bindir)/ccclib
+ $(Verb) touch $(PROJ_bindir)/ccclib
+
+$(PROJ_bindir)/ccc : ccc
+ $(Echo) Installing $< shell script.
+ $(Verb) cat $< > $@
+ $(Verb) chmod 0755 $@