Change Library Names Not To Conflict With Others When Installed
[oota-llvm.git] / tools / llee / Makefile
1 ##===- tools/llee/Makefile ---------------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file was developed by the LLVM research group and is distributed under
6 # the University of Illinois Open Source License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9 LEVEL = ../..
10 LIBRARYNAME = LLVMexecve
11 SHARED_LIBRARY = 1
12 include $(LEVEL)/Makefile.common
13
14 all:: llee
15
16 llee: $(TOOLDIR)/llee
17
18 $(TOOLDIR)/llee: Makefile
19         @$(ECHO) Constructing llee shell script
20         $(VERB) echo exec env LD_PRELOAD=$(TOOLDIR)/libexecve$(SHLIBEXT) $$\* > $@
21         $(VERB) chmod u+x $@
22
23 clean::
24         $(VERB) rm -f $(TOOLDIR)/llee