view finch/libgnt/pygnt/Makefile.am @ 20342:d4cdca890d8e

applied changes from 4d9fac4aab275ee133ce860edc469e0e5c4734ff through 68d63cab97f8861a7a080c3103d5e24a31587473 applied changes from 68d63cab97f8861a7a080c3103d5e24a31587473 through f9d3abd0678a04291edd671c4e5d87c7217984bb
author Luke Schierer <lschiere@pidgin.im>
date Sun, 21 Oct 2007 04:39:02 +0000
parents bfa12b00f54b
children
line wrap: on
line source

EXTRA_DIST = gendef.sh

pg_LTLIBRARIES = gnt.la

pgdir = $(libdir)

sources = \
	gnt.def \
	gnt.override \
	gntbox.override \
	gntfilesel.override \
	gnttree.override \
	gntwidget.override

gnt_la_SOURCES = gnt.c common.c common.h gntmodule.c

gnt_la_LDFLAGS = -module -avoid-version \
	`pkg-config --libs pygobject-2.0`

gnt_la_LIBADD = \
	$(GLIB_LIBS) \
	../libgnt.la

AM_CPPFLAGS = \
	-I../ \
	$(GLIB_CFLAGS) \
	$(GNT_CFLAGS)  \
	-I/usr/include/python2.4 \
	`pkg-config --cflags pygobject-2.0`

CLEANFILES = gnt.def gnt.c gnt.defe

gnt.def: $(srcdir)/../*.h
	$(srcdir)/gendef.sh

gnt.c: $(sources)
	pygtk-codegen-2.0 --prefix gnt \
	--override gnt.override \
	gnt.def > $@