SUBDIRS = c BUILT_SOURCES = config-data.scm CLEANFILES = $(BUILT_SOURCES) config-data.scm: config-data.scm.in module=yes; \ eval shared_module_ext="@shrext@"; \ sed -e s/@module_extension@/$$shared_module_ext/g < $< > $@