##===- 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. # ##===----------------------------------------------------------------------===## LEVEL = ../.. LIBRARYNAME = LLVMexecve SHARED_LIBRARY = 1 include $(LEVEL)/Makefile.common all:: llee llee: $(TOOLDIR)/llee $(TOOLDIR)/llee: Makefile @$(ECHO) Constructing llee shell script $(VERB) echo exec env LD_PRELOAD=$(LIBDIR)/libLLVMexecve$(SHLIBEXT) $$\* > $@ $(VERB) chmod u+x $@ clean:: $(VERB) rm -f $(TOOLDIR)/llee