Commit | Line | Data |
---|---|---|
e0709f50 | 1 | dnl Process this file with autoconf to produce a configure script. |
6ffe910a | 2 | AC_PREREQ(2.64)dnl |
e0709f50 | 3 | AC_INIT(Makefile.in) |
9c082ca8 | 4 | sinclude(../common/acinclude.m4) |
e0709f50 | 5 | |
6ffe910a | 6 | SIM_AC_COMMON |
35695fd6 | 7 | |
e0709f50 AC |
8 | dnl Options available in this module |
9 | SIM_AC_OPTION_INLINE() | |
10 | SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT) | |
11 | SIM_AC_OPTION_HOSTENDIAN | |
12 | SIM_AC_OPTION_WARNINGS | |
13 | ||
14 | # | |
15 | # Add simulated hardware devices | |
16 | # | |
17 | hw_enabled=no | |
18 | case "${target}" in | |
19 | m68hc11-*-*|m6811-*-*) | |
20 | hw_enabled=yes | |
21 | hw_extra_devices="m68hc11 m68hc11sio m68hc11eepr m68hc11tim m68hc11spi nvram" | |
e0709f50 AC |
22 | SIM_SUBTARGET="$SIM_SUBTARGET -DTARGET_M68HC11=1" |
23 | ;; | |
24 | *) | |
25 | m68hc11_extra_objs="" | |
26 | ;; | |
27 | esac | |
28 | SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices) | |
29 | ||
30 | AC_CHECK_HEADERS(string.h strings.h stdlib.h stdlib.h fcntl.h) | |
31 | ||
256139f5 | 32 | m68hc11_extra_objs="$SIM_DV_SOCKSER_O" |
e0709f50 AC |
33 | AC_SUBST(m68hc11_extra_objs) |
34 | ||
35 | SIM_AC_OUTPUT |