annotate finch/libgnt/pygnt/Makefile.make @ 20947:3c4d37b98c31

merge of '60c313e0859ab5b5106920e3133826ed0ec09703' and '9af00415175d29e7e9227c383939d392ea0af499'
author Casey Harkins <charkins@pidgin.im>
date Mon, 15 Oct 2007 04:14:53 +0000
parents 6b16fca71f8b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15930
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: 15930
diff changeset
5 gnt.so: gnt.o gntmodule.o common.o
15930
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: 15930
diff changeset
8 gnt.c: gnt.def *.override common.c common.h
15930
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
15930
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