~ubuntu-branches/ubuntu/precise/rpm/precise

« back to all changes in this revision

Viewing changes to .pc/do-not-link-libpython.patch/python/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2011-07-12 20:55:42 UTC
  • mfrom: (17.2.12 sid)
  • Revision ID: james.westby@ubuntu.com-20110712205542-tai8jlefxur008l4
Tags: 4.9.0-7
* Remove useless .la files from python-rpm (Closes: #633267).
* Avoid linking python module with libpython (LP: #789656).
* Remove empty lines from debian/*.symbols, they cause warnings during
  build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile for rpm library.
 
2
 
 
3
EXTRA_DIST = rpm/__init__.py rpm/transaction.py
 
4
 
 
5
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/
 
6
AM_CPPFLAGS += -I$(top_srcdir)/python
 
7
AM_CPPFLAGS += -I$(top_srcdir)/misc
 
8
AM_CPPFLAGS += -I@WITH_PYTHON_INCLUDE@
 
9
 
 
10
pkgpyexec_LTLIBRARIES = _rpmmodule.la _rpmbmodule.la _rpmsmodule.la
 
11
pkgpyexec_DATA = rpm/__init__.py rpm/transaction.py
 
12
 
 
13
_rpmmodule_la_LDFLAGS = -module -avoid-version -shared
 
14
_rpmmodule_la_LIBADD = \
 
15
        $(top_builddir)/lib/librpm.la \
 
16
        $(top_builddir)/rpmio/librpmio.la \
 
17
        @WITH_PYTHON_LIB@
 
18
 
 
19
_rpmmodule_la_SOURCES = rpmmodule.c rpmsystem-py.h \
 
20
        header-py.c header-py.h \
 
21
        rpmds-py.c rpmds-py.h \
 
22
        rpmfd-py.c rpmfd-py.h \
 
23
        rpmfi-py.c rpmfi-py.h \
 
24
        rpmkeyring-py.c rpmkeyring-py.h \
 
25
        rpmmi-py.c rpmmi-py.h \
 
26
        rpmii-py.c rpmii-py.h \
 
27
        rpmps-py.c rpmps-py.h \
 
28
        rpmmacro-py.c rpmmacro-py.h \
 
29
        rpmtd-py.c rpmtd-py.h \
 
30
        rpmte-py.c rpmte-py.h \
 
31
        rpmts-py.c rpmts-py.h
 
32
 
 
33
_rpmbmodule_la_LDFLAGS = -module -avoid-version -shared
 
34
_rpmbmodule_la_LIBADD = \
 
35
        $(top_builddir)/build/librpmbuild.la \
 
36
        $(top_builddir)/lib/librpm.la \
 
37
        $(top_builddir)/rpmio/librpmio.la \
 
38
        @WITH_PYTHON_LIB@
 
39
 
 
40
_rpmbmodule_la_SOURCES = rpmbmodule.c rpmsystem-py.h \
 
41
        spec-py.c spec-py.h
 
42
 
 
43
_rpmsmodule_la_LDFLAGS = -module -avoid-version -shared
 
44
_rpmsmodule_la_LIBADD = \
 
45
        $(top_builddir)/sign/librpmsign.la \
 
46
        $(top_builddir)/lib/librpm.la \
 
47
        $(top_builddir)/rpmio/librpmio.la \
 
48
        @WITH_PYTHON_LIB@
 
49
 
 
50
_rpmsmodule_la_SOURCES = rpmsmodule.c rpmsystem-py.h
 
51