annotate finch/libgnt/pygnt/Makefile.make @ 21904:9b299228431c

merge of '05319fdf1db00660d0c169657ed1b08ff621e5c7' and 'a654aa0d3c35e43c2f23b266100bfdb4d98e2d73'
author Will Thompson <will.thompson@collabora.co.uk>
date Wed, 19 Dec 2007 11:31:37 +0000
parents 6b16fca71f8b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15933
7fae8140b5b3 makefile
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
1 CC = gcc
7fae8140b5b3 makefile
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
2 CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python2.4/ -I.. -g -O0
7fae8140b5b3 makefile
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
3 LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0 gnt`
7fae8140b5b3 makefile
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
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
7fae8140b5b3 makefile
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
6 $(CC) $(LDFLAGS) -shared $^ -o $@
7fae8140b5b3 makefile
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
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
7fae8140b5b3 makefile
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
9 pygtk-codegen-2.0 --prefix gnt \
7fae8140b5b3 makefile
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
10 --override gnt.override \
7fae8140b5b3 makefile
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
11 gnt.def > $@
7fae8140b5b3 makefile
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
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
7fae8140b5b3 makefile
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
15 clean:
7fae8140b5b3 makefile
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
16 @rm *.so *.o gnt.c