blob: 22bc3f9cad8b231bea8f14cfd51b981265cffd78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
AUTOMAKE_OPTIONS=1.5
INCLUDES = \
$(PYTHON_INCLUDES) \
$(PYGOBJECT_CFLAGS) \
$(SOUP_CFLAGS)
noinst_LTLIBRARIES = soup.la
soup_la_LDFLAGS = -module -avoid-version -export-symbols-regex initsoup
soup_la_LIBADD = $(SOUP_LIBS)
soup_la_SOURCES = libsoupmodule.c
nodist_soup_la_SOURCES = libsoup.c
libsoup.c: libsoup.defs *.override
CLEANFILES = libsoup.c
EXTRA_DIST = *.override
.defs.c:
(cd $(srcdir)\
&& pygtk-codegen-2.0 \
--register $(GIO_DEFS) \
--override $*.override \
--prefix py$* $*.defs) > gen-$*.c \
&& cp gen-$*.c $*.c \
&& rm -f gen-$*.c
|