From: maartenbrock Date: Sat, 29 Jan 2005 19:19:10 +0000 (+0000) Subject: * device/include/Makefile.in: create/copy mcs51 and z80 include subdirs X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=cb94cb0402efe8ee960f84a3319d33893a46a07e;p=fw%2Fsdcc * device/include/Makefile.in: create/copy mcs51 and z80 include subdirs git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3659 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 56c30a19..c2e3614a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ +2004-01-29 Maarten Brock + + * device/include/Makefile.in: create/copy mcs51 and z80 include subdirs + 2004-01-27 Maarten Brock - * device/include/c8051fxxx.h: removed these 6 new files + * device/include/c8051fxxx.h: removed these 6 files * device/include/mcs51/c8051fxxx.h: added these 11 new files 2005-01-26 Raphael Neider diff --git a/device/include/Makefile.in b/device/include/Makefile.in index 61944635..96dfe932 100644 --- a/device/include/Makefile.in +++ b/device/include/Makefile.in @@ -7,12 +7,12 @@ VERSIONHI = @VERSIONHI@ VERSIONLO = @VERSIONLO@ VERSIONP = @VERSIONP@ -SHELL = /bin/sh -CPP = @CPP@ -INSTALL = @INSTALL@ +SHELL = /bin/sh +CPP = @CPP@ +INSTALL = @INSTALL@ CP = @CP@ -PRJDIR = .. +PRJDIR = .. prefix = @prefix@ exec_prefix = @exec_prefix@ @@ -41,9 +41,15 @@ all: # ---------------------------------------------------- install: all installdirs $(CP) -r asm *.h $(sdcc_includedir) + if [ "`grep mcs51 ../../ports.build`" = mcs51 ]; then \ + $(CP) mcs51/*.h $(sdcc_includedir)/mcs51 ; \ + fi if [ "`grep pic16 ../../ports.build`" = pic16 ]; then \ $(CP) pic16/*.h $(sdcc_includedir)/pic16 ; \ fi + if [ "`grep z80 ../../ports.build`" = z80 ]; then \ + $(CP) z80/*.h $(sdcc_includedir)/z80 ; \ + fi rm -rf `find $(sdcc_includedir) -type d -name 'CVS'` @@ -67,7 +73,9 @@ installcheck: # --------------------------------- installdirs: [ -d $(sdcc_includedir) ] || mkdir -p $(sdcc_includedir) + [ -d $(sdcc_includedir)/mcs51 ] || mkdir -p $(sdcc_includedir)/mcs51 [ -d $(sdcc_includedir)/pic16 ] || mkdir -p $(sdcc_includedir)/pic16 + [ -d $(sdcc_includedir)/z80 ] || mkdir -p $(sdcc_includedir)/z80 # Creating dependencies