[Glade-users] Building Your Own Catalog
- From: gordonguthrie at backawinner.gg (Gordon Guthrie)
- Subject: [Glade-users] Building Your Own Catalog
- Date: Tue, 16 Jan 2007 07:58:21 -0000 (GMT)
Folks
Still struggling with the Makefile system...
I am trying to compile my own library for a catalog.
It would seem that I need to add an entry to the file Makefile.am in
glade3-3.0.1/src, so far so good...
*******************Makefile.am Extract Starts********************
# The GTK catalog backend
gladegtk_LTLIBRARIES = libgladegtk.la
gladegtkdir = $(glade_modulesdir)
libgladegtk_la_CFLAGS = \
-g -Wall \
-I$(top_srcdir) \
-I$(top_builddir) \
$(GTK_CFLAGS)
libgladegtk_la_SOURCES = glade-gtk.c
libgladegtk_la_LDFLAGS = -module -avoid-version
libgladegtk_la_LIBADD = libgladeui-1.la $(GTK_LIBS)
libgladegtkincludedir = $(includedir)/libgladeui-1.0/libgladeui
libgladegtkinclude_HEADERS = glade-gtk.h
# The new Flexer catalog backend
gladeflexer_LTLIBRARIES = libgladeflexer.la
gladeflexerdir = $(glade_modulesdir)
libgladeflexer_la_CFLAGS = \
-g -Wall \
-I$(top_srcdir) \
-I$(top_builddir) \
$(GTK_CFLAGS)
libgladeflexer_la_SOURCES = glade-gtk.c
libgladeflexer_la_LDFLAGS = -module -avoid-version
libgladeflexer_la_LIBADD = libgladeui-1.la $(GTK_LIBS)
libgladeflexerincludedir = $(includedir)/libgladeui-1.0/libgladeui
libgladeflexerinclude_HEADERS = glade-gtk.h
*******************Makefile.am Extract Ends**********************
Now I need to generate the Makefile.in from that using automake which
I invoke from glade3-3.0.1
It gives a wheen of warnings, but I'm not sure if they are important or not:
******************Automake Warnings Start************************
aclocal.m4: 7016: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
aclocal.m4: 7194: `jm_MAINTAINER_MODE' is obsolete; use `AM_MAINTAINER_MODE'
configure.in: 7016: required file `./$@)].in' not found
pixmaps/16x16/Makefile.am:3: smallicons_DATA defined both conditionally
and unconditionally
pixmaps/16x16/Makefile.am:114: warning: automake does not support
conditional definition of smallicons_DATA in EXTRA_DIST
pixmaps/22x22/Makefile.am:3: largeicons_DATA defined both conditionally
and unconditionally
pixmaps/22x22/Makefile.am:113: warning: automake does not support
conditional definition of largeicons_DATA in EXTRA_DIST
widgets/Makefile.am:3: CLEANFILES defined both conditionally and
unconditionally
widgets/Makefile.am:7: catalogs_DATA defined both conditionally and
unconditionally
widgets/Makefile.am:15: warning: automake does not support conditional
definition of catalogs_DATA in EXTRA_DIST
widgets/Makefile.am:7: warning: automake does not support conditional
definition of GNOME_CATALOGS in catalogs_DATA
src/Makefile.am:30: glade_3_LDFLAGS defined both conditionally and
unconditionally
automake: src/Makefile.am: warning: automake does not support
libgladegnome_la_LDFLAGS being defined conditionally
src/Makefile.am:167: variable `GLADE_LIBS' not defined
doc/Makefile.am:4: require version 1.6, but have 1.4-p6
******************Automake Warnings Ends************************
and then ./configure which seems OK.
A quick grep indicates that the source code and the output library have
been taken up into the make system, but then when I try and run make...
******************Make Errors Start*****************************
/bin/bash: -c: line 0: syntax error near unexpected token `)'
/bin/bash: -c: line 0: `if test ! -f )].in; then \'
make: *** [)].in] Error 2
******************Make Errors Ends******************************
The problem I have is that I'm not sure that this is the right way to go
about getting the library compiled in the first place. Am I just chasing a
red herring? Is this the right way to go about it and I just need to bash
through more errors?
TIA
Gordon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]