summaryrefslogtreecommitdiff
path: root/tools/llee/Makefile.am
blob: 36700ff50dee204fa00f60cf1d6f681319f66e06 (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.am ------------------------------*- Makefile -*--===#
#
#                     The LLVM Compiler Infrastructure
#
# This file was developed by Reid Spencer and is distributed under the 
# University of Illinois Open Source License. See LICENSE.TXT for details.
# 
#===------------------------------------------------------------------------===#

include $(top_srcdir)/Makefile.rules.am

lib_LIBRARIES = libexecve.a

libexecve_a_SOURCES = ExecveHandler.c StorageProxy.c SysUtils.c

all: llee

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

clean:
	rm -f /llee