New target "hc08" for the Motorola 68hc08 family of micros
[fw/sdcc] / configure.in
index b66262621374bdd6727c1900ec22cc9a78962441..e1172242c682de881fc2a77ac4aee27b4c8cf9bf 100755 (executable)
@@ -577,6 +577,17 @@ else
     AC_DEFINE_UNQUOTED(OPT_DISABLE_PIC, 0)
 fi
 
+AC_ARG_ENABLE(pic16-port,
+            AC_HELP_STRING([--disable-pic16-port],
+                           [Excludes the PIC port]))
+echo pic16 >>ports.all
+if test "$enable_pic16_port" = "no"; then
+    AC_DEFINE_UNQUOTED(OPT_DISABLE_PIC16, 1)
+else
+    echo pic16 >>ports.build
+    AC_DEFINE_UNQUOTED(OPT_DISABLE_PIC16, 0)
+fi
+
 AC_ARG_ENABLE(xa51-port,
             AC_HELP_STRING([--disable-xa51-port],
                            [Excludes the XA51 port]))
@@ -588,6 +599,17 @@ else
     AC_DEFINE_UNQUOTED(OPT_DISABLE_XA51, 0)
 fi
 
+AC_ARG_ENABLE(hc08-port,
+            AC_HELP_STRING([--disable-hc08-port],
+                           [Excludes the HC08 port]))
+echo hc08 >>ports.all
+if test "$enable_hc08_port" = "no"; then
+    AC_DEFINE_UNQUOTED(OPT_DISABLE_HC08, 1)
+else
+    echo hc08 >>ports.build
+    AC_DEFINE_UNQUOTED(OPT_DISABLE_HC08, 0)
+fi
+
 AC_ARG_ENABLE(ucsim,
               AC_HELP_STRING([--disable-ucsim],
                              [Disables configuring and building of ucsim]))
@@ -631,6 +653,7 @@ AC_CONFIG_SUBDIRS(sim/ucsim)
 AC_CONFIG_FILES([main.mk:main_in.mk
 src/Makefile
 as/mcs51/Makefile
+as/hc08/Makefile
 device/include/Makefile
 device/lib/Makefile
 debugger/mcs51/Makefile