Re: Problem using same .y file in multiple libs and AM_YFLAGS=-d

2003-09-18 Thread Sander Niemeijer
After some further thinking I managed to come up with a solution myself. It seems that it is possible to use (the generated) foo.c for libfoo_internal_la_SOURCES instead of foo.y. The rule to create foo.c from foo.y is already part of the rules for libfoo.la, so the dependencies are correct. An

Problem using same .y file in multiple libs and AM_YFLAGS=-d

2003-09-17 Thread Sander Niemeijer
Hi all, I am using a yacc/bison source file in a libtool library, but I create both an installable static/shared version of the library as well as an internal convenience library (so I can later on link the PIC objects directly into another shared library). Since I need the header file with th