How to install data / lib in more than 1 place?

2019-12-10 Thread Georg-Johann Lay
Hi, I have an automake file with rules for a lib like this: __install_dir = $(prefix)/avr/lib/$(AVR_INSTALL_DIR) avrdir = $(__install_dir) avrlibdir = $(__install_dir) avr_LIBRARIES = libdev.a nodist_libdev_a_SOURCES = ... What would be the recommended way to install libdev.a also in several

Re: How to install data / lib in more than 1 place?

2019-12-10 Thread Bob Friesenhahn
On Tue, 10 Dec 2019, Georg-Johann Lay wrote: Hi, I have an automake file with rules for a lib like this: __install_dir = $(prefix)/avr/lib/$(AVR_INSTALL_DIR) avrdir = $(__install_dir) avrlibdir = $(__install_dir) avr_LIBRARIES = libdev.a nodist_libdev_a_SOURCES = ... What would be the recomm

Re: How to install data / lib in more than 1 place?

2019-12-10 Thread Georg-Johann Lay
Bob Friesenhahn schrieb: On Tue, 10 Dec 2019, Georg-Johann Lay wrote: Hi, I have an automake file with rules for a lib like this: __install_dir = $(prefix)/avr/lib/$(AVR_INSTALL_DIR) avrdir = $(__install_dir) avrlibdir = $(__install_dir) avr_LIBRARIES = libdev.a nodist_libdev_a_SOURCES = ...

Re: How to install data / lib in more than 1 place?

2019-12-10 Thread Bob Friesenhahn
On Tue, 10 Dec 2019, Georg-Johann Lay wrote: Hi, thanks. That was fast! avrfoo_LIBRARIES = libfoo.a avrbar_LIBRARIES = libbar.a Will this also work with same file names? Like avrfoo_LIBRARIES = libfoo.a avrbar_LIBRARIES = libfoo.a or would that confuse the tools? I am not sure. I wou