Squash one warning.
[python-gnt.git] / Makefile.am
blob84434fc676172ca9c0e6f1e93d37b0ad80f39cfb
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         gntfilesel.override \
13         gntmenu.override \
14         gnttree.override \
15         gntwidget.override \
16         gntwindow.override
18 gnt_la_SOURCES = gnt.c common.c common.h gntmodule.c
20 gnt_la_LDFLAGS = -module -avoid-version \
21         `pkg-config --libs pygobject-2.0`
23 gnt_la_LIBADD = \
24         $(GLIB_LIBS) \
25         $(GNT_LIBS)
27 AM_CPPFLAGS = \
28         $(GLIB_CFLAGS) \
29         $(GNT_CFLAGS)  \
30         $(PYTHON_INCLUDES) \
31         -I/usr/include/ncursesw \
32         `pkg-config --cflags pygobject-2.0`
34 CLEANFILES = gnt.def gnt.c gnt.defe
36 gnt.def: $(srcdir)/gnt/*.h
37         $(srcdir)/gendef.sh
39 gnt.c: $(sources)
40         pygtk-codegen-2.0 --prefix gnt \
41         --override gnt.override \
42         gnt.def > $@