Hello, I figured out the issue and wanted to resolve it on the list. It was quite trivial to do this using BUILT_SOURCES (not so sure why I had so much trouble...). Basically something like the following suffices: # Makefile.am ------------------------------------------------------------------- [...] BUILT_SOURCES = code.tar code.tar: tar c code/ > code.tar CLEANFILES = code.tar library_la_SOURCES = \ ... [A bunch of files...] src/resources/code_archive.S ------------------------------------------------------------------- This produces the necessary tar file in the current directory before doing the rest of the compilation. The CLEANFILES target cleans it again afterwards. Cheers, Thomas _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf