2004-09-08 19:48:15 +00:00
|
|
|
##===- tools/llee/Makefile ---------------------------------*- Makefile -*-===##
|
2003-10-20 22:29:16 +00:00
|
|
|
#
|
|
|
|
# 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-08-04 21:19:27 +00:00
|
|
|
echo exec env LD_PRELOAD=$(DESTLIBCURRENT)/libexecve$(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
|