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