Add bindings for combobox.
[python-gnt.git] / Makefile.am
blobe93595137b4c8a6b277e57e84d8ec986782a3c98
1 EXTRA_DIST = gendef.sh
3 pg_LTLIBRARIES = gnt.la
5 pgdir = `${PYTHON} -c 'import distutils.sysconfig as ds; print ds.get_python_lib()'`
7 sources = \
8         gnt.def \
9         gnt.override \
10         gntbindable.override \
11         gntbox.override \
12         gntcombobox.override \
13         gntfilesel.override \
14         gntmenu.override \
15         gnttree.override \
16         gntwidget.override \
17         gntwindow.override
19 gnt_la_SOURCES = gnt.c common.c common.h gntmodule.c
21 gnt_la_LDFLAGS = -module -avoid-version \
22         `pkg-config --libs pygobject-2.0`
24 gnt_la_LIBADD = \
25         $(GLIB_LIBS) \
26         $(GNT_LIBS)
28 AM_CPPFLAGS = \
29         $(GLIB_CFLAGS) \
30         $(GNT_CFLAGS)  \
31         $(PYTHON_INCLUDES) \
32         -I/usr/include/ncursesw \
33         `pkg-config --cflags pygobject-2.0`
35 CLEANFILES = gnt.def gnt.c gnt.defe
37 gnt.def: $(srcdir)/gnt/*.h
38         $(srcdir)/gendef.sh
40 gnt.c: $(sources)
41         pygtk-codegen-2.0 --prefix gnt \
42         --override gnt.override \
43         gnt.def > $@