automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Makefiles and libraries problem


From: Ralf Wildenhues
Subject: Re: Makefiles and libraries problem
Date: Thu, 12 Apr 2007 09:21:21 +0200
User-agent: Mutt/1.5.15 (2007-04-10)

* Matí­as Alejandro Torres wrote on Thu, Apr 12, 2007 at 01:40:30AM CEST:
>
> ******************************
> The Makefile.am in the database/ directory (a library)
> ******************************
>
> contactsdb_la_SOURCES = idatabase.c\

Make that
  libcontactsdb_la_SOURCES = ...

>    idatabase.h\
>    sqlitedatabase.c\
>    sqlitedatabase.h
>
> lib_LTLIBRARIES = libcontactsdb.la
>
>
> ******************************
> The Makefile.am in the gtk/ directory (a library)
> ******************************
> contactsgui_la_SOURCES = aboutdialog.c \

Likewise, make that
  libcontactsgui_la_SOURCES = ...

>    aboutdialog.h \
[...]
>    toolbar.h
>
> lib_LTLIBRARIES = libcontactsgui.la

After those changes, go to the toplevel source directory, run
  libtoolize -c   # Your users won't need to run this line
  autoreconf -vi  # Your users won't need to run this line
  ./configure
  make

Hope that helps.  If anything still doesn't work, please post the
complete output of the failing command.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]