X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure.in;h=32ca6c53b9730b764e301a7701259855fb3d5281;hb=8c0ad6d427d968c13acd4d1f26540a54ee7a3caa;hp=8b26d9535188b6e2c1d7405bccd570f3e5941544;hpb=1fa49320077c9f225ef75c71a9cb26f5c181d2f6;p=fw%2Fsdcc diff --git a/configure.in b/configure.in index 8b26d953..32ca6c53 100755 --- a/configure.in +++ b/configure.in @@ -482,6 +482,7 @@ AC_DEFINE_UNQUOTED(STD_INT_LIB, "libint") AC_DEFINE_UNQUOTED(STD_LONG_LIB, "liblong") AC_DEFINE_UNQUOTED(STD_FP_LIB, "libfloat") AC_DEFINE_UNQUOTED(STD_DS390_LIB, "libds390") +AC_DEFINE_UNQUOTED(STD_DS400_LIB, "libds400") AC_DEFINE_UNQUOTED(STD_XA51_LIB, "libxa51") # SDCC runtime environment variables @@ -554,6 +555,17 @@ else AC_DEFINE_UNQUOTED(OPT_DISABLE_TININative, 0) fi +AC_ARG_ENABLE(ds400-port, + AC_HELP_STRING([--disable-ds400-port], + [Excludes the DS400 port])) +echo ds400 >>ports.all +if test "$enable_ds400_port" = "no"; then + AC_DEFINE_UNQUOTED(OPT_DISABLE_DS400, 1) +else + echo ds400 >>ports.build + AC_DEFINE_UNQUOTED(OPT_DISABLE_DS400, 0) +fi + AC_ARG_ENABLE(pic-port, AC_HELP_STRING([--disable-pic-port], [Excludes the PIC port])) @@ -565,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])) @@ -576,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])) @@ -616,9 +650,12 @@ mv ports ports.build AC_CONFIG_SUBDIRS(support/cpp2) AC_CONFIG_SUBDIRS(packihx) AC_CONFIG_SUBDIRS(sim/ucsim) +#AC_CONFIG_SUBDIRS(device/lib/pic16) + 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