? buildsystem-three-in-one.patch

? src/atmega168.h
? src/atmega668base.cpp
? src/atmega668base.h
? src/atmega88.h
Index: src/Makefile.am
===================================================================
RCS file: /sources/simulavr/simulavrxx/src/Makefile.am,v
retrieving revision 1.38
diff -c -r1.38 Makefile.am
*** src/Makefile.am	22 May 2009 20:24:16 -0000	1.38
--- src/Makefile.am	10 Jul 2009 03:17:40 -0000
***************
*** 29,34 ****
--- 29,35 ----
  
  libsim_la_SOURCES = \
    adcpin.cpp application.cpp at4433.cpp at8515.cpp atmega48.cpp atmega128.cpp \
+   atmega668base.cpp \
    avrdevice.cpp avrerror.cpp avrfactory.cpp avrmalloc.cpp decoder.cpp \
    decoder_trace.cpp flash.cpp gdbserver.cpp hardware.cpp helper.cpp \
    hwacomp.cpp hwad.cpp hweeprom.cpp hwextirq.cpp hwmega48extirq.cpp \
***************
*** 47,52 ****
--- 48,54 ----
  
  pkginclude_HEADERS = \
    adcpin.h application.h at4433.h at8515.h atmega48.h atmega128.h avrdevice.h \
+   atmega668base.h atmega88.h atmega168.h \
    avrdevice_impl.h avrerror.h avrfactory.h avrmalloc.h breakpoint.h \
    config_deprecated.h decoder.h externaltype.h flash.h \
    funktor.h hwacomp.h hwad.h hweeprom.h hwextirq.h hwmega48extirq.h \
Index: src/avrfactory.cpp
===================================================================
RCS file: /sources/simulavr/simulavrxx/src/avrfactory.cpp,v
retrieving revision 1.5
diff -c -r1.5 avrfactory.cpp
*** src/avrfactory.cpp	26 Mar 2009 19:03:48 -0000	1.5
--- src/avrfactory.cpp	10 Jul 2009 03:17:40 -0000
***************
*** 29,34 ****
--- 29,36 ----
  #include "at4433.h"
  #include "at8515.h"
  #include "atmega48.h"
+ #include "atmega88.h"
+ #include "atmega168.h"
  #include "atmega128.h"
  #include "avrfactory.h"
  
***************
*** 46,51 ****
--- 48,57 ----
          return new AvrDevice_at90s8515();
      if (c == "atmega48")
          return new AvrDevice_atmega48();
+     if (c == "atmega88")
+         return new AvrDevice_atmega88();
+     if (c == "atmega168")
+         return new AvrDevice_atmega168();
      if (c == "atmega128")
          return new AvrDevice_atmega128();
      else {
