aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llee/Makefile
blob: 59a82af2e96d04be6ba6113a9d222712e4f6e11b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
##===- tools/llee/Makefile ---------------------------------*- Makefile -*-===##
# 
#                     The LLVM Compiler Infrastructure
#
# This file was developed by the LLVM research group and is distributed under
# the University of Illinois Open Source License. See LICENSE.TXT for details.
# 
##===----------------------------------------------------------------------===##
LEVEL = ../..
LIBRARYNAME = LLVMexecve
SHARED_LIBRARY = 1
DONT_BUILD_RELINKED = 1
include $(LEVEL)/Makefile.common

all:: llee

llee: $(LLVMToolDir)/llee

$(LLVMToolDir)/llee: Makefile
	$(Echo) Constructing llee shell script
	$(Verb) echo exec env LD_PRELOAD=$(LibDir)/libLLVMexecve$(SHLIBEXT) $$\* > $@
	$(Verb) chmod u+x $@

clean::
	$(Verb) rm -f $(LLVMToolDir)/llee