--- /dev/null
+Copyright (c) 2008 by Kevin Rosenberg. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the author nor the names of the contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
--- /dev/null
+/*****************************************************************************
+** FILE IDENTIFICATION
+**
+** Name: avrcal.h
+** Purpose: AVR C Compiler Abstraction Layer Common Header File
+** Programmer: Kevin Rosenberg <kevin@rosenberg.net> (AVRFreaks: kmr)
+** Date Started: Dec 2007
+**
+** Copyright (c) 2008 by Kevin Rosenberg. All rights reserved.
+**
+** LICENSE
+** See accompaning LICENSE file
+**
+** CHANGES
+** See accompaning ChangeLog file
+******************************************************************************/
+
+#ifndef __AVRCAL_H__
+#define __AVRCAL_H__
+
+// AVR-GCC C Compiler
+#if defined(__GNUC__)
+#include <calgcc.h>
+
+// IAR C Compiler
+#elif defined(__ICCAVR__)
+#include <caliar.h>
+
+// ImageCraft C Compiler
+#elif defined(__IMAGECRAFT__)
+#include <calicc.h>
+
+// CodeVision AVR C Compiler
+#elif defined(__CODEVISIONAVR__)
+#include <calcv.h>
+
+#else
+#error Unknown / Unsupported Platform
+#endif
+
+#endif
+
+
+
+
--- /dev/null
+/*****************************************************************************
+** FILE IDENTIFICATION
+**
+** Name: calcv.h
+** Purpose: AVR C Compiler Abstraction Layer for CodeVision C Compiler
+** Programmer: Kevin Rosenberg <kevin@rosenberg.net> (AVRFreaks: kmr)
+** Date Started: Dec 2007
+**
+** Copyright (c) 2008 by Kevin Rosenberg. All rights reserved.
+**
+** LICENSE
+** See accompaning LICENSE file
+**
+** CHANGES
+** See accompaning ChangeLog file
+******************************************************************************/
+
+#ifndef __CALCV_H__
+#define __CALCV_H__
+
+#ifndef __AVRCAL_H__
+#error This file should not be directly included. It is included by avrcal.h
+#endif
+
+// Standard header files
+#include <io.h>
+
+#endif
--- /dev/null
+/*****************************************************************************
+** FILE IDENTIFICATION
+**
+** Name: calgcc.h
+** Purpose: AVR C Compiler Abstraction Layer for AVR-GCC
+** Programmer: Kevin Rosenberg <kevin@rosenberg.net> (AVRFreaks: kmr)
+** Date Started: Dec 2007
+**
+** Copyright (c) 2008 by Kevin Rosenberg. All rights reserved.
+**
+** LICENSE
+** See accompaning LICENSE file
+**
+** CHANGES
+** See accompaning ChangeLog file
+******************************************************************************/
+
+#ifndef __CALGCC_H__
+#define __CALGCC_H__
+
+#ifndef __AVRCAL_H__
+#error This file should not be directly included. It is included by avrcal.h
+#endif
+
+// Standard header files
+#include <avr/io.h>
+
+#endif
--- /dev/null
+/*****************************************************************************
+** FILE IDENTIFICATION
+**
+** Name: caliar.h
+** Purpose: AVR C Compiler Abstraction Layer for IAR C Compiler for AVR
+** Programmer: Kevin Rosenberg <kevin@rosenberg.net> (AVRFreaks: kmr)
+** Date Started: Dec 2007
+**
+** Copyright (c) 2008 by Kevin Rosenberg. All rights reserved.
+**
+** LICENSE
+** See accompaning LICENSE file
+**
+** CHANGES
+** See accompaning ChangeLog file
+******************************************************************************/
+
+#ifndef __CALIAR_H__
+#define __CALIAR_H__
+
+#ifndef __AVRCAL_H__
+#error This file should not be directly included. It is included by avrcal.h
+#endif
+
+// Standard header files
+#include <ioavr.h>
+#include <intrinsics.h>
+
+#endif
--- /dev/null
+/*****************************************************************************
+** FILE IDENTIFICATION
+**
+** Name: calicc.h
+** Purpose: AVR C Compiler Abstraction Layer for ImageCraft C Compiler
+** Programmer: Kevin Rosenberg <kevin@rosenberg.net> (AVRFreaks: kmr)
+** Date Started: Dec 2007
+**
+** Copyright (c) 2008 by Kevin Rosenberg. All rights reserved.
+**
+** LICENSE
+** See accompaning LICENSE file
+**
+** CHANGES
+** See accompaning ChangeLog file
+******************************************************************************/
+
+#ifndef __CALICC_H__
+#define __CALICC_H__
+
+#ifndef __AVRCAL_H__
+#error This file should not be directly included. It is included by avrcal.h
+#endif
+
+// Standard header files
+#include <iccioavr.h>
+
+#endif