sugar-toolkit-gtk3/bindings/globalkeys/Makefile.am
2006-08-25 14:39:58 +02:00

36 lines
770 B
Makefile

INCLUDES = \
$(WARN_CFLAGS) \
$(PYTHON_INCLUDES) \
$(PYGTK_CFLAGS) \
$(GLOBALKEYS_CFLAGS)
globalkeysdir = $(pkgdatadir)/bindings
pkgpyexecdir = $(globalkeysdir)
pkgpyexec_LTLIBRARIES = globalkeys.la
globalkeys_la_LDFLAGS = -module -avoid-version
globalkeys_la_LIBADD = $(GLOBALKEYS_LIBS)
globalkeys_la_SOURCES = \
eggaccelerators.c \
eggaccelerators.h \
globalkeysmodule.c \
sugar-key-grabber.h \
sugar-key-grabber.c
nodist_globalkeys_la_SOURCES = globalkeys.c
globalkeys.c: globalkeys.defs globalkeys.override
CLEANFILES = globalkeys.c
EXTRA_DIST = globalkeys.override globalkeys.defs
.defs.c:
(cd $(srcdir)\
&& $(PYGTK_CODEGEN) \
--override $*.override \
--prefix py$* $*.defs) > gen-$*.c \
&& cp gen-$*.c $*.c \
&& rm -f gen-$*.c