view finch/libgnt/pygnt/Makefile.make @ 18817:cc41918086bd

Install dbus-types.h, which fixes #including dbus-server.h in UIs.
author Will Thompson <will.thompson@collabora.co.uk>
date Mon, 06 Aug 2007 13:55:42 +0000
parents 5e1412f4e67a
children 6b16fca71f8b
line wrap: on
line source

CC = gcc
CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python2.4/ -I.. -g -O0
LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0 gnt`
 
gnt.so: gnt.o gntmodule.o common.o
	$(CC) $(LDFLAGS) -shared $^ -o $@

gnt.c: gnt.def *.override common.c common.h
	pygtk-codegen-2.0 --prefix gnt \
	--override gnt.override \
	gnt.def > $@

clean:
	@rm *.so *.o gnt.c