2003-10-20 22:29:16 +00:00
|
|
|
##===- 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.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2003-08-11 22:29:36 +00:00
|
|
|
LEVEL = ../..
|
2003-09-29 22:37:00 +00:00
|
|
|
LIBRARYNAME = execve
|
|
|
|
SHARED_LIBRARY = 1
|
|
|
|
include $(LEVEL)/Makefile.common
|
2003-08-11 22:29:36 +00:00
|
|
|
|
2003-09-29 22:37:00 +00:00
|
|
|
all:: llee
|
2003-08-11 22:29:36 +00:00
|
|
|
|
2003-09-29 22:37:00 +00:00
|
|
|
llee: $(DESTTOOLCURRENT)/llee
|
2003-08-11 22:29:36 +00:00
|
|
|
|
2003-09-29 22:37:00 +00:00
|
|
|
$(DESTTOOLCURRENT)/llee: Makefile
|
2004-01-26 20:59:41 +00:00
|
|
|
echo exec env LD_PRELOAD=$(DESTLIBCURRENT)/execve$(SHLIBEXT) $$\* > $@
|
2003-09-29 22:37:00 +00:00
|
|
|
chmod u+x $@
|
2003-08-11 22:29:36 +00:00
|
|
|
|
2003-09-29 22:37:00 +00:00
|
|
|
clean::
|
|
|
|
rm -f $(DESTTOOLCURRENT)/llee
|