2004-09-09 03:48:15 +08:00
|
|
|
##===- tools/llee/Makefile ---------------------------------*- Makefile -*-===##
|
2003-10-21 06:29:16 +08: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-12 06:29:36 +08:00
|
|
|
LEVEL = ../..
|
2004-10-28 07:18:45 +08:00
|
|
|
LIBRARYNAME = LLVMexecve
|
2003-09-30 06:37:00 +08:00
|
|
|
SHARED_LIBRARY = 1
|
2004-10-30 17:19:36 +08:00
|
|
|
DONT_BUILD_RELINKED = 1
|
2003-09-30 06:37:00 +08:00
|
|
|
include $(LEVEL)/Makefile.common
|
2003-08-12 06:29:36 +08:00
|
|
|
|
2003-09-30 06:37:00 +08:00
|
|
|
all:: llee
|
2003-08-12 06:29:36 +08:00
|
|
|
|
2004-10-30 17:19:36 +08:00
|
|
|
llee: $(ToolDir)/llee
|
2003-08-12 06:29:36 +08:00
|
|
|
|
2004-10-30 17:19:36 +08:00
|
|
|
$(ToolDir)/llee: Makefile
|
|
|
|
$(Echo) Constructing llee shell script
|
2004-11-01 01:30:52 +08:00
|
|
|
$(Verb) echo exec env LD_PRELOAD=$(LibDir)/libLLVMexecve$(SHLIBEXT) $$\* > $@
|
2004-10-30 17:19:36 +08:00
|
|
|
$(Verb) chmod u+x $@
|
2003-08-12 06:29:36 +08:00
|
|
|
|
2003-09-30 06:37:00 +08:00
|
|
|
clean::
|
2004-10-30 17:19:36 +08:00
|
|
|
$(Verb) rm -f $(ToolDir)/llee
|