summaryrefslogtreecommitdiff
path: root/python/Makefile.am
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-11-23 19:50:52 +0000
committerjbj <devnull@localhost>2003-11-23 19:50:52 +0000
commit3dcfeb3f9aaf003f29d2c8c0c3a545953f529c08 (patch)
treea78f3112c1c5b7b5c8cd2ce4307056c3db758c35 /python/Makefile.am
parentfda9ddca9bcd46cefc145c14cfd901906600c9d2 (diff)
downloadlibrpm-tizen-3dcfeb3f9aaf003f29d2c8c0c3a545953f529c08.tar.gz
librpm-tizen-3dcfeb3f9aaf003f29d2c8c0c3a545953f529c08.tar.bz2
librpm-tizen-3dcfeb3f9aaf003f29d2c8c0c3a545953f529c08.zip
Merge changes from rpm-4.2.1 development.
CVS patchset: 6959 CVS date: 2003/11/23 19:50:52
Diffstat (limited to 'python/Makefile.am')
-rw-r--r--python/Makefile.am20
1 files changed, 9 insertions, 11 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 0a6f43cc1..999321368 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -9,7 +9,7 @@ PYVER= @WITH_PYTHON_VERSION@
pylibdir = $(shell python -c 'import sys; print sys.path[1]')
pyincdir = $(prefix)/include/python${PYVER}
-SUBDIRS = rpmdb mpw
+SUBDIRS = rpmdb
EXTRA_DIST = rpmdebug-py.c
@@ -24,7 +24,6 @@ INCLUDES = -I. \
@INCPATH@
noinst_HEADERS = header-py.h \
- rpmbc-py.h rpmmpw-py.h rpmrng-py.h \
rpmal-py.h rpmds-py.h rpmdb-py.h rpmfd-py.h rpmfts-py.h \
rpmfi-py.h rpmmi-py.h rpmrc-py.h rpmte-py.h rpmts-py.h
@@ -46,7 +45,7 @@ rpmdb_PROGRAMS = _rpmdb.so
noinst_PROGRAMS = poptmodule.so
rpmmodule_so_SOURCES =
-rpmmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,rpmmodule.so
+rpmmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,rpmmodule.so
rpmmodule_so_LDADD = @WITH_BEECRYPT_LIB@
_rpmdb_so_SOURCES = _rpmdb.c
@@ -57,25 +56,24 @@ poptmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,poptmodule.so
noinst_LTLIBRARIES = librpmmodule.la
librpmmodule_la_SOURCES = rpmmodule.c header-py.c \
- rpmbc-py.c rpmmpw-py.c rpmrng-py.c \
rpmal-py.c rpmds-py.c rpmdb-py.c rpmfd-py.c rpmfts-py.c \
rpmfi-py.c rpmmi-py.c rpmrc-py.c rpmte-py.c rpmts-py.c
+librpmmodule_OBJECTS = $(subst .c,.o,$(librpmmodule_la_SOURCES))
-rpmmodule.so$(EXEEXT): $(librpmmodule_la_OBJECTS)
- $(CC) -o $@ $(librpmmodule_la_OBJECTS) $(rpmmodule_so_LDFLAGS)
+rpmmodule.so$(EXEEXT): librpmmodule.la
+ $(CC) -o $@ $(librpmmodule_OBJECTS) $(rpmmodule_so_LDFLAGS)
-_rpmdb.so$(EXEEXT): _rpmdb.lo
- $(CC) -o $@ _rpmdb.lo $(_rpmdb_so_LDFLAGS)
+_rpmdb.so$(EXEEXT): _rpmdb.o
+ $(CC) -o $@ _rpmdb.o $(_rpmdb_so_LDFLAGS)
-poptmodule.so$(EXEEXT): poptmodule.lo
- $(CC) -o $@ poptmodule.lo $(poptmodule_so_LDFLAGS)
+poptmodule.so$(EXEEXT): poptmodule.o
+ $(CC) -o $@ poptmodule.o $(poptmodule_so_LDFLAGS)
# rpmmodule.c header-py.c \
# rpmal-py.c rpmds-py.c rpmdb-py.c rpmfd-py.c rpmfi-py.c rpmmi-py.c \
# rpmrc-py.c rpmte-py.c rpmts-py.c
# rpmmodule.c header-py.c
splint_srcs = \
- rpmbc-py.c rpmmpw-py.c rpmrng-py.c \
rpmal-py.c rpmds-py.c rpmdb-py.c rpmfd-py.c rpmfts-py.c \
rpmfi-py.c rpmmi-py.c rpmrc-py.c rpmte-py.c rpmts-py.c