2006-08-25 11:19:27 +02:00
|
|
|
INCLUDES = \
|
2006-08-25 14:03:48 +02:00
|
|
|
$(WARN_CFLAGS) \
|
2006-08-25 11:19:27 +02:00
|
|
|
$(PYTHON_INCLUDES) \
|
|
|
|
$(PYGTK_CFLAGS) \
|
|
|
|
$(GLOBALKEYS_CFLAGS)
|
|
|
|
|
2006-08-25 14:39:58 +02:00
|
|
|
globalkeysdir = $(pkgdatadir)/bindings
|
2006-08-25 12:28:52 +02:00
|
|
|
pkgpyexecdir = $(globalkeysdir)
|
2006-08-25 11:19:27 +02:00
|
|
|
|
|
|
|
pkgpyexec_LTLIBRARIES = globalkeys.la
|
|
|
|
|
|
|
|
globalkeys_la_LDFLAGS = -module -avoid-version
|
|
|
|
globalkeys_la_LIBADD = $(GLOBALKEYS_LIBS)
|
|
|
|
|
|
|
|
globalkeys_la_SOURCES = \
|
2006-08-25 12:28:52 +02:00
|
|
|
eggaccelerators.c \
|
|
|
|
eggaccelerators.h \
|
2006-08-25 11:19:27 +02:00
|
|
|
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
|