annotate finch/libgnt/pygnt/Makefile.make @ 21520:f3e3c604ea0e

merge of '61d876a57f30f4e29a91a8411d259e8aaa4355ea' and '8f4c83ded385e01c8c6b04edd91d02dac0c09571'
author Will Thompson <will.thompson@collabora.co.uk>
date Thu, 15 Nov 2007 12:55:17 +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