sdcc-lib.h 1.9 KB

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