From: Michael K. <mic...@gm...> - 2012-04-09 23:30:27
|
On 04/09/2012 08:26 PM, Sam Steingold wrote: >> * Michael Kappert<zvp...@tz...> [2012-04-08 22:08:02 +0200]: >> >> Nothing is wrong with the above REQUIRE form itself, but with the way >> clisp-link is used in the overall Makefile (in the 'full' target): It >> first tries to compile all requested modules before creating dynmod >> entries. > > This is not true. > prepare_dynamic_module in clisp-link is called for each module one by > one and it does create the files in dynmod one by one. Indeed, sorry. Looks like the Makefile of module gtk+3 is invoked from the anymodule target because it's a prerequisite for target all (via $(MODULES)). My gtk+3 Makefile contains gtkffi.fas gtkffi.c : $(srcdir)/gtkffi.cl gtk3-package.fas $(CLISP) -c $(srcdir)/gtkffi.cl -o ./ and compiling gtkffi.cl requires the 'gir' module (the GTK+ introspection typelibs are queried to produce FFI forms at compile time). I moved the resp. prerequisites from the clisp-module target to a new target and call the new target from link.sh(.in). I still need to clean things up but building the modules now works as desired. Thanks! Michael -- |