~xnox/ubiquity/move-keyboard-early

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Colin Watson
  • Date: 2006-02-23 13:14:42 UTC
  • mfrom: (779.1.15 timezone)
  • Revision ID: colin.watson@canonical.com-20060223131442-a85f76cd7488af9e
merge my timezone branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
SUBDIRS = cut-and-paste
 
4
 
 
5
INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
 
6
 
 
7
defsdir = $(datadir)/pygtk/2.0/defs
 
8
defs_DATA = e-map.defs
 
9
 
 
10
EXTRA_DIST = $(defs_DATA)
 
11
 
 
12
pkgpyexec_LTLIBRARIES = emap.la
 
13
emap_la_CFLAGS = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS) \
 
14
                 -I$(srcdir)/cut-and-paste/e-map
 
15
emap_la_LDFLAGS = $(PYGTK_LIBS) \
 
16
                  -module -avoid-version -export-symbols-regex initemap
 
17
emap_la_LIBADD = -Lcut-and-paste/e-map -lemap
 
18
emap_la_SOURCES = emapmodule.c
 
19
nodist_emap_la_SOURCES = e-map.c
 
20
CLEANFILES = e-map.c
 
21
EXTRA_DIST += e-map.override
 
22
 
 
23
%.c: %.defs %.override
 
24
        (cd $(srcdir) \
 
25
         && $(PYGTK_CODEGEN) --prefix e_map \
 
26
            --register $(PYGTK_DEFSDIR)/gdk-types.defs \
 
27
            --register $(PYGTK_DEFSDIR)/gtk-types.defs \
 
28
            --override $*.override \
 
29
            $<) > gen-$@ \
 
30
        && cp gen-$@ $@ \
 
31
        && rm -f gen-$@