Re: Howto add additional files to GTK's build process?



On Feb 2, 2008 5:57 PM, Clemens Eisserer <linuxhippy gmail com> wrote:
> Hello,
>
> I started playing with GTK's source a bit, however I was not able to
> figure out how I can add additional source and header files to GTK.
>
> I copied my source-files to gtk/gtk, and added the file and its header
> manually to the makefile, however:
> - The file is not built at all (its not in .libs)
> - After running configure my makefile-changes have been overridden again
>
> Could sombody please give me a small hint how to make the
> build-process include my own files?

You have to add it to gtk/Makefile.am (for example), not directly to
the Makefile, which is a generated file. Also you might want to check
one of the many "short introduction to autoconf/automake", might clear
some things up.

Cheers.

>
> Thank you in advance, lg Clemens
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>


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