[H-GEN] next makefile issue

Clinton Roy clinton.roy at gmail.com
Wed Dec 8 20:18:54 EST 2004


> In my quest to repair & update the broken make files for a package I now need
> to build some shared libraries but can't recognise the right part of the
> autoconf, automake docs.

automake and autoconf don't really handle making shared libraries, libtool does.

in your configure.ac:
AC_PROG_LIBTOOL

and in your Makefile.am:

lib_LTLIBRARIES = libgyach.la

libgyach_la_SOURCES = gyach-photos.c 

will get your pretty close to what you want, I think.

-- 
Clinton Roy
www.humbug.org.au  - Brisbane Unix Group
staff.dstc.edu.au/croy - Blog




More information about the General mailing list