rpm/python/Makefile.am

54 lines
1.4 KiB
Makefile
Raw Normal View History

# Makefile for rpm library.
EXTRA_DIST = rpm/__init__.py rpm/transaction.py
AM_CPPFLAGS = -I$(top_builddir)/include/
2007-10-17 22:41:59 +08:00
AM_CPPFLAGS += -I$(top_srcdir)/python
2007-10-17 21:08:01 +08:00
AM_CPPFLAGS += -I@WITH_PYTHON_INCLUDE@
pkgpyexec_LTLIBRARIES = _rpm.la _rpmb.la _rpms.la
pkgpyexec_DATA = rpm/__init__.py rpm/transaction.py
2007-09-03 11:11:40 +08:00
_rpm_la_LDFLAGS = -module -avoid-version -shared
_rpm_la_LIBADD = \
$(top_builddir)/lib/librpm.la \
$(top_builddir)/rpmio/librpmio.la \
2007-09-10 16:45:44 +08:00
@WITH_PYTHON_LIB@
_rpm_la_SOURCES = rpmmodule.c rpmsystem-py.h \
2007-09-10 16:45:44 +08:00
header-py.c header-py.h \
rpmarchive-py.c rpmarchive-py.h \
2007-09-10 16:45:44 +08:00
rpmds-py.c rpmds-py.h \
rpmfd-py.c rpmfd-py.h \
2007-09-10 16:45:44 +08:00
rpmfi-py.c rpmfi-py.h \
rpmfiles-py.c rpmfiles-py.h \
rpmkeyring-py.c rpmkeyring-py.h \
2007-09-10 16:45:44 +08:00
rpmmi-py.c rpmmi-py.h \
rpmii-py.c rpmii-py.h \
2007-09-10 16:45:44 +08:00
rpmps-py.c rpmps-py.h \
rpmmacro-py.c rpmmacro-py.h \
rpmstrpool-py.c rpmstrpool-py.h \
rpmtd-py.c rpmtd-py.h \
2007-09-10 16:45:44 +08:00
rpmte-py.c rpmte-py.h \
rpmts-py.c rpmts-py.h
_rpmb_la_LDFLAGS = -module -avoid-version -shared
_rpmb_la_LIBADD = \
$(top_builddir)/build/librpmbuild.la \
$(top_builddir)/lib/librpm.la \
$(top_builddir)/rpmio/librpmio.la \
@WITH_PYTHON_LIB@
_rpmb_la_SOURCES = rpmbmodule.c rpmsystem-py.h \
2007-09-10 16:45:44 +08:00
spec-py.c spec-py.h
_rpms_la_LDFLAGS = -module -avoid-version -shared
_rpms_la_LIBADD = \
$(top_builddir)/sign/librpmsign.la \
$(top_builddir)/lib/librpm.la \
$(top_builddir)/rpmio/librpmio.la \
@WITH_PYTHON_LIB@
_rpms_la_SOURCES = rpmsmodule.c rpmsystem-py.h