summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-05-25 17:15:20 +0000
committerjbj <devnull@localhost>2002-05-25 17:15:20 +0000
commit3067a2c91dc0e85acab883e3fccc5caf15247d89 (patch)
tree0590d6d86449d198109fda8de63f8a1349d385a6 /python
parent4f1bba10aa4a9463b068aff002e7c8ffd36f21c1 (diff)
downloadrpm-3067a2c91dc0e85acab883e3fccc5caf15247d89.tar.gz
rpm-3067a2c91dc0e85acab883e3fccc5caf15247d89.tar.bz2
rpm-3067a2c91dc0e85acab883e3fccc5caf15247d89.zip
- re-enable rpm-python sub-package.
- fix: resurrect "()(64bit)" markings using objdump. CVS patchset: 5448 CVS date: 2002/05/25 17:15:20
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am15
-rw-r--r--python/Makefile.in22
2 files changed, 21 insertions, 16 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index ae52c4e58..0f00575e3 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -13,13 +13,14 @@ INCLUDES = -I. \
-I/usr/include/python${PYVER} \
@INCPATH@
-EXTRA_DIST = db-py.h hash.h header-py.h upgrade.h
+noinst_HEADERS = \
+ db-py.h hash.h header-py.h rpmds-py.h rpmfi-py.h rpmts-py.h upgrade.h
mylibs= \
- $(top_builddir)/lib/librpm.la \
- $(top_builddir)/rpmdb/librpmdb.la \
- $(top_builddir)/rpmio/librpmio.la \
- $(top_builddir)/popt/libpopt.la
+ $(top_builddir)/lib/.libs/librpm.so \
+ $(top_builddir)/rpmdb/.libs/librpmdb.so \
+ $(top_builddir)/rpmio/.libs/librpmio.so \
+ $(top_builddir)/popt/.libs/libpopt.so
LDADD =
@@ -37,10 +38,10 @@ librpmmodule_la_SOURCES = rpmmodule.c hash.c upgrade.c \
db-py.c header-py.c rpmds-py.c rpmfi-py.c rpmts-py.c
rpmmodule.so$(EXEEXT): $(librpmmodule_la_OBJECTS)
- $(LINK) -o $@ $(librpmmodule_la_OBJECTS) $(rpmmodule_so_LDFLAGS)
+ $(CC) -o $@ $(librpmmodule_la_OBJECTS) $(rpmmodule_so_LDFLAGS)
poptmodule.so$(EXEEXT): $(poptmodule_so_OBJECTS)
- $(LINK) -o $@ $(poptmodule_so_OBJECTS) $(poptmodule_so_LDFLAGS)
+ $(CC) -o $@ $(poptmodule_so_OBJECTS) $(poptmodule_so_LDFLAGS)
.PHONY: lclint
lclint:
diff --git a/python/Makefile.in b/python/Makefile.in
index 446fb3cd9..5d724d5ac 100644
--- a/python/Makefile.in
+++ b/python/Makefile.in
@@ -208,13 +208,15 @@ INCLUDES = -I. \
@INCPATH@
-EXTRA_DIST = db-py.h hash.h header-py.h upgrade.h
+noinst_HEADERS = \
+ db-py.h hash.h header-py.h rpmds-py.h rpmfi-py.h rpmts-py.h upgrade.h
+
mylibs = \
- $(top_builddir)/lib/librpm.la \
- $(top_builddir)/rpmdb/librpmdb.la \
- $(top_builddir)/rpmio/librpmio.la \
- $(top_builddir)/popt/libpopt.la
+ $(top_builddir)/lib/.libs/librpm.so \
+ $(top_builddir)/rpmdb/.libs/librpmdb.so \
+ $(top_builddir)/rpmio/.libs/librpmio.so \
+ $(top_builddir)/popt/.libs/libpopt.so
LDADD =
@@ -277,7 +279,9 @@ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
CFLAGS = @CFLAGS@
DIST_SOURCES = $(librpmmodule_la_SOURCES) $(poptmodule_so_SOURCES) \
$(rpmmodule_so_SOURCES)
-DIST_COMMON = ChangeLog Makefile.am Makefile.in
+HEADERS = $(noinst_HEADERS)
+
+DIST_COMMON = $(noinst_HEADERS) ChangeLog Makefile.am Makefile.in
SOURCES = $(librpmmodule_la_SOURCES) $(poptmodule_so_SOURCES) $(rpmmodule_so_SOURCES)
all: all-am
@@ -433,7 +437,7 @@ distdir: $(DISTFILES)
done
check-am: all-am
check: check-am
-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS)
+all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
installdirs:
$(mkinstalldirs) $(DESTDIR)$(pythondir)
@@ -515,10 +519,10 @@ uninstall-am: uninstall-info-am uninstall-pythonPROGRAMS
rpmmodule.so$(EXEEXT): $(librpmmodule_la_OBJECTS)
- $(LINK) -o $@ $(librpmmodule_la_OBJECTS) $(rpmmodule_so_LDFLAGS)
+ $(CC) -o $@ $(librpmmodule_la_OBJECTS) $(rpmmodule_so_LDFLAGS)
poptmodule.so$(EXEEXT): $(poptmodule_so_OBJECTS)
- $(LINK) -o $@ $(poptmodule_so_OBJECTS) $(poptmodule_so_LDFLAGS)
+ $(CC) -o $@ $(poptmodule_so_OBJECTS) $(poptmodule_so_LDFLAGS)
.PHONY: lclint
lclint: