+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>
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@
# ----------------------------------------------------
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'`
# ---------------------------------
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