~ubuntu-branches/ubuntu/trusty/rpm/trusty

« back to all changes in this revision

Viewing changes to python/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2010-06-28 11:12:30 UTC
  • mfrom: (17.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100628111230-8ggjjhgpvrnr3ybx
Tags: 4.8.1-5
Fix compilation on hurd and kfreebsd (Closes: #587366).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Makefile for rpm library.
2
2
 
3
 
EXTRA_DIST = rpmdebug-py.c rpm/__init__.py
 
3
EXTRA_DIST = rpm/__init__.py rpm/transaction.py
4
4
 
5
5
if PYTHON
6
6
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/
8
8
AM_CPPFLAGS += -I$(top_srcdir)/misc
9
9
AM_CPPFLAGS += -I@WITH_PYTHON_INCLUDE@
10
10
 
11
 
pkgpyexec_LTLIBRARIES = _rpmmodule.la
12
 
pkgpyexec_DATA = rpm/__init__.py
 
11
pkgpyexec_LTLIBRARIES = _rpmmodule.la _rpmbmodule.la
 
12
pkgpyexec_DATA = rpm/__init__.py rpm/transaction.py
13
13
 
14
14
_rpmmodule_la_LDFLAGS = -module -avoid-version
15
15
_rpmmodule_la_LIBADD = \
16
 
        $(top_builddir)/build/librpmbuild.la \
17
16
        $(top_builddir)/lib/librpm.la \
18
17
        $(top_builddir)/rpmio/librpmio.la \
19
18
        @WITH_PYTHON_LIB@
20
19
 
21
 
_rpmmodule_la_SOURCES = rpmmodule.c system.h \
 
20
_rpmmodule_la_SOURCES = rpmmodule.c rpmsystem-py.h \
22
21
        header-py.c header-py.h \
23
 
        rpmal-py.c rpmal-py.h \
24
22
        rpmds-py.c rpmds-py.h \
25
 
        rpmdb-py.c rpmdb-py.h \
26
23
        rpmfd-py.c rpmfd-py.h \
27
24
        rpmfi-py.c rpmfi-py.h \
 
25
        rpmkeyring-py.c rpmkeyring-py.h \
28
26
        rpmmi-py.c rpmmi-py.h \
29
27
        rpmps-py.c rpmps-py.h \
30
28
        rpmmacro-py.c rpmmacro-py.h \
 
29
        rpmtd-py.c rpmtd-py.h \
31
30
        rpmte-py.c rpmte-py.h \
32
 
        rpmts-py.c rpmts-py.h \
 
31
        rpmts-py.c rpmts-py.h
 
32
 
 
33
_rpmbmodule_la_LDFLAGS = -module -avoid-version
 
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 \
33
41
        spec-py.c spec-py.h
34
42
endif