aboutsummaryrefslogtreecommitdiff
path: root/tools/llee/Makefile
blob: fdf3389f28aed894a8fe7d06e748678bfea78dec (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
##===- 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: $(TOOLDIR)/llee

$(TOOLDIR)/llee: Makefile
	@$(ECHO) Constructing llee shell script
	$(VERB) echo exec env LD_PRELOAD=$(TOOLDIR)/libexecve$(SHLIBEXT) $$\* > $@
	$(VERB) chmod u+x $@

clean::
	$(VERB) rm -f $(TOOLDIR)/llee