Hi Jason,

Jason Stewart <[EMAIL PROTECTED]> writes:

> I added 'swig' into SUBDIRS in Makefile.am and on linux this is
> sufficient to build a Makefile.in from the Makefile.am in the swig/
> directory.

BTW, if you make swig build by default (and that's what what
happens if you add it to SUBDIRS in top-level Makefile.am), you
need to make sure that all other build targets are also implemented.
These include 'all', 'clean', 'distclean', 'install', and 'dist'.
Normally, automake takes care of this but since you use a different
build system (Makefile.PL), you will need to make sure that these
targets are implemented properly.

In addition, you will probably also need to add configure checks
if the tools that you use in swig are available (e.g., perl, the
swig compiler if there is such a thing, etc.).

> How can I tell automake to build my Makefile.in?

I think you need to add swig/Makefile to the AC_CONFIG_FILES section
in configure.ac.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to