summaryrefslogtreecommitdiff
path: root/tools/llee/Makefile
blob: a93c4deddc26e2403dbd1eb512870284506d7a02 (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)/execve.so $$\* > $@
	chmod u+x $@

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