diff options
| author | Johan Dahlin <johan@src.gnome.org> | 2007-05-01 15:54:05 +0000 |
|---|---|---|
| committer | Johan Dahlin <johan@src.gnome.org> | 2007-05-01 15:54:05 +0000 |
| commit | a57fde73b509adcf56a73ae1fb97474d136fd2af (patch) | |
| tree | 808278f44be0091211dd0113d6293ea0d6510583 /gobject/Makefile.am | |
| parent | ecbf8b6315dda927f4f90d8651033eb67c46a187 (diff) | |
| download | pygobject-a57fde73b509adcf56a73ae1fb97474d136fd2af.tar.gz pygobject-a57fde73b509adcf56a73ae1fb97474d136fd2af.tar.xz pygobject-a57fde73b509adcf56a73ae1fb97474d136fd2af.zip | |
Add a property helper, fixes #338098
* examples/properties.py:
* gobject/Makefile.am:
* gobject/__init__.py:
* gobject/constants.py.in:
* gobject/generate-constants.c: (main):
* gobject/propertyhelper.py:
* tests/Makefile.am:
* tests/test_enum.py:
* tests/test_interface.py:
* tests/test_properties.py:
Add a property helper, fixes #338098
svn path=/trunk/; revision=662
Diffstat (limited to 'gobject/Makefile.am')
| -rw-r--r-- | gobject/Makefile.am | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/gobject/Makefile.am b/gobject/Makefile.am index 6c4f242..32b4305 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -9,15 +9,29 @@ pkgpyexecdir = $(pyexecdir)/gtk-2.0 # gobject python scripts pygobjectdir = $(pkgpyexecdir)/gobject -pygobject_PYTHON = __init__.py option.py +pygobject_PYTHON = \ + __init__.py \ + option.py \ + propertyhelper.py pygobject_LTLIBRARIES = _gobject.la - +nodist_pygobject_PYTHON = constants.py common_ldflags = -module -avoid-version if PLATFORM_WIN32 common_ldflags += -no-undefined endif +constants.py: generate-constants constants.py.in + rm -f constants.py + cp $(srcdir)/constants.py.in constants.py + chmod 644 constants.py + $(top_builddir)/gobject/generate-constants >> constants.py + chmod 444 constants.py + +generate_constants_CFLAGS = $(GLIB_CFLAGS) +noinst_PROGRAMS = generate-constants +CLEANFILES = constants.py +EXTRA_DIST = constants.py.in _gobject_la_CFLAGS = $(GLIB_CFLAGS) _gobject_la_LDFLAGS = $(common_ldflags) -export-symbols-regex init_gobject @@ -39,9 +53,10 @@ _gobject_la_SOURCES = \ pygtype.c \ pygoptioncontext.c \ pygoptiongroup.c +_gobject_la_DEPENDENCIES = constants.py if HAVE_LIBFFI -_gobject_la_SOURCES += ffi-marshaller.c +_gobject_la_SOURCES += ffi-marshaller.c ffi-marshaller.h endif if PLATFORM_WIN32 |
