summaryrefslogtreecommitdiff
path: root/tools/llee/Makefile
blob: ddb6a00114abb580cde9d34319624403cc2162bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
##===- 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 = execve
SHARED_LIBRARY = 1
include $(LEVEL)/Makefile.common

all:: llee

llee: $(DESTTOOLCURRENT)/llee

$(DESTTOOLCURRENT)/llee: Makefile
	echo exec env LD_PRELOAD=$(DESTLIBCURRENT)/libexecve$(SHLIBEXT) $$\* > $@
	chmod u+x $@

clean::
	rm -f $(DESTTOOLCURRENT)/llee