On Tue, 2015-03-10 at 18:24 +0530, Christian Hujer wrote:
> trying to use archive rules for jar (placeholder for any kind of
> archive other than ar archive/ranlib static link library).

You can't do that.  Archive rules work ONLY with real archives (libX.a
files), created with the UNIX ar(1) utility.

GNU make has C code that knows how to parse an ar archive file and
examine its contents: this is the only way make's archive capability can
work (it must be able to obtain a table of contents that includes
timestamps).  That code can't parse any kind of file, just ar files.  In
particular jar files are ZIP files, which are totally different.


_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to