| ##===- bindings/ocaml/llvm/Makefile ------------------------*- Makefile -*-===## |
| # The LLVM Compiler Infrastructure |
| # This file is distributed under the University of Illinois Open Source |
| # License. See LICENSE.TXT for details. |
| ##===----------------------------------------------------------------------===## |
| # This is the makefile for the Objective Caml Llvm interface. |
| ##===----------------------------------------------------------------------===## |
| include ../Makefile.ocaml |
| install-local:: install-meta |
| uninstall-local:: uninstall-meta |
| DestMETA := $(PROJ_libocamldir)/META.llvm |
| # Easy way of generating META in the objdir |
| copy-meta: $(OcamlDir)/META.llvm |
| $(OcamlDir)/META.llvm: META.llvm |
| install-meta:: $(ObjDir)/META.llvm |
| $(Echo) "Install $(BuildMode) $(DestMETA)" |
| $(Verb) $(MKDIR) $(PROJ_libocamldir) |
| $(Verb) $(DataInstall) META.llvm "$(DestMETA)" |
| $(Echo) "Uninstalling $(DestMETA)" |
| -$(Verb) $(RM) -f "$(DestMETA)" |