SRC_SUBDIR:= CONFIGURE_OPTS:=--without-bash-malloc --disable-rpath --enable-disabled-builtins export ac_cv_func_getcwd=yes export ac_cv_func_mmap_fixed_mapped=yes export ac_cv_func_strcoll_works=yes export ac_cv_func_working_mktime=yes export bash_cv_dev_fd=absent export bash_cv_func_ctype_nonascii=yes export bash_cv_func_sigsetjmp=present export bash_cv_getcwd_malloc=yes export bash_cv_job_control_missing=present export bash_cv_printf_a_format=yes export bash_cv_sys_named_pipes=present export gt_cv_int_divbyzero_sigfpe=yes include ${TOOLS_COMMON}include/gnu-configure-make generated_files:=lib/intl/plural.c y.tab.c y.tab.h $(BUILD_TGT) :| libintl libbuiltins build: build_gnu # The below is needed because bash is apparently not make -jN safe. # Building some of the lib* libraries first seems to solve that problem. libintl: ${generated_files} | ${OD}/Makefile ${MAKE} -C ${OD} lib/intl/libintl.a libbuiltins: ${generated_files} | ${OD}/Makefile ${MAKE} -C ${OD} builtins/libbuiltins.a lib/intl/plural.c: lib/intl/plural.y | ${OD}/Makefile $(call forcetouch,$@) y.tab.c y.tab.h: parse.y | ${OD}/Makefile $(call forcetouch,$@)