]> git.gag.com Git - fw/sdcc/commitdiff
* device/include/Makefile.in: create/copy mcs51 and z80 include subdirs
authormaartenbrock <maartenbrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 29 Jan 2005 19:19:10 +0000 (19:19 +0000)
committermaartenbrock <maartenbrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 29 Jan 2005 19:19:10 +0000 (19:19 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3659 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
device/include/Makefile.in

index 56c30a1970555bc291a48497874a04ef4bc233e8..c2e3614a4e5999e4cad5fbf7da887a3e40dc3093 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
+2004-01-29 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/Makefile.in: create/copy mcs51 and z80 include subdirs
+
 2004-01-27 Maarten Brock <sourceforge.brock AT dse.nl>
 
-       * 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 <rneider AT web.de>
index 61944635febaad6d65073a24fd1e2604e918b8f0..96dfe93288afa8baef6b9f5e8497421a5f3969bb 100644 (file)
@@ -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