?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /*-------------------------------------------------------------------------
  2.    sdcc-lib.h - Top level header file for the sdcc libraries that enables
  3.                 target specific features.
  4.  
  5.    Copyright (C) 2004, Maarten Brock, sourceforge.brock@dse.nl
  6.  
  7.    This library is free software; you can redistribute it and/or modify it
  8.    under the terms of the GNU General Public License as published by the
  9.    Free Software Foundation; either version 2, or (at your option) any
  10.    later version.
  11.  
  12.    This library is distributed in the hope that it will be useful,
  13.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15.    GNU General Public License for more details.
  16.  
  17.    You should have received a copy of the GNU General Public License
  18.    along with this library; see the file COPYING. If not, write to the
  19.    Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
  20.    MA 02110-1301, USA.
  21.  
  22.    As a special exception, if you link this library with other files,
  23.    some of which are compiled with SDCC, to produce an executable,
  24.    this library does not by itself cause the resulting executable to
  25.    be covered by the GNU General Public License. This exception does
  26.    not however invalidate any other reasons why the executable file
  27.    might be covered by the GNU General Public License.
  28. -------------------------------------------------------------------------*/
  29.  
  30. #ifndef __SDC51_SDCC_LIB_H
  31. #define __SDC51_SDCC_LIB_H      1
  32.  
  33. #if defined(__SDCC_z80)
  34. #include <asm/z80/features.h>
  35.  
  36. #elif defined(__SDCC_z180)
  37. #include <asm/z180/features.h>
  38.  
  39. #elif defined(__SDCC_r2k)
  40. #include <asm/r2k/features.h>
  41.  
  42. #elif defined(__SDCC_r3ka)
  43. #include <asm/r3ka/features.h>
  44.  
  45. #elif defined(__SDCC_tlcs90)
  46. #include <asm/tlcs90/features.h>
  47.  
  48. #elif defined(__SDCC_gbz80)
  49. #include <asm/gbz80/features.h>
  50.  
  51. #elif defined(__SDCC_ez80_z80)
  52. #include <asm/ez80_z80/features.h>
  53.  
  54. #elif defined(__SDCC_mcs51)
  55. #include <asm/mcs51/features.h>
  56.  
  57. #elif defined(__SDCC_ds390)
  58. #include <asm/ds390/features.h>
  59.  
  60. #elif defined(__SDCC_stm8)
  61. #include <asm/stm8/features.h>
  62.  
  63. #else
  64. /* PENDING */
  65. #include <asm/default/features.h>
  66.  
  67. #endif
  68.  
  69. #endif
  70.  
  71.