Misha Brukman | ac09e25 | 2004-09-08 19:48:15 +0000 | [diff] [blame] | 1 | ##===- tools/llee/Makefile ---------------------------------*- Makefile -*-===## |
John Criswell | e2fab73 | 2003-10-20 22:29:16 +0000 | [diff] [blame] | 2 | # |
| 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
| 5 | # This file was developed by the LLVM research group and is distributed under |
| 6 | # the University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | # |
| 8 | ##===----------------------------------------------------------------------===## |
Misha Brukman | 0abaaf4 | 2003-08-11 22:29:36 +0000 | [diff] [blame] | 9 | LEVEL = ../.. |
Reid Spencer | 6cb21d4 | 2004-10-27 23:18:45 +0000 | [diff] [blame] | 10 | LIBRARYNAME = LLVMexecve |
Misha Brukman | 2e1fbdd | 2003-09-29 22:37:00 +0000 | [diff] [blame] | 11 | SHARED_LIBRARY = 1 |
Reid Spencer | cc2d1e2 | 2004-10-30 09:19:36 +0000 | [diff] [blame] | 12 | DONT_BUILD_RELINKED = 1 |
Misha Brukman | 2e1fbdd | 2003-09-29 22:37:00 +0000 | [diff] [blame] | 13 | include $(LEVEL)/Makefile.common |
Misha Brukman | 0abaaf4 | 2003-08-11 22:29:36 +0000 | [diff] [blame] | 14 | |
Misha Brukman | 2e1fbdd | 2003-09-29 22:37:00 +0000 | [diff] [blame] | 15 | all:: llee |
Misha Brukman | 0abaaf4 | 2003-08-11 22:29:36 +0000 | [diff] [blame] | 16 | |
Misha Brukman | a152753 | 2004-11-07 22:26:43 +0000 | [diff] [blame] | 17 | llee: $(LLVMToolDir)/llee |
Misha Brukman | 0abaaf4 | 2003-08-11 22:29:36 +0000 | [diff] [blame] | 18 | |
Misha Brukman | a152753 | 2004-11-07 22:26:43 +0000 | [diff] [blame] | 19 | $(LLVMToolDir)/llee: Makefile |
Reid Spencer | cc2d1e2 | 2004-10-30 09:19:36 +0000 | [diff] [blame] | 20 | $(Echo) Constructing llee shell script |
Misha Brukman | 4ad0b11 | 2004-10-31 17:30:52 +0000 | [diff] [blame] | 21 | $(Verb) echo exec env LD_PRELOAD=$(LibDir)/libLLVMexecve$(SHLIBEXT) $$\* > $@ |
Reid Spencer | cc2d1e2 | 2004-10-30 09:19:36 +0000 | [diff] [blame] | 22 | $(Verb) chmod u+x $@ |
Misha Brukman | 0abaaf4 | 2003-08-11 22:29:36 +0000 | [diff] [blame] | 23 | |
Misha Brukman | 2e1fbdd | 2003-09-29 22:37:00 +0000 | [diff] [blame] | 24 | clean:: |
Misha Brukman | a152753 | 2004-11-07 22:26:43 +0000 | [diff] [blame] | 25 | $(Verb) rm -f $(LLVMToolDir)/llee |