Angus wrote: > This is a gnu make-ism, isn't it? At the moment the XForms frontend > builds with non-gnu makes. I don't think that we should change that.
Automake generates plenty of entries with the "%.a: %.b" format. Take a look at your Makefiles. They appear to be libtool related mostly but they're there. What I do know is that my gnu make doesn't find the rule for creating the .C files from the .fd files unless I change it as per the patch. I tried removing the Makefile.am and getting a fresh replacement in case it was somehow corrupted. Didn't make any difference. I tried moving the rule earlier in the generated Makefile -- still doesn't work. Here's what `info make` has to say on the subject of rules: Old-Fashioned Suffix Rules ========================== "Suffix rules" are the old-fashioned way of defining implicit rules for `make'. Suffix rules are obsolete because pattern rules are more general and clearer. They are supported in GNU `make' for compatibility with old makefiles. ... Here is the old-fashioned way to define the rule for compiling a C source file: .c.o: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $< ... Introduction to Pattern Rules ----------------------------- A pattern rule contains the character `%' (exactly one of them) in the target; otherwise, it looks exactly like an ordinary rule. The target is a pattern for matching file names; the `%' matches any nonempty substring, while other characters match only themselves. ... Features of GNU `make' ********************** ... The following features were inspired by various other versions of `make'. In some cases it is unclear exactly which versions inspired which others. * Pattern rules using `%'. This has been implemented in several versions of `make'. We're not sure who invented it first, but it's been spread around a bit. *Note Defining and Redefining Pattern Rules: Pattern Rules. > I'm rather suspicious of the bug report as nobody has complained > before and, let's face it, most of our users use gnu make. Maybe nobody else has as old a toolchain as I do? Maybe they all use Kayvan's rpms? Maybe they download the distribution which has these files generated? Maybe I shouldn't have `make maintainer-clean`ed my cvs tree? Got any better ideas? My toolchain : gcc-2.95.3 make-3.79.1 autoconf-2.13 automake-1.4 libtool-1.3.5 LyX 1.3.6cvs of Wed, Oct 6, 2004 Built on Nov 4 2004, 14:34:39 Configuration Host type: i686-pc-linux-gnu Special build flags: warnings assertions xforms-image-loader C Compiler: gcc C Compiler flags: -g -O2 C++ Compiler: g++ (2.95.3) C++ Compiler flags: -g -O -Wno-non-template-friend -ftemplate-depth-30 -W -Wall Linker flags: Frontend: xforms libXpm version: 4.11 libforms version: 1.0.0 LyX binary dir: /home/rae/bin LyX files dir: /home/rae/share/lyx Do you still have no-smiley fridays? Allan. (ARRae)