summaryrefslogtreecommitdiff
path: root/python/Makefile.am
blob: 914bf3dcace9700c98addfec3529e945ed2dd392 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Makefile for rpm library.

EXTRA_DIST = rpm/__init__.py rpm/transaction.py

AM_CPPFLAGS = -I$(top_builddir)/include/
AM_CPPFLAGS += -I$(top_srcdir)/python
AM_CPPFLAGS += -I@WITH_PYTHON_INCLUDE@
AM_CPPFLAGS += -I$(top_srcdir)

rpmpyexec_LTLIBRARIES = _rpmmodule.la _rpmbmodule.la _rpmsmodule.la
rpmpyexec_DATA = rpm/__init__.py rpm/transaction.py
rpmpyexecdir = @pyexecdir@/@PYTHON_MODULENAME@

_rpmmodule_la_LDFLAGS = -module -avoid-version -shared
_rpmmodule_la_LIBADD = \
	$(top_builddir)/lib/librpm.la \
	$(top_builddir)/rpmio/librpmio.la \
	@WITH_PYTHON_LIB@

_rpmmodule_la_SOURCES = rpmmodule.c rpmsystem-py.h \
	header-py.c header-py.h \
	rpmds-py.c rpmds-py.h \
	rpmfd-py.c rpmfd-py.h \
	rpmfi-py.c rpmfi-py.h \
	rpmkeyring-py.c rpmkeyring-py.h \
	rpmmi-py.c rpmmi-py.h \
	rpmii-py.c rpmii-py.h \
	rpmps-py.c rpmps-py.h \
	rpmmacro-py.c rpmmacro-py.h \
	rpmtd-py.c rpmtd-py.h \
	rpmte-py.c rpmte-py.h \
	rpmts-py.c rpmts-py.h

_rpmbmodule_la_LDFLAGS = -module -avoid-version -shared
_rpmbmodule_la_LIBADD = \
	$(top_builddir)/build/librpmbuild.la \
	$(top_builddir)/lib/librpm.la \
	$(top_builddir)/rpmio/librpmio.la \
	@WITH_PYTHON_LIB@

_rpmbmodule_la_SOURCES = rpmbmodule.c rpmsystem-py.h \
	spec-py.c spec-py.h

_rpmsmodule_la_LDFLAGS = -module -avoid-version -shared
_rpmsmodule_la_LIBADD = \
        $(top_builddir)/sign/librpmsign.la \
        $(top_builddir)/lib/librpm.la \
        $(top_builddir)/rpmio/librpmio.la \
        @WITH_PYTHON_LIB@

_rpmsmodule_la_SOURCES = rpmsmodule.c rpmsystem-py.h