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 = ../..
|
2004-10-27 23:18:45 +00:00
|
|
|
LIBRARYNAME = LLVMexecve
|
2003-09-29 22:37:00 +00:00
|
|
|
SHARED_LIBRARY = 1
|
2004-10-30 09:19:36 +00:00
|
|
|
DONT_BUILD_RELINKED = 1
|
2003-09-29 22:37:00 +00:00
|
|
|
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
|
|
|
|
2004-11-07 22:26:43 +00:00
|
|
|
llee: $(LLVMToolDir)/llee
|
2003-08-11 22:29:36 +00:00
|
|
|
|
2004-11-07 22:26:43 +00:00
|
|
|
$(LLVMToolDir)/llee: Makefile
|
2004-10-30 09:19:36 +00:00
|
|
|
$(Echo) Constructing llee shell script
|
2004-10-31 17:30:52 +00:00
|
|
|
$(Verb) echo exec env LD_PRELOAD=$(LibDir)/libLLVMexecve$(SHLIBEXT) $$\* > $@
|
2004-10-30 09:19:36 +00:00
|
|
|
$(Verb) chmod u+x $@
|
2003-08-11 22:29:36 +00:00
|
|
|
|
2003-09-29 22:37:00 +00:00
|
|
|
clean::
|
2004-11-07 22:26:43 +00:00
|
|
|
$(Verb) rm -f $(LLVMToolDir)/llee
|