diff -Naur atmega8/Makefile.am atmega8a/Makefile.am --- atmega8/Makefile.am 2014-08-12 21:08:19.000000000 +0200 +++ atmega8a/Makefile.am 2014-08-12 21:08:19.000000000 +0200 @@ -28,8 +28,8 @@ # POSSIBILITY OF SUCH DAMAGE. # -AVR_TARGET = atmega8 -AVR_TARGET_CRT = crtm8.o +AVR_TARGET = atmega8a +AVR_TARGET_CRT = crtm8a.o AVR_TARGET_DEFS = AVR_TARGET_CFLAGS = -mcall-prologues -Os AVR_TARGET_ASFLAGS = @@ -37,7 +37,7 @@ VPATH = $(top_srcdir)/crt1 -if HAS_atmega8 +if HAS_atmega8a AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/include -I$(top_builddir)/include diff -Naur atmega8/Makefile.in atmega8a/Makefile.in --- atmega8/Makefile.in 2014-08-12 21:08:40.000000000 +0200 +++ atmega8a/Makefile.in 2014-08-12 21:08:40.000000000 +0200 @@ -108,7 +108,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -subdir = avr/lib/avr4/atmega8 +subdir = avr/lib/avr4/atmega8a DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/depcomp ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 @@ -127,7 +127,7 @@ am__v_AR_1 = libcrt_a_AR = $(AR) $(ARFLAGS) libcrt_a_LIBADD = -@HAS_atmega8_TRUE@nodist_libcrt_a_OBJECTS = gcrt1.$(OBJEXT) +@HAS_atmega8a_TRUE@nodist_libcrt_a_OBJECTS = gcrt1.$(OBJEXT) libcrt_a_OBJECTS = $(nodist_libcrt_a_OBJECTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) @@ -339,23 +339,23 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -AVR_TARGET = atmega8 -AVR_TARGET_CRT = crtm8.o +AVR_TARGET = atmega8a +AVR_TARGET_CRT = crtm8a.o AVR_TARGET_DEFS = AVR_TARGET_CFLAGS = -mcall-prologues -Os AVR_TARGET_ASFLAGS = AVR_INSTALL_DIR = avr4 -@HAS_atmega8_TRUE@AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/include -I$(top_builddir)/include -@HAS_atmega8_TRUE@AVRLIB_CFLAGS = @CDEBUG@ -Wall -W -Wstrict-prototypes -mmcu=$(AVR_TARGET) $(AVR_TARGET_DEFS) $(AVR_TARGET_CFLAGS) -@HAS_atmega8_TRUE@AVRLIB_ASFLAGS = -x assembler-with-cpp @ASDEBUG@ -mmcu=$(AVR_TARGET) $(AVR_TARGET_DEFS) -DIOSYMFILE=\"iosym/$(AVR_TARGET).S\" $(AVR_TARGET_ASFLAGS) -@HAS_atmega8_TRUE@AM_CFLAGS = $(AVRLIB_CFLAGS) -@HAS_atmega8_TRUE@AM_CCASFLAGS = $(AM_CPPFLAGS) $(AVRLIB_ASFLAGS) -@HAS_atmega8_TRUE@__install_dir = $(prefix)/avr/lib/$(AVR_INSTALL_DIR) -@HAS_atmega8_TRUE@avrdir = $(__install_dir) -@HAS_atmega8_TRUE@avrlibdir = $(__install_dir) -@HAS_atmega8_TRUE@noinst_LIBRARIES = libcrt.a -@HAS_atmega8_TRUE@nodist_libcrt_a_SOURCES = gcrt1.S -@HAS_atmega8_TRUE@avr_DATA = $(AVR_TARGET_CRT) +@HAS_atmega8a_TRUE@AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/include -I$(top_builddir)/include +@HAS_atmega8a_TRUE@AVRLIB_CFLAGS = @CDEBUG@ -Wall -W -Wstrict-prototypes -mmcu=$(AVR_TARGET) $(AVR_TARGET_DEFS) $(AVR_TARGET_CFLAGS) +@HAS_atmega8a_TRUE@AVRLIB_ASFLAGS = -x assembler-with-cpp @ASDEBUG@ -mmcu=$(AVR_TARGET) $(AVR_TARGET_DEFS) -DIOSYMFILE=\"iosym/$(AVR_TARGET).S\" $(AVR_TARGET_ASFLAGS) +@HAS_atmega8a_TRUE@AM_CFLAGS = $(AVRLIB_CFLAGS) +@HAS_atmega8a_TRUE@AM_CCASFLAGS = $(AM_CPPFLAGS) $(AVRLIB_ASFLAGS) +@HAS_atmega8a_TRUE@__install_dir = $(prefix)/avr/lib/$(AVR_INSTALL_DIR) +@HAS_atmega8a_TRUE@avrdir = $(__install_dir) +@HAS_atmega8a_TRUE@avrlibdir = $(__install_dir) +@HAS_atmega8a_TRUE@noinst_LIBRARIES = libcrt.a +@HAS_atmega8a_TRUE@nodist_libcrt_a_SOURCES = gcrt1.S +@HAS_atmega8a_TRUE@avr_DATA = $(AVR_TARGET_CRT) all: all-am .SUFFIXES: @@ -369,9 +369,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign avr/lib/avr4/atmega8/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign avr/lib/avr4/atmega8a/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign avr/lib/avr4/atmega8/Makefile + $(AUTOMAKE) --foreign avr/lib/avr4/atmega8a/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -646,11 +646,11 @@ tags tags-am uninstall uninstall-am uninstall-avrDATA -@HAS_atmega8_TRUE@$(AVR_TARGET_CRT): gcrt1.o -@HAS_atmega8_TRUE@ rm -f $@ -@HAS_atmega8_TRUE@ ln $< $@ || cp $< $@ +@HAS_atmega8a_TRUE@$(AVR_TARGET_CRT): gcrt1.o +@HAS_atmega8a_TRUE@ rm -f $@ +@HAS_atmega8a_TRUE@ ln $< $@ || cp $< $@ -@HAS_atmega8_FALSE@echo all distdir install installdirs clean distclean uninstall check: +@HAS_atmega8a_FALSE@echo all distdir install installdirs clean distclean uninstall check: # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded.