Mercurial > pidgin.yaz
annotate finch/libgnt/pygnt/Makefile.make @ 18679:6b16fca71f8b
Add some more functions for GntTree. One point to note is that the key
for each row in a tree needs to be a GObject, which, really is quite simple
to do in python (examples coming up shortly).
There is a wrapper for gpointer, which I am going to remove shortly.
I also need to fix the install location. The way to go, I think, is to
change the configure script in libgnt/configure.ac. This involves checking
for python and doing things of that sort.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 28 Jul 2007 11:16:05 +0000 |
parents | 5e1412f4e67a |
children |
rev | line source |
---|---|
15933 | 1 CC = gcc |
2 CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python2.4/ -I.. -g -O0 | |
3 LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0 gnt` | |
4 | |
18556
5e1412f4e67a
Do some work to make pygnt more useful. The dbus-gnt script works fairly
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15933
diff
changeset
|
5 gnt.so: gnt.o gntmodule.o common.o |
15933 | 6 $(CC) $(LDFLAGS) -shared $^ -o $@ |
7 | |
18556
5e1412f4e67a
Do some work to make pygnt more useful. The dbus-gnt script works fairly
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15933
diff
changeset
|
8 gnt.c: gnt.def *.override common.c common.h |
15933 | 9 pygtk-codegen-2.0 --prefix gnt \ |
10 --override gnt.override \ | |
11 gnt.def > $@ | |
12 | |
18679
6b16fca71f8b
Add some more functions for GntTree. One point to note is that the key
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18556
diff
changeset
|
13 #python codegen/codegen.py --prefix gnt \ |
6b16fca71f8b
Add some more functions for GntTree. One point to note is that the key
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18556
diff
changeset
|
14 |
15933 | 15 clean: |
16 @rm *.so *.o gnt.c |