1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228
|
# -*- Autoconf -*-
#
# Copyright (c) 2004, Theodore A. Roth
# Copyright (c) 2005,2006,2007,2009 Anatoly Sokolov
# Copyright (c) 2005,2008 Joerg Wunsch
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * 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.
# * Neither the name of the copyright holders nor the names of
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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.
#
# $Id: configure.ac,v 1.55.2.51 2010/02/11 10:23:22 joerg_wunsch Exp $
#
# Process this file with autoconf to produce a configure script.
#
dnl library versioning -- modify these on releases
dnl macro name value description
m4_define([avr_libc_major], [1])dnl major version
m4_define([avr_libc_minor], [6])dnl minor version
m4_define([avr_libc_revision], [8])dnl revision (dot-dot version)
m4_define([avr_libc_reldate], [20100211])dnl release date
dnl end of library versioning data
dnl odd minor number marks a development branch, append date to version there
m4_if(m4_eval(avr_libc_minor % 2 == 1), [0], [dnl
m4_define([avr_libc_version],
avr_libc_major.avr_libc_minor.avr_libc_revision)dnl
],[dnl
m4_define([avr_libc_version],
avr_libc_major.avr_libc_minor.avr_libc_revision.avr_libc_reldate)dnl
])dnl
m4_define([avr_libc_version_numeric],
m4_eval(10000 * avr_libc_major + dnl
100 * avr_libc_minor + dnl
avr_libc_revision))dnl
AC_INIT(avr-libc, avr_libc_version, avr-libc-dev@nongnu.org)
AC_PREREQ(2.59)
AC_REVISION($Revision: 1.55.2.51 $)
AC_CONFIG_SRCDIR([doc/examples/demo/demo.c])
AC_CONFIG_HEADER([config.h])
dnl substitute M4 macros into shell variables
AVR_LIBC_MAJOR=avr_libc_major
AVR_LIBC_MINOR=avr_libc_minor
AVR_LIBC_REVISION=avr_libc_revision
AVR_LIBC_RELDATE=avr_libc_reldate
AVR_LIBC_VERSION=avr_libc_version
AVR_LIBC_VERSION_NUMERIC=avr_libc_version_numeric
dnl ...and trigger Makefile.in substitutions
AC_SUBST(AVR_LIBC_MAJOR)
AC_SUBST(AVR_LIBC_MINOR)
AC_SUBST(AVR_LIBC_REVISION)
AC_SUBST(AVR_LIBC_RELDATE)
AC_SUBST(AVR_LIBC_VERSION)
AC_SUBST(AVR_LIBC_VERSION_NUMERIC)
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
# See if the user specified '--build=`../config.guess` --host=avr' when
# running ../configure.
AC_MSG_CHECKING([if configuring for cross compile])
if test "x${build_alias}" = "x${host_alias}"; then
if test "x${build_alias}" = "x" ; then
build_alias='`./config.guess`'
fi
AC_MSG_RESULT(no)
AC_MSG_WARN()
AC_MSG_WARN(AVR-LIBC must be built using an avr cross-compiler.)
AC_MSG_WARN(Try configuring with:)
AC_MSG_WARN("$0 --build=$build_alias --host=avr")
AC_MSG_WARN()
AC_MSG_ERROR(aborting configure)
else
AC_MSG_RESULT([yes])
fi
AC_MSG_CHECKING([if target host is avr])
case "$host" in
avr* )
AC_MSG_RESULT([yes])
;;
* )
AC_MSG_RESULT(no)
AC_MSG_WARN()
AC_MSG_WARN(Avr-libc must be built using an avr cross-compiler.)
AC_MSG_WARN(Try configuring with:)
AC_MSG_WARN("$0 --build=$build --host=avr")
AC_MSG_WARN()
AC_MSG_ERROR(aborting configure)
;;
esac
## TODO: Write a check for GNU Make
dnl The default check whether the C compiler can create an executable
dnl is inappropriate for us as it requires an existing library.
AC_NO_EXECUTABLES
dnl Minimum version of Automake is 1.8.
dnl We don't want the gzip distribution tarball anymore.
AM_INIT_AUTOMAKE([1.8 dist-bzip2 no-dist-gzip])
# We don't want touse the cflags from the environment since we need control
# of this when we're building the libs.
CFLAGS=""
# Checks for programs.
AC_PROG_CC
AC_CHECK_TOOL(AS, as, as)
AM_PROG_AS
AC_PROG_RANLIB
AC_CHECK_TOOL(AR, ar, ar)
# Make sure that we found the right avr cross-compiler.
case "${CC}" in
*avr-gcc*) ;;
*) AC_MSG_ERROR(Wrong C compiler found; check the PATH!) ;;
esac
case "${AS}" in
*avr-as*) ;;
*) AC_MSG_ERROR(Wrong assembler found; check the PATH!) ;;
esac
case "${AR}" in
*avr-ar*) ;;
*) AC_MSG_ERROR(Wrong archiver found; check the PATH!) ;;
esac
case "${RANLIB}" in
*avr-ranlib*) ;;
*) AC_MSG_ERROR(Wrong ranlib found; check the PATH!) ;;
esac
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
dnl TODO: Check for various tools used to build the documentation. If anything
dnl is missing, don't build the docs by default.
dnl Disable building of dox by default since it they may not build properly on
dnl all systems. This isn't optimal, but how do we work around the user not
dnl having fig2dev and still build all the formats?
AC_ARG_ENABLE(doc,
[ --enable-doc build all doc formats (disabled is default)],
[case "${enableval}" in
yes) enable_doc=yes ;;
no) enable_doc=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for global doc option) ;;
esac], [enable_doc=no])dnl
dnl Various documentation options. By default, we enable all of them,
dnl i. e. HTML, Postscript, PDF, and Unix-style man pages.
AC_ARG_ENABLE(html-doc,
[ --enable-html-doc build HTML documentation (default)],
[case "${enableval}" in
yes) html_doc=yes ;;
no) html_doc=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for html-doc option) ;;
esac], [html_doc=yes])dnl
AC_ARG_ENABLE(pdf-doc,
[ --enable-pdf-doc build PDF documentation (default)],
[case "${enableval}" in
yes) pdf_doc=yes ;;
no) pdf_doc=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for pdf-doc option) ;;
esac], [pdf_doc=yes])dnl
dnl Man pages are currently not tunable; they'll be built whenever
dnl the HTML documentation is built. However, it can be configured
dnl whether the result is about to be installed or not.
AC_ARG_ENABLE(man-doc,
[ --enable-man-doc build Unix-style manual pages (default)],
[case "${enableval}" in
yes) man_doc=yes ;;
no) man_doc=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for man-doc option) ;;
esac], [man_doc=yes])dnl
AC_ARG_ENABLE(versioned-doc,
[ --enable-versioned-doc install docs in directory with version name (default)],
[case "${enableval}" in
yes) versioned_doc=yes ;;
no) versioned_doc=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for versioned-doc option) ;;
esac], [versioned_doc=yes])dnl
dnl troth/2002-07-12: The CHECK_DOXYGEN macro should be moved to a config
dnl dir. I put it here until I figure out how to integrate the config dir.
dnl
dnl @synopsis CHECK_DOXYGEN
dnl
dnl This macro checks if doxygen is installed on the build system
dnl
dnl @version Id: check_doxygen.m4,v 1.2 2002/02/10 23:22:40 troth Exp
dnl @author Theodore A. Roth <troth@openavr.org>
dnl
AC_DEFUN([CHECK_DOXYGEN],[dnl
dnl
AC_MSG_CHECKING([for doxygen])
dox_ver=`doxygen --version 2>/dev/null`
if test "x$dox_ver" = "x"; then
AC_MSG_RESULT(no)
else
# FIXME: should also check for dox_ver >= 1.4.1
AC_MSG_RESULT(yes)
if test "$pdf_doc" = "yes"; then
AC_MSG_NOTICE([Enabling PDF docs])
TARGET_DOX_PDF=dox-pdf
INSTALL_DOX_PDF=install-dox-pdf
fi
if test "$html_doc" = "yes"; then
AC_MSG_NOTICE([Enabling HTML docs])
TARGET_DOX_HTML=dox-html
INSTALL_DOX_HTML=install-dox-html
fi
dnl The creation of man pages is a side-effect of the HTML
dnl generation, so a different target is only needed for installation.
if test "$man_doc" = "yes"; then
AC_MSG_NOTICE([Enabling man pages])
TARGET_DOX_HTML=dox-html
INSTALL_DOX_MAN=install-dox-man
fi
fi
dnl
AC_SUBST(TARGET_DOX_PDF)
AC_SUBST(TARGET_DOX_HTML)
AC_SUBST(INSTALL_DOX_PDF)
AC_SUBST(INSTALL_DOX_HTML)
AC_SUBST(INSTALL_DOX_MAN)
])dnl
CHECK_DOXYGEN
dnl
dnl @synopsis CHECK_PNG_UTILS
dnl
dnl This macro checks if pngtopnm and pnmtopng are installed. If they are not
dnl installed we just fake it with "cat".
dnl
dnl We use these in the dox to insert transparency into the png images as such:
dnl
dnl $ pngtopnm foo.png > tmp.pnm
dnl $ pnmtopng -transparent white tmp.pnm > foo.png
dnl
dnl @version
dnl @author Theodore A. Roth <troth@openavr.org> and Eric B. Weddington <eweddington@cso.atmel.com>
dnl
AC_DEFUN([CHECK_PNG_UTILS],[dnl
dnl
AC_MSG_CHECKING([for pngtopnm])
has_pngtopnm=`pngtopnm --version 2>&1 | grep -c -i Version`
if test "$has_pngtopnm" = "1"; then
AC_MSG_RESULT(yes)
PNGTOPNM="pngtopnm"
else
AC_MSG_RESULT(no)
PNGTOPNM="cat"
fi
dnl
AC_MSG_CHECKING([for pnmtopng])
has_pnmtopng=`pnmtopng --version 2>&1 | grep -c -i Version`
if test "$has_pnmtopng" = "1"; then
AC_MSG_RESULT(yes)
PNMTOPNG="pnmtopng"
else
AC_MSG_RESULT(no)
PNMTOPNG="cat"
PNGTOPNM="cat"
fi
AC_SUBST(PNGTOPNM)
AC_SUBST(PNMTOPNG)
])dnl
CHECK_PNG_UTILS
if test "$versioned_doc" = "yes"; then
DOC_INST_DIR='${DESTDIR}${datadir}/doc/avr-libc-$(VERSION)'
AVR_LIBC_USER_MANUAL="avr-libc-user-manual-${VERSION}"
else
DOC_INST_DIR='${DESTDIR}${datadir}/doc/avr-libc'
AVR_LIBC_USER_MANUAL="avr-libc-user-manual"
fi
dnl We only want to build the docs if the user has passed
dnl "--enable-doc" to configure.
if test "$enable_doc" = "yes"; then
DOCSDIR='api'
else
DOCSDIR=''
fi
AC_SUBST(DOCSDIR)
AC_SUBST(AVR_LIBC_USER_MANUAL)
AC_SUBST(DOC_INST_DIR)
FNO_JUMP_TABLES=""
AC_SUBST(FNO_JUMP_TABLES)
AC_DEFUN(
CHECK_MNO_TABLEJUMP,
[
old_CC=${CC}
old_CFLAGS=${CFLAGS}
CFLAGS="-mno-tablejump"
CC=`echo "${CC}" | sed 's/-mmcu=avr.//'`
AC_MSG_CHECKING(whether ${CC} supports -mno-tablejump)
AC_COMPILE_IFELSE(
[AC_LANG_SOURCE([],[])],
[has_mno_tablejump=yes],
[has_mno_tablejump=no]
)
if test "x$has_mno_tablejump" = "xyes"
then
FNO_JUMP_TABLES="-mno-tablejump"
fi
AC_MSG_RESULT($has_mno_tablejump)
CC=${old_CC}
CFLAGS=${old_CFLAGS}
]
)
AC_DEFUN(
CHECK_FNO_JUMP_TABLES,
[
old_CC=${CC}
old_CFLAGS=${CFLAGS}
CFLAGS="-fno-jump-tables"
CC=`echo "${CC}" | sed 's/-mmcu=avr.//'`
AC_MSG_CHECKING(whether ${CC} supports -fno-jump-tables)
AC_COMPILE_IFELSE(
[AC_LANG_SOURCE([],[])],
[has_fno_jump_tables=yes],
[has_fno_jump_tables=no]
)
if test "x$has_fno_jump_tables" = "xyes"
then
FNO_JUMP_TABLES="-fno-jump-tables"
fi
AC_MSG_RESULT($has_fno_jump_tables)
CC=${old_CC}
CFLAGS=${old_CFLAGS}
]
)
CHECK_MNO_TABLEJUMP
CHECK_FNO_JUMP_TABLES
dnl Some devices are only handled by newer version of gcc. This macro lets us
dnl probe to see if the installed avr-gcc supports a questionable device.
AC_DEFUN(
CHECK_AVR_DEVICE,
[
old_CC=${CC}
old_CFLAGS=${CFLAGS}
CFLAGS="-mmcu=$1"
CC=`echo "${CC}" | sed 's/-mmcu=avr.//'`
AC_MSG_CHECKING(if ${CC} has support for $1)
AC_COMPILE_IFELSE(
[AC_LANG_SOURCE([],[])],
[has_dev_support=yes],
[has_dev_support=no]
)
if test "x$has_dev_support" = "xyes"
then
HAS_$1=yes
fi
AC_MSG_RESULT($has_dev_support)
CC=${old_CC}
CFLAGS=${old_CFLAGS}
]
)
# avr1
AM_CONDITIONAL(HAS_avr1, true)
AM_CONDITIONAL(HAS_at90s1200, true)
AM_CONDITIONAL(HAS_attiny11, true)
AM_CONDITIONAL(HAS_attiny12, true)
AM_CONDITIONAL(HAS_attiny15, true)
AM_CONDITIONAL(HAS_attiny28, true)
# avr2
AM_CONDITIONAL(HAS_avr2, true)
AM_CONDITIONAL(HAS_at90s2313, true)
AM_CONDITIONAL(HAS_at90s2323, true)
AM_CONDITIONAL(HAS_at90s2333, true)
AM_CONDITIONAL(HAS_at90s2343, true)
AM_CONDITIONAL(HAS_at90s4414, true)
AM_CONDITIONAL(HAS_at90s4433, true)
AM_CONDITIONAL(HAS_at90s4434, true)
AM_CONDITIONAL(HAS_at90s8515, true)
AM_CONDITIONAL(HAS_at90c8534, true)
AM_CONDITIONAL(HAS_at90s8535, true)
AM_CONDITIONAL(HAS_attiny22, true)
AM_CONDITIONAL(HAS_attiny26, true)
#avr25
CHECK_AVR_DEVICE(avr25)
AM_CONDITIONAL(HAS_avr25, test "x$HAS_avr25" = "xyes")
CHECK_AVR_DEVICE(ata6289)
AM_CONDITIONAL(HAS_ata6289, test "x$HAS_ata6289" = "xyes")
CHECK_AVR_DEVICE(attiny13)
AM_CONDITIONAL(HAS_attiny13, test "x$HAS_attiny13" = "xyes")
CHECK_AVR_DEVICE(attiny13a)
AM_CONDITIONAL(HAS_attiny13a, test "x$HAS_attiny13a" = "xyes")
CHECK_AVR_DEVICE(attiny2313)
AM_CONDITIONAL(HAS_attiny2313, test "x$HAS_attiny2313" = "xyes")
CHECK_AVR_DEVICE(attiny2313a)
AM_CONDITIONAL(HAS_attiny2313a, test "x$HAS_attiny2313a" = "xyes")
CHECK_AVR_DEVICE(attiny24)
AM_CONDITIONAL(HAS_attiny24, test "x$HAS_attiny24" = "xyes")
CHECK_AVR_DEVICE(attiny24a)
AM_CONDITIONAL(HAS_attiny24a, test "x$HAS_attiny24a" = "xyes")
CHECK_AVR_DEVICE(attiny25)
AM_CONDITIONAL(HAS_attiny25, test "x$HAS_attiny25" = "xyes")
CHECK_AVR_DEVICE(attiny261)
AM_CONDITIONAL(HAS_attiny261, test "x$HAS_attiny261" = "xyes")
CHECK_AVR_DEVICE(attiny261a)
AM_CONDITIONAL(HAS_attiny261a, test "x$HAS_attiny261a" = "xyes")
CHECK_AVR_DEVICE(attiny43u)
AM_CONDITIONAL(HAS_attiny43u, test "x$HAS_attiny43u" = "xyes")
CHECK_AVR_DEVICE(attiny4313)
AM_CONDITIONAL(HAS_attiny4313, test "x$HAS_attiny4313" = "xyes")
CHECK_AVR_DEVICE(attiny44)
AM_CONDITIONAL(HAS_attiny44, test "x$HAS_attiny44" = "xyes")
CHECK_AVR_DEVICE(attiny44a)
AM_CONDITIONAL(HAS_attiny44a, test "x$HAS_attiny44a" = "xyes")
CHECK_AVR_DEVICE(attiny45)
AM_CONDITIONAL(HAS_attiny45, test "x$HAS_attiny45" = "xyes")
CHECK_AVR_DEVICE(attiny461)
AM_CONDITIONAL(HAS_attiny461, test "x$HAS_attiny461" = "xyes")
CHECK_AVR_DEVICE(attiny461a)
AM_CONDITIONAL(HAS_attiny461a, test "x$HAS_attiny461a" = "xyes")
CHECK_AVR_DEVICE(attiny48)
AM_CONDITIONAL(HAS_attiny48, test "x$HAS_attiny48" = "xyes")
CHECK_AVR_DEVICE(attiny84)
AM_CONDITIONAL(HAS_attiny84, test "x$HAS_attiny84" = "xyes")
CHECK_AVR_DEVICE(attiny85)
AM_CONDITIONAL(HAS_attiny85, test "x$HAS_attiny85" = "xyes")
CHECK_AVR_DEVICE(attiny861)
AM_CONDITIONAL(HAS_attiny861, test "x$HAS_attiny861" = "xyes")
CHECK_AVR_DEVICE(attiny861a)
AM_CONDITIONAL(HAS_attiny861a, test "x$HAS_attiny861a" = "xyes")
CHECK_AVR_DEVICE(attiny87)
AM_CONDITIONAL(HAS_attiny87, test "x$HAS_attiny87" = "xyes")
CHECK_AVR_DEVICE(attiny88)
AM_CONDITIONAL(HAS_attiny88, test "x$HAS_attiny88" = "xyes")
CHECK_AVR_DEVICE(at86rf401)
AM_CONDITIONAL(HAS_at86rf401, test "x$HAS_at86rf401" = "xyes")
# avr3
AM_CONDITIONAL(HAS_avr3, true)
AM_CONDITIONAL(HAS_at43usb320, true)
AM_CONDITIONAL(HAS_at43usb355, true)
AM_CONDITIONAL(HAS_at76c711, true)
#avr31
CHECK_AVR_DEVICE(avr31)
AM_CONDITIONAL(HAS_avr31, test "x$HAS_avr31" = "xyes")
AM_CONDITIONAL(HAS_atmega103, true)
#avr35
CHECK_AVR_DEVICE(avr35)
AM_CONDITIONAL(HAS_avr35, test "x$HAS_avr35" = "xyes")
CHECK_AVR_DEVICE(at90usb82)
AM_CONDITIONAL(HAS_at90usb82, test "x$HAS_at90usb82" = "xyes")
CHECK_AVR_DEVICE(at90usb162)
AM_CONDITIONAL(HAS_at90usb162, test "x$HAS_at90usb162" = "xyes")
CHECK_AVR_DEVICE(atmega8u2)
AM_CONDITIONAL(HAS_atmega8u2, test "x$HAS_atmega8u2" = "xyes")
CHECK_AVR_DEVICE(atmega16u2)
AM_CONDITIONAL(HAS_atmega16u2, test "x$HAS_atmega16u2" = "xyes")
CHECK_AVR_DEVICE(atmega32u2)
AM_CONDITIONAL(HAS_atmega32u2, test "x$HAS_atmega32u2" = "xyes")
CHECK_AVR_DEVICE(attiny167)
AM_CONDITIONAL(HAS_attiny167, test "x$HAS_attiny167" = "xyes")
# avr4
AM_CONDITIONAL(HAS_avr4, true)
AM_CONDITIONAL(HAS_atmega8, true)
AM_CONDITIONAL(HAS_atmega8515, true)
AM_CONDITIONAL(HAS_atmega8535, true)
CHECK_AVR_DEVICE(atmega48)
AM_CONDITIONAL(HAS_atmega48, test "x$HAS_atmega48" = "xyes")
CHECK_AVR_DEVICE(atmega48a)
AM_CONDITIONAL(HAS_atmega48a, test "x$HAS_atmega48a" = "xyes")
CHECK_AVR_DEVICE(atmega48p)
AM_CONDITIONAL(HAS_atmega48p, test "x$HAS_atmega48p" = "xyes")
CHECK_AVR_DEVICE(atmega88)
AM_CONDITIONAL(HAS_atmega88, test "x$HAS_atmega88" = "xyes")
CHECK_AVR_DEVICE(atmega88a)
AM_CONDITIONAL(HAS_atmega88a, test "x$HAS_atmega88a" = "xyes")
CHECK_AVR_DEVICE(atmega88p)
AM_CONDITIONAL(HAS_atmega88p, test "x$HAS_atmega88p" = "xyes")
CHECK_AVR_DEVICE(atmega88pa)
AM_CONDITIONAL(HAS_atmega88pa, test "x$HAS_atmega88pa" = "xyes")
CHECK_AVR_DEVICE(atmega8hva)
AM_CONDITIONAL(HAS_atmega8hva, test "x$HAS_atmega8hva" = "xyes")
CHECK_AVR_DEVICE(at90pwm1)
AM_CONDITIONAL(HAS_at90pwm1, test "x$HAS_at90pwm1" = "xyes")
CHECK_AVR_DEVICE(at90pwm2)
AM_CONDITIONAL(HAS_at90pwm2, test "x$HAS_at90pwm2" = "xyes")
CHECK_AVR_DEVICE(at90pwm2b)
AM_CONDITIONAL(HAS_at90pwm2b, test "x$HAS_at90pwm2b" = "xyes")
CHECK_AVR_DEVICE(at90pwm3)
AM_CONDITIONAL(HAS_at90pwm3, test "x$HAS_at90pwm3" = "xyes")
CHECK_AVR_DEVICE(at90pwm3b)
AM_CONDITIONAL(HAS_at90pwm3b, test "x$HAS_at90pwm3b" = "xyes")
CHECK_AVR_DEVICE(at90pwm81)
AM_CONDITIONAL(HAS_at90pwm81, test "x$HAS_at90pwm81" = "xyes")
# avr5
AM_CONDITIONAL(HAS_avr5, true)
CHECK_AVR_DEVICE(at90can32)
AM_CONDITIONAL(HAS_at90can32, test "x$HAS_at90can32" = "xyes")
CHECK_AVR_DEVICE(at90can64)
AM_CONDITIONAL(HAS_at90can64, test "x$HAS_at90can64" = "xyes")
CHECK_AVR_DEVICE(at90scr100)
AM_CONDITIONAL(HAS_at90scr100, test "x$HAS_at90scr100" = "xyes")
CHECK_AVR_DEVICE(at90usb646)
AM_CONDITIONAL(HAS_at90usb646, test "x$HAS_at90usb646" = "xyes")
CHECK_AVR_DEVICE(at90usb647)
AM_CONDITIONAL(HAS_at90usb647, test "x$HAS_at90usb647" = "xyes")
CHECK_AVR_DEVICE(at90pwm316)
AM_CONDITIONAL(HAS_at90pwm316, test "x$HAS_at90pwm316" = "xyes")
CHECK_AVR_DEVICE(at90pwm216)
AM_CONDITIONAL(HAS_at90pwm216, test "x$HAS_at90pwm216" = "xyes")
CHECK_AVR_DEVICE(at94k)
AM_CONDITIONAL(HAS_at94k, test "x$HAS_at94k" = "xyes")
CHECK_AVR_DEVICE(atmega16)
AM_CONDITIONAL(HAS_atmega16, test "x$HAS_atmega16" = "xyes")
CHECK_AVR_DEVICE(atmega16a)
AM_CONDITIONAL(HAS_atmega16a, test "x$HAS_atmega16a" = "xyes")
CHECK_AVR_DEVICE(atmega161)
AM_CONDITIONAL(HAS_atmega161, test "x$HAS_atmega161" = "xyes")
CHECK_AVR_DEVICE(atmega162)
AM_CONDITIONAL(HAS_atmega162, test "x$HAS_atmega162" = "xyes")
CHECK_AVR_DEVICE(atmega163)
AM_CONDITIONAL(HAS_atmega163, test "x$HAS_atmega163" = "xyes")
CHECK_AVR_DEVICE(atmega164a)
AM_CONDITIONAL(HAS_atmega164a, test "x$HAS_atmega164a" = "xyes")
CHECK_AVR_DEVICE(atmega164p)
AM_CONDITIONAL(HAS_atmega164p, test "x$HAS_atmega164p" = "xyes")
CHECK_AVR_DEVICE(atmega165)
AM_CONDITIONAL(HAS_atmega165, test "x$HAS_atmega165" = "xyes")
CHECK_AVR_DEVICE(atmega165a)
AM_CONDITIONAL(HAS_atmega165a, test "x$HAS_atmega165a" = "xyes")
CHECK_AVR_DEVICE(atmega165p)
AM_CONDITIONAL(HAS_atmega165p, test "x$HAS_atmega165p" = "xyes")
CHECK_AVR_DEVICE(atmega168)
AM_CONDITIONAL(HAS_atmega168, test "x$HAS_atmega168" = "xyes")
CHECK_AVR_DEVICE(atmega168a)
AM_CONDITIONAL(HAS_atmega168a, test "x$HAS_atmega168a" = "xyes")
CHECK_AVR_DEVICE(atmega168p)
AM_CONDITIONAL(HAS_atmega168p, test "x$HAS_atmega168p" = "xyes")
CHECK_AVR_DEVICE(atmega169)
AM_CONDITIONAL(HAS_atmega169, test "x$HAS_atmega169" = "xyes")
CHECK_AVR_DEVICE(atmega169a)
AM_CONDITIONAL(HAS_atmega169a, test "x$HAS_atmega169a" = "xyes")
CHECK_AVR_DEVICE(atmega169p)
AM_CONDITIONAL(HAS_atmega169p, test "x$HAS_atmega169p" = "xyes")
CHECK_AVR_DEVICE(atmega169pa)
AM_CONDITIONAL(HAS_atmega169pa, test "x$HAS_atmega169pa" = "xyes")
CHECK_AVR_DEVICE(atmega16hva)
AM_CONDITIONAL(HAS_atmega16hva, test "x$HAS_atmega16hva" = "xyes")
CHECK_AVR_DEVICE(atmega16hva2)
AM_CONDITIONAL(HAS_atmega16hva2, test "x$HAS_atmega16hva2" = "xyes")
CHECK_AVR_DEVICE(atmega16hvb)
AM_CONDITIONAL(HAS_atmega16hvb, test "x$HAS_atmega16hvb" = "xyes")
CHECK_AVR_DEVICE(atmega16m1)
AM_CONDITIONAL(HAS_atmega16m1, test "x$HAS_atmega16m1" = "xyes")
CHECK_AVR_DEVICE(atmega16u4)
AM_CONDITIONAL(HAS_atmega16u4, test "x$HAS_atmega16u4" = "xyes")
CHECK_AVR_DEVICE(atmega32)
AM_CONDITIONAL(HAS_atmega32, test "x$HAS_atmega32" = "xyes")
CHECK_AVR_DEVICE(atmega323)
AM_CONDITIONAL(HAS_atmega323, test "x$HAS_atmega323" = "xyes")
CHECK_AVR_DEVICE(atmega324a)
AM_CONDITIONAL(HAS_atmega324a, test "x$HAS_atmega324a" = "xyes")
CHECK_AVR_DEVICE(atmega324p)
AM_CONDITIONAL(HAS_atmega324p, test "x$HAS_atmega324p" = "xyes")
CHECK_AVR_DEVICE(atmega324pa)
AM_CONDITIONAL(HAS_atmega324pa, test "x$HAS_atmega324pa" = "xyes")
CHECK_AVR_DEVICE(atmega325)
AM_CONDITIONAL(HAS_atmega325, test "x$HAS_atmega325" = "xyes")
CHECK_AVR_DEVICE(atmega325p)
AM_CONDITIONAL(HAS_atmega325p, test "x$HAS_atmega325p" = "xyes")
CHECK_AVR_DEVICE(atmega3250)
AM_CONDITIONAL(HAS_atmega3250, test "x$HAS_atmega3250" = "xyes")
CHECK_AVR_DEVICE(atmega3250p)
AM_CONDITIONAL(HAS_atmega3250p, test "x$HAS_atmega3250p" = "xyes")
CHECK_AVR_DEVICE(atmega328)
AM_CONDITIONAL(HAS_atmega328, test "x$HAS_atmega328" = "xyes")
CHECK_AVR_DEVICE(atmega328p)
AM_CONDITIONAL(HAS_atmega328p, test "x$HAS_atmega328p" = "xyes")
CHECK_AVR_DEVICE(atmega329)
AM_CONDITIONAL(HAS_atmega329, test "x$HAS_atmega329" = "xyes")
CHECK_AVR_DEVICE(atmega329p)
AM_CONDITIONAL(HAS_atmega329p, test "x$HAS_atmega329p" = "xyes")
CHECK_AVR_DEVICE(atmega329pa)
AM_CONDITIONAL(HAS_atmega329pa, test "x$HAS_atmega329pa" = "xyes")
CHECK_AVR_DEVICE(atmega3290)
AM_CONDITIONAL(HAS_atmega3290, test "x$HAS_atmega3290" = "xyes")
CHECK_AVR_DEVICE(atmega3290p)
AM_CONDITIONAL(HAS_atmega3290p, test "x$HAS_atmega3290p" = "xyes")
CHECK_AVR_DEVICE(atmega32c1)
AM_CONDITIONAL(HAS_atmega32c1, test "x$HAS_atmega32c1" = "xyes")
CHECK_AVR_DEVICE(atmega32hvb)
AM_CONDITIONAL(HAS_atmega32hvb, test "x$HAS_atmega32hvb" = "xyes")
CHECK_AVR_DEVICE(atmega32m1)
AM_CONDITIONAL(HAS_atmega32m1, test "x$HAS_atmega32m1" = "xyes")
CHECK_AVR_DEVICE(atmega32u4)
AM_CONDITIONAL(HAS_atmega32u4, test "x$HAS_atmega32u4" = "xyes")
CHECK_AVR_DEVICE(atmega32u6)
AM_CONDITIONAL(HAS_atmega32u6, test "x$HAS_atmega32u6" = "xyes")
CHECK_AVR_DEVICE(atmega406)
AM_CONDITIONAL(HAS_atmega406, test "x$HAS_atmega406" = "xyes")
CHECK_AVR_DEVICE(atmega64)
AM_CONDITIONAL(HAS_atmega64, test "x$HAS_atmega64" = "xyes")
CHECK_AVR_DEVICE(atmega640)
AM_CONDITIONAL(HAS_atmega640, test "x$HAS_atmega640" = "xyes")
CHECK_AVR_DEVICE(atmega644)
AM_CONDITIONAL(HAS_atmega644, test "x$HAS_atmega644" = "xyes")
CHECK_AVR_DEVICE(atmega644a)
AM_CONDITIONAL(HAS_atmega644a, test "x$HAS_atmega644a" = "xyes")
CHECK_AVR_DEVICE(atmega644p)
AM_CONDITIONAL(HAS_atmega644p, test "x$HAS_atmega644p" = "xyes")
CHECK_AVR_DEVICE(atmega644pa)
AM_CONDITIONAL(HAS_atmega644pa, test "x$HAS_atmega644pa" = "xyes")
CHECK_AVR_DEVICE(atmega645)
AM_CONDITIONAL(HAS_atmega645, test "x$HAS_atmega645" = "xyes")
CHECK_AVR_DEVICE(atmega645a)
AM_CONDITIONAL(HAS_atmega645a, test "x$HAS_atmega645a" = "xyes")
CHECK_AVR_DEVICE(atmega645p)
AM_CONDITIONAL(HAS_atmega645p, test "x$HAS_atmega645p" = "xyes")
CHECK_AVR_DEVICE(atmega6450)
AM_CONDITIONAL(HAS_atmega6450, test "x$HAS_atmega6450" = "xyes")
CHECK_AVR_DEVICE(atmega6450a)
AM_CONDITIONAL(HAS_atmega6450a, test "x$HAS_atmega6450a" = "xyes")
CHECK_AVR_DEVICE(atmega6450p)
AM_CONDITIONAL(HAS_atmega6450p, test "x$HAS_atmega6450p" = "xyes")
CHECK_AVR_DEVICE(atmega649)
AM_CONDITIONAL(HAS_atmega649, test "x$HAS_atmega649" = "xyes")
CHECK_AVR_DEVICE(atmega649a)
AM_CONDITIONAL(HAS_atmega649a, test "x$HAS_atmega649a" = "xyes")
CHECK_AVR_DEVICE(atmega649p)
AM_CONDITIONAL(HAS_atmega649p, test "x$HAS_atmega649p" = "xyes")
CHECK_AVR_DEVICE(atmega6490)
AM_CONDITIONAL(HAS_atmega6490, test "x$HAS_atmega6490" = "xyes")
CHECK_AVR_DEVICE(atmega6490a)
AM_CONDITIONAL(HAS_atmega6490a, test "x$HAS_atmega6490a" = "xyes")
CHECK_AVR_DEVICE(atmega6490p)
AM_CONDITIONAL(HAS_atmega6490p, test "x$HAS_atmega6490p" = "xyes")
CHECK_AVR_DEVICE(atmega64c1)
AM_CONDITIONAL(HAS_atmega64c1, test "x$HAS_atmega64c1" = "xyes")
CHECK_AVR_DEVICE(atmega64hve)
AM_CONDITIONAL(HAS_atmega64hve, test "x$HAS_atmega64hve" = "xyes")
CHECK_AVR_DEVICE(atmega64m1)
AM_CONDITIONAL(HAS_atmega64m1, test "x$HAS_atmega64m1" = "xyes")
CHECK_AVR_DEVICE(atmega128rfa1)
AM_CONDITIONAL(HAS_atmega128rfa1, test "x$HAS_atmega128rfa1" = "xyes")
#avr51
CHECK_AVR_DEVICE(avr51)
AM_CONDITIONAL(HAS_avr51, test "x$HAS_avr51" = "xyes")
AM_CONDITIONAL(HAS_atmega128, true)
CHECK_AVR_DEVICE(atmega1280)
AM_CONDITIONAL(HAS_atmega1280, test "x$HAS_atmega1280" = "xyes")
CHECK_AVR_DEVICE(atmega1281)
AM_CONDITIONAL(HAS_atmega1281, test "x$HAS_atmega1281" = "xyes")
CHECK_AVR_DEVICE(atmega1284p)
AM_CONDITIONAL(HAS_atmega1284p, test "x$HAS_atmega1284p" = "xyes")
CHECK_AVR_DEVICE(at90can128)
AM_CONDITIONAL(HAS_at90can128, test "x$HAS_at90can128" = "xyes")
CHECK_AVR_DEVICE(at90usb1286)
AM_CONDITIONAL(HAS_at90usb1286, test "x$HAS_at90usb1286" = "xyes")
CHECK_AVR_DEVICE(at90usb1287)
AM_CONDITIONAL(HAS_at90usb1287, test "x$HAS_at90usb1287" = "xyes")
# avr6
CHECK_AVR_DEVICE(avr6)
AM_CONDITIONAL(HAS_avr6, test "x$HAS_avr6" = "xyes")
CHECK_AVR_DEVICE(atmega2560)
AM_CONDITIONAL(HAS_atmega2560, test "x$HAS_atmega2560" = "xyes")
CHECK_AVR_DEVICE(atmega2561)
AM_CONDITIONAL(HAS_atmega2561, test "x$HAS_atmega2561" = "xyes")
# avrxmega2
CHECK_AVR_DEVICE(avrxmega2)
AM_CONDITIONAL(HAS_avrxmega2, test "x$HAS_avrxmega2" = "xyes")
CHECK_AVR_DEVICE(atxmega32d4)
AM_CONDITIONAL(HAS_atxmega32d4, test "x$HAS_atxmega32d4" = "xyes")
CHECK_AVR_DEVICE(atxmega16a4)
AM_CONDITIONAL(HAS_atxmega16a4, test "x$HAS_atxmega16a4" = "xyes")
CHECK_AVR_DEVICE(atxmega16d4)
AM_CONDITIONAL(HAS_atxmega16d4, test "x$HAS_atxmega16d4" = "xyes")
# avrxmega3
CHECK_AVR_DEVICE(avrxmega3)
AM_CONDITIONAL(HAS_avrxmega3, test "x$HAS_avrxmega3" = "xyes")
CHECK_AVR_DEVICE(atxmega32a4)
AM_CONDITIONAL(HAS_atxmega32a4, test "x$HAS_atxmega32a4" = "xyes")
# avrxmega4
CHECK_AVR_DEVICE(avrxmega4)
AM_CONDITIONAL(HAS_avrxmega4, test "x$HAS_avrxmega4" = "xyes")
CHECK_AVR_DEVICE(atxmega64a3)
AM_CONDITIONAL(HAS_atxmega64a3, test "x$HAS_atxmega64a3" = "xyes")
CHECK_AVR_DEVICE(atxmega64d3)
AM_CONDITIONAL(HAS_atxmega64d3, test "x$HAS_atxmega64d3" = "xyes")
# avrxmega5
CHECK_AVR_DEVICE(avrxmega5)
AM_CONDITIONAL(HAS_avrxmega5, test "x$HAS_avrxmega5" = "xyes")
CHECK_AVR_DEVICE(atxmega64a1)
AM_CONDITIONAL(HAS_atxmega64a1, test "x$HAS_atxmega64a1" = "xyes")
# avrxmega6
CHECK_AVR_DEVICE(avrxmega6)
AM_CONDITIONAL(HAS_avrxmega6, test "x$HAS_avrxmega6" = "xyes")
CHECK_AVR_DEVICE(atxmega128a3)
AM_CONDITIONAL(HAS_atxmega128a3, test "x$HAS_atxmega128a3" = "xyes")
CHECK_AVR_DEVICE(atxmega128d3)
AM_CONDITIONAL(HAS_atxmega128d3, test "x$HAS_atxmega128d3" = "xyes")
CHECK_AVR_DEVICE(atxmega192a3)
AM_CONDITIONAL(HAS_atxmega192a3, test "x$HAS_atxmega192a3" = "xyes")
CHECK_AVR_DEVICE(atxmega192d3)
AM_CONDITIONAL(HAS_atxmega192d3, test "x$HAS_atxmega192d3" = "xyes")
CHECK_AVR_DEVICE(atxmega256a3)
AM_CONDITIONAL(HAS_atxmega256a3, test "x$HAS_atxmega256a3" = "xyes")
CHECK_AVR_DEVICE(atxmega256a3b)
AM_CONDITIONAL(HAS_atxmega256a3b, test "x$HAS_atxmega256a3b" = "xyes")
CHECK_AVR_DEVICE(atxmega256d3)
AM_CONDITIONAL(HAS_atxmega256d3, test "x$HAS_atxmega256d3" = "xyes")
# avrxmega7
CHECK_AVR_DEVICE(avrxmega7)
AM_CONDITIONAL(HAS_avrxmega7, test "x$HAS_avrxmega7" = "xyes")
CHECK_AVR_DEVICE(atxmega128a1)
AM_CONDITIONAL(HAS_atxmega128a1, test "x$HAS_atxmega128a1" = "xyes")
# Generate all files from *.in sources.
AC_CONFIG_FILES([
Makefile
avr-libc.spec
avr/Makefile
avr/lib/Makefile
common/Makefile
crt1/Makefile
doc/Makefile
doc/api/Makefile
doc/examples/Makefile
include/Makefile
include/avr/Makefile
include/compat/Makefile
include/util/Makefile
libc/Makefile
libc/misc/Makefile
libc/pmstring/Makefile
libc/stdio/Makefile
libc/stdlib/Makefile
libc/string/Makefile
libm/Makefile
libm/fplib/Makefile
scripts/Makefile
devtools/Makefile
])
#avr1 and avr2
AC_CONFIG_FILES([
avr/lib/avr2/Makefile
avr/lib/avr2/at90s1200/Makefile
avr/lib/avr2/at90s2313/Makefile
avr/lib/avr2/at90s2323/Makefile
avr/lib/avr2/at90s2333/Makefile
avr/lib/avr2/at90s2343/Makefile
avr/lib/avr2/at90s4414/Makefile
avr/lib/avr2/at90s4433/Makefile
avr/lib/avr2/at90s4434/Makefile
avr/lib/avr2/at90s8515/Makefile
avr/lib/avr2/at90c8534/Makefile
avr/lib/avr2/at90s8535/Makefile
avr/lib/avr2/attiny11/Makefile
avr/lib/avr2/attiny12/Makefile
avr/lib/avr2/attiny13/Makefile
avr/lib/avr2/attiny15/Makefile
avr/lib/avr2/attiny22/Makefile
avr/lib/avr2/attiny24/Makefile
avr/lib/avr2/attiny25/Makefile
avr/lib/avr2/attiny26/Makefile
avr/lib/avr2/attiny261/Makefile
avr/lib/avr2/attiny28/Makefile
avr/lib/avr2/attiny44/Makefile
avr/lib/avr2/attiny45/Makefile
avr/lib/avr2/attiny461/Makefile
avr/lib/avr2/attiny84/Makefile
avr/lib/avr2/attiny85/Makefile
avr/lib/avr2/attiny861/Makefile
avr/lib/avr2/attiny2313/Makefile
avr/lib/avr2/at86rf401/Makefile
])
#avr25
AC_CONFIG_FILES([
avr/lib/avr25/Makefile
avr/lib/avr25/at86rf401/Makefile
avr/lib/avr25/ata6289/Makefile
avr/lib/avr25/attiny13/Makefile
avr/lib/avr25/attiny13a/Makefile
avr/lib/avr25/attiny2313/Makefile
avr/lib/avr25/attiny2313a/Makefile
avr/lib/avr25/attiny24/Makefile
avr/lib/avr25/attiny24a/Makefile
avr/lib/avr25/attiny25/Makefile
avr/lib/avr25/attiny261/Makefile
avr/lib/avr25/attiny261a/Makefile
avr/lib/avr25/attiny4313/Makefile
avr/lib/avr25/attiny43u/Makefile
avr/lib/avr25/attiny44/Makefile
avr/lib/avr25/attiny44a/Makefile
avr/lib/avr25/attiny45/Makefile
avr/lib/avr25/attiny461/Makefile
avr/lib/avr25/attiny461a/Makefile
avr/lib/avr25/attiny48/Makefile
avr/lib/avr25/attiny84/Makefile
avr/lib/avr25/attiny85/Makefile
avr/lib/avr25/attiny861/Makefile
avr/lib/avr25/attiny861a/Makefile
avr/lib/avr25/attiny87/Makefile
avr/lib/avr25/attiny88/Makefile
])
#avr3
AC_CONFIG_FILES([
avr/lib/avr3/Makefile
avr/lib/avr3/atmega103/Makefile
avr/lib/avr3/at43usb320/Makefile
avr/lib/avr3/at43usb355/Makefile
avr/lib/avr3/at76c711/Makefile
avr/lib/avr3/at90usb82/Makefile
avr/lib/avr3/at90usb162/Makefile
])
#avr31
AC_CONFIG_FILES([
avr/lib/avr31/Makefile
avr/lib/avr31/atmega103/Makefile
avr/lib/avr31/at43usb320/Makefile
])
#avr35
AC_CONFIG_FILES([
avr/lib/avr35/Makefile
avr/lib/avr35/at90usb82/Makefile
avr/lib/avr35/at90usb162/Makefile
avr/lib/avr35/atmega8u2/Makefile
avr/lib/avr35/atmega16u2/Makefile
avr/lib/avr35/atmega32u2/Makefile
avr/lib/avr35/attiny167/Makefile
])
#avr4
AC_CONFIG_FILES([
avr/lib/avr4/Makefile
avr/lib/avr4/atmega48/Makefile
avr/lib/avr4/atmega48a/Makefile
avr/lib/avr4/atmega48p/Makefile
avr/lib/avr4/atmega8/Makefile
avr/lib/avr4/atmega88/Makefile
avr/lib/avr4/atmega88a/Makefile
avr/lib/avr4/atmega88p/Makefile
avr/lib/avr4/atmega88pa/Makefile
avr/lib/avr4/atmega8515/Makefile
avr/lib/avr4/atmega8535/Makefile
avr/lib/avr4/atmega8hva/Makefile
avr/lib/avr4/at90pwm1/Makefile
avr/lib/avr4/at90pwm2/Makefile
avr/lib/avr4/at90pwm2b/Makefile
avr/lib/avr4/at90pwm3/Makefile
avr/lib/avr4/at90pwm3b/Makefile
avr/lib/avr4/at90pwm81/Makefile
])
#avr5
AC_CONFIG_FILES([
avr/lib/avr5/Makefile
avr/lib/avr5/at90can32/Makefile
avr/lib/avr5/at90can64/Makefile
avr/lib/avr5/at90can128/Makefile
avr/lib/avr5/at90pwm216/Makefile
avr/lib/avr5/at90pwm316/Makefile
avr/lib/avr5/at90scr100/Makefile
avr/lib/avr5/at90usb646/Makefile
avr/lib/avr5/at90usb647/Makefile
avr/lib/avr5/at90usb1286/Makefile
avr/lib/avr5/at90usb1287/Makefile
avr/lib/avr5/at94k/Makefile
avr/lib/avr5/atmega16/Makefile
avr/lib/avr5/atmega16a/Makefile
avr/lib/avr5/atmega161/Makefile
avr/lib/avr5/atmega162/Makefile
avr/lib/avr5/atmega163/Makefile
avr/lib/avr5/atmega164a/Makefile
avr/lib/avr5/atmega164p/Makefile
avr/lib/avr5/atmega165/Makefile
avr/lib/avr5/atmega165a/Makefile
avr/lib/avr5/atmega165p/Makefile
avr/lib/avr5/atmega168/Makefile
avr/lib/avr5/atmega168a/Makefile
avr/lib/avr5/atmega168p/Makefile
avr/lib/avr5/atmega169/Makefile
avr/lib/avr5/atmega169a/Makefile
avr/lib/avr5/atmega169p/Makefile
avr/lib/avr5/atmega169pa/Makefile
avr/lib/avr5/atmega16hva/Makefile
avr/lib/avr5/atmega16hva2/Makefile
avr/lib/avr5/atmega16hvb/Makefile
avr/lib/avr5/atmega16m1/Makefile
avr/lib/avr5/atmega16u4/Makefile
avr/lib/avr5/atmega32/Makefile
avr/lib/avr5/atmega323/Makefile
avr/lib/avr5/atmega324a/Makefile
avr/lib/avr5/atmega324p/Makefile
avr/lib/avr5/atmega324pa/Makefile
avr/lib/avr5/atmega325/Makefile
avr/lib/avr5/atmega325p/Makefile
avr/lib/avr5/atmega3250/Makefile
avr/lib/avr5/atmega3250p/Makefile
avr/lib/avr5/atmega328/Makefile
avr/lib/avr5/atmega328p/Makefile
avr/lib/avr5/atmega329/Makefile
avr/lib/avr5/atmega329p/Makefile
avr/lib/avr5/atmega329pa/Makefile
avr/lib/avr5/atmega3290/Makefile
avr/lib/avr5/atmega3290p/Makefile
avr/lib/avr5/atmega32c1/Makefile
avr/lib/avr5/atmega32hvb/Makefile
avr/lib/avr5/atmega32m1/Makefile
avr/lib/avr5/atmega32u4/Makefile
avr/lib/avr5/atmega32u6/Makefile
avr/lib/avr5/atmega406/Makefile
avr/lib/avr5/atmega64/Makefile
avr/lib/avr5/atmega640/Makefile
avr/lib/avr5/atmega644/Makefile
avr/lib/avr5/atmega644a/Makefile
avr/lib/avr5/atmega644p/Makefile
avr/lib/avr5/atmega644pa/Makefile
avr/lib/avr5/atmega645/Makefile
avr/lib/avr5/atmega645a/Makefile
avr/lib/avr5/atmega645p/Makefile
avr/lib/avr5/atmega6450/Makefile
avr/lib/avr5/atmega6450a/Makefile
avr/lib/avr5/atmega6450p/Makefile
avr/lib/avr5/atmega649/Makefile
avr/lib/avr5/atmega649a/Makefile
avr/lib/avr5/atmega649p/Makefile
avr/lib/avr5/atmega6490/Makefile
avr/lib/avr5/atmega6490a/Makefile
avr/lib/avr5/atmega6490p/Makefile
avr/lib/avr5/atmega64c1/Makefile
avr/lib/avr5/atmega64hve/Makefile
avr/lib/avr5/atmega64m1/Makefile
avr/lib/avr5/atmega128/Makefile
avr/lib/avr5/atmega1280/Makefile
avr/lib/avr5/atmega1281/Makefile
avr/lib/avr5/atmega1284p/Makefile
avr/lib/avr5/atmega128rfa1/Makefile
])
#avr51
AC_CONFIG_FILES([
avr/lib/avr51/Makefile
avr/lib/avr51/atmega128/Makefile
avr/lib/avr51/atmega1280/Makefile
avr/lib/avr51/atmega1281/Makefile
avr/lib/avr51/atmega1284p/Makefile
avr/lib/avr51/atmega128rfa1/Makefile
avr/lib/avr51/at90can128/Makefile
avr/lib/avr51/at90usb1286/Makefile
avr/lib/avr51/at90usb1287/Makefile
])
#avr6
AC_CONFIG_FILES([
avr/lib/avr6/Makefile
avr/lib/avr6/atmega2560/Makefile
avr/lib/avr6/atmega2561/Makefile
])
# avrxmega2
AC_CONFIG_FILES([
avr/lib/avrxmega2/Makefile
avr/lib/avrxmega2/atxmega32d4/Makefile
avr/lib/avrxmega2/atxmega16a4/Makefile
avr/lib/avrxmega2/atxmega16d4/Makefile
])
# avrxmega3
AC_CONFIG_FILES([
avr/lib/avrxmega3/Makefile
avr/lib/avrxmega3/atxmega32a4/Makefile
])
# avrxmega4
AC_CONFIG_FILES([
avr/lib/avrxmega4/Makefile
avr/lib/avrxmega4/atxmega64a3/Makefile
avr/lib/avrxmega4/atxmega64d3/Makefile
])
# avrxmega5
AC_CONFIG_FILES([
avr/lib/avrxmega5/Makefile
avr/lib/avrxmega5/atxmega64a1/Makefile
])
# avrxmega6
AC_CONFIG_FILES([
avr/lib/avrxmega6/Makefile
avr/lib/avrxmega6/atxmega128a3/Makefile
avr/lib/avrxmega6/atxmega128d3/Makefile
avr/lib/avrxmega6/atxmega192a3/Makefile
avr/lib/avrxmega6/atxmega192d3/Makefile
avr/lib/avrxmega6/atxmega256a3/Makefile
avr/lib/avrxmega6/atxmega256a3b/Makefile
avr/lib/avrxmega6/atxmega256d3/Makefile
])
# avrxmega7
AC_CONFIG_FILES([
avr/lib/avrxmega7/Makefile
avr/lib/avrxmega7/atxmega128a1/Makefile
])
AC_OUTPUT
|