Fix a bug that prevented the JIT from working correctly after llvm_shutdown.
[oota-llvm.git] / Makefile.rules
index ab5ee8839054d319d50da3fc2306e6a24701cae5..56373c0edc40a19b96ef65be6fe30d6672c13d89 100644 (file)
@@ -1206,6 +1206,7 @@ ifdef TARGET
 
 TDFiles := $(strip $(wildcard $(PROJ_SRC_DIR)/*.td) \
            $(LLVM_SRC_ROOT)/lib/Target/Target.td \
+           $(LLVM_SRC_ROOT)/lib/Target/TargetCallingConv.td \
            $(LLVM_SRC_ROOT)/lib/Target/TargetSelectionDAG.td \
            $(LLVM_SRC_ROOT)/include/llvm/CodeGen/ValueTypes.td) \
            $(wildcard $(LLVM_SRC_ROOT)/include/llvm/Intrinsics*.td)
@@ -1690,7 +1691,8 @@ install-local::
        $(Verb) if test -d "$(PROJ_SRC_ROOT)/include" ; then \
          cd $(PROJ_SRC_ROOT)/include && \
          for  hdr in `find . -type f '!' '(' -name '*~' -o -name '.cvsignore' \
-             -o -name '.#*' -o -name '*.in' ')' -print | grep -v CVS ` ; do \
+             -o -name '.#*' -o -name '*.in' ')' -print | grep -v CVS | \
+             grep -v .svn` ; do \
            instdir=`dirname "$(PROJ_includedir)/$$hdr"` ; \
            if test \! -d "$$instdir" ; then \
              $(EchoCmd) Making install directory $$instdir ; \
@@ -1723,6 +1725,11 @@ uninstall-local::
 endif
 endif
 
+check-line-length:
+       @egrep -n '.{81}' $(Sources)
+
+check-for-tabs:
+       @egrep -n '     ' $(Sources)
 #------------------------------------------------------------------------
 # Print out the directories used for building
 #------------------------------------------------------------------------
@@ -1759,3 +1766,5 @@ printvars::
        $(Echo) "Module       : " '$(Module)'
        $(Echo) "FilesToConfig: " '$(FilesToConfigPATH)'
        $(Echo) "SubDirs      : " '$(SubDirs)'
+       $(Echo) "ProjLibsPaths: " '$(ProjLibsPaths)'
+       $(Echo) "ProjLibsOptions: " '$(ProjLibsOptions)'