Use the FAKE_SOURCES feature for proper distribution of contents
[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 DONT_BUILD_RELINKED = 1
13 include $(LEVEL)/Makefile.common
14
15 all:: llee
16
17 llee: $(LLVMToolDir)/llee
18
19 $(LLVMToolDir)/llee: Makefile
20         $(Echo) Constructing llee shell script
21         $(Verb) echo exec env LD_PRELOAD=$(LibDir)/libLLVMexecve$(SHLIBEXT) $$\* > $@
22         $(Verb) chmod u+x $@
23
24 clean::
25         $(Verb) rm -f $(LLVMToolDir)/llee