Re: "Packing" binary data into object files using autotools

2017-08-14 Thread Gavin Smith
On Mon, Aug 14, 2017 at 03:31:28PM +0200, Thomas Nyberg wrote: > Hello, > > I just wanted to simplify my previous question. Say I'm starting with > this file: > > # Makefile.am > --- > [...] > > library_la_SOURCES =

Re: "Packing" binary data into object files using autotools

2017-08-14 Thread Thomas Nyberg
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 -

Re: "Packing" binary data into object files using autotools

2017-08-14 Thread Thomas Nyberg
Hello, I just wanted to simplify my previous question. Say I'm starting with this file: # Makefile.am --- [...] library_la_SOURCES = \ ... [A bunch of files...] src/resources/code_archive.S --

"Packing" binary data into object files using autotools

2017-08-14 Thread Thomas Nyberg
Hello, I have a Makefile which I'm trying to convert to an autotools setup. It's complicated by the fact that some code is not compiled until runtime. I'll try to be as detailed as possible. In my hand-written Makefile I have the following setup. I have a rule which tars up some files and puts it