build ()
{
my_configure --enable-native-code="${ARCH}" \
- --with-mcrypt=no --with-libpq=no --with-db-4=no
- my_make
+ --with-mcrypt=no --with-libpq=no --with-db-4=no \
+ --with-default-target=compile-microcode
+ my_make all
}
OUT_ROOT=${NATIVE_OUT}-${ARCH}
AUXDIR = @AUXDIR@
EDDIR = $(AUXDIR)/edwin
+default-target: @DEFAULT_TARGET@
+
all: @ALL_TARGET@
check:
$(INSTALL_DATA) $(top_srcdir)/etc/optiondb.scm $(DESTDIR)$(AUXDIR)/.
$(INSTALL_DATA) lib/*.com $(DESTDIR)$(AUXDIR)/.
-.PHONY: all all-native all-liarc all-svm macosx-app
+.PHONY: default-target all all-native all-liarc all-svm macosx-app
.PHONY: compile-microcode build-bands
.PHONY: liarc-dist compile-liarc-bundles install-liarc-bundles
.PHONY: mostlyclean clean distclean maintainer-clean c-clean clean-boot-root
: ${enable_host_scheme_test=yes}
fi
+AC_ARG_WITH([default-target],
+ AS_HELP_STRING([--with-default-target],
+ [Set the default make target [[all]]]))
+DEFAULT_TARGET=${with_default_target=all}
+
AC_CANONICAL_HOST
MIT_SCHEME_NATIVE_CODE([${enable_native_code}],[${host_cpu}])
fi
fi
+AC_SUBST([DEFAULT_TARGET])
AC_SUBST([ALL_TARGET])
AC_SUBST([FFIS])
AC_SUBST([INSTALL_COM])