nisse@lysator.liu.se (Niels Möller) writes:
Currently, the nettle Makefile creates two object files for each source file, .o for inclusion in the static library, and .po ("pure object") for the shared library. By default, both are compiled as pic code, but --disable-pic drops the pic flags when compiling the .o files, to get non-pic code into the static library.
I'm considering dropping this complication. Just build a single .o file, which is pic by default, and non-pic if --disable-pic is given.
Done now. No more .po object files.
I also reverted some .asm-related changes (which were done one early 2013, to fix problems with parallel make when each .asm file was transformed first to a preprocessed .s file and then to two separate .o and .po object files). This makes the rules simpler, and it also happens to work better with Solaris' make.
Regards, /Niels