Hash :
43e0c022
Author :
Thomas de Grivel
Date :
2022-12-25T19:05:30
#!/bin/sh
. ../config.subr
echo "# sources.mk generated by update_sources" > ${SOURCES_MK}
echo "# sources.sh generated by update_sources" > ${SOURCES_SH}
SOURCES="$(ls *.c)"
SOURCES="$(echo "$SOURCES" | tr '\n' ' ')"
echo "SOURCES = $SOURCES" >> ${SOURCES_MK}
echo "SOURCES='$SOURCES'" >> ${SOURCES_SH}
LIBTOMMATH_SOURCES="$(ls ../libtommath/*.c | grep -v -e bn_mp_set_double.c -e bn_s_mp_rand_platform.c | tr '\n' ' ')"
LO_SOURCES="$SOURCES $LIBTOMMATH_SOURCES"
echo "LO_SOURCES = $LO_SOURCES" >> ${SOURCES_MK}
echo "LO_SOURCES='$LO_SOURCES'" >> ${SOURCES_SH}
update_sources_mk
update_sources_sh