mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	For PR2928
--- Merging r127325 into '.': U Makefile.rules git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127689 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -2139,8 +2139,13 @@ install-local:: | |||||||
| 	$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir) | 	$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir) | ||||||
| 	$(Verb) if test -d "$(PROJ_SRC_ROOT)/include" ; then \ | 	$(Verb) if test -d "$(PROJ_SRC_ROOT)/include" ; then \ | ||||||
| 	  cd $(PROJ_SRC_ROOT)/include && \ | 	  cd $(PROJ_SRC_ROOT)/include && \ | ||||||
| 	  for  hdr in `find . -type f '!' '(' -name '*~' \ | 	  for hdr in `find . -type f \ | ||||||
| 	      -o -name '.#*' -o -name '*.in' ')' -print | grep -v CVS | \ | 	      '(' -name LICENSE.TXT \ | ||||||
|  | 	       -o -name '*.def' \ | ||||||
|  | 	       -o -name '*.h' \ | ||||||
|  | 	       -o -name '*.inc' \ | ||||||
|  | 	       -o -name '*.td' \ | ||||||
|  | 	      ')' -print | grep -v CVS | \ | ||||||
| 	      grep -v .svn` ; do \ | 	      grep -v .svn` ; do \ | ||||||
| 	    instdir=`dirname "$(DESTDIR)$(PROJ_includedir)/$$hdr"` ; \ | 	    instdir=`dirname "$(DESTDIR)$(PROJ_includedir)/$$hdr"` ; \ | ||||||
| 	    if test \! -d "$$instdir" ; then \ | 	    if test \! -d "$$instdir" ; then \ | ||||||
| @@ -2153,7 +2158,19 @@ install-local:: | |||||||
| ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT)) | ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT)) | ||||||
| 	$(Verb) if test -d "$(PROJ_OBJ_ROOT)/include" ; then \ | 	$(Verb) if test -d "$(PROJ_OBJ_ROOT)/include" ; then \ | ||||||
| 	  cd $(PROJ_OBJ_ROOT)/include && \ | 	  cd $(PROJ_OBJ_ROOT)/include && \ | ||||||
| 	  for hdr in `find . -type f -print | grep -v CVS` ; do \ | 	  for hdr in `find . -type f \ | ||||||
|  | 	      '(' -name LICENSE.TXT \ | ||||||
|  | 	       -o -name '*.def' \ | ||||||
|  | 	       -o -name '*.h' \ | ||||||
|  | 	       -o -name '*.inc' \ | ||||||
|  | 	       -o -name '*.td' \ | ||||||
|  | 	      ')' -print | grep -v CVS | \ | ||||||
|  | 	      grep -v .svn` ; do \ | ||||||
|  | 	    instdir=`dirname "$(DESTDIR)$(PROJ_includedir)/$$hdr"` ; \ | ||||||
|  | 	    if test \! -d "$$instdir" ; then \ | ||||||
|  | 	      $(EchoCmd) Making install directory $$instdir ; \ | ||||||
|  | 	      $(MKDIR) $$instdir ;\ | ||||||
|  | 	    fi ; \ | ||||||
| 	    $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \ | 	    $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \ | ||||||
| 	  done ; \ | 	  done ; \ | ||||||
| 	fi | 	fi | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user