On Tue, Dec 11, 2012 at 12:06:49PM +0200, Eli Zaretskii wrote: > > Failing that, I will need some help here. I know enough Autoconf to > add the necessary magic to configure.ac that will replace some > @VOODOO@ with the list of files to install on Windows and leave it > empty on Posix platforms. But how do I add @VOODOO@ to Makefile.am, > so that Makefile.in gets generated with it? I don't know anything > about Automake, except how to type its name at the shell prompt.
In the Makefile, all the AC_SUBST configure variables get substituted, so that you can access $(VOODOO) in the Makefile, and therefore in the rules you add yourself to Makefile.am. But you may also use the build_triplet build_alias build_cpu build_os build_vendor variables values that are also substituted in the resulting Makefile. -- Pat
