]>
Commit | Line | Data |
---|---|---|
0579a272 AM |
1 | --- rpm.org/python/Makefile.am 2004-06-14 12:02:25.891768016 +0200 |
2 | +++ rpm/python/Makefile.am 2004-06-14 12:08:23.614385912 +0200 | |
3 | @@ -27,48 +27,35 @@ | |
4 | rpmfi-py.h rpmmi-py.h rpmrc-py.h rpmte-py.h rpmts-py.h spec-py.h | |
a6e513ca AF |
5 | |
6 | mylibs= \ | |
7 | - $(top_builddir)/lib/.libs/librpm.so \ | |
8 | - $(top_builddir)/rpmdb/.libs/librpmdb.so \ | |
9 | - $(top_builddir)/rpmio/.libs/librpmio.so \ | |
10 | - $(top_builddir)/popt/.libs/libpopt.so \ | |
0579a272 | 11 | - $(top_builddir)/build/.libs/librpmbuild.so \ |
012a8819 AM |
12 | + $(top_builddir)/lib/librpm.la \ |
13 | + $(top_builddir)/rpmdb/librpmdb.la \ | |
14 | + $(top_builddir)/rpmio/librpmio.la \ | |
0579a272 | 15 | + $(top_builddir)/build/librpmbuild.la \ |
012a8819 AM |
16 | + -lbeecrypt \ |
17 | + -lpopt \ | |
a6e513ca AF |
18 | @WITH_LIBELF_LIB@ |
19 | ||
20 | LDADD = | |
21 | ||
22 | pythondir = $(pylibdir)/site-packages | |
23 | -python_PROGRAMS = rpmmodule.so | |
13e787b0 | 24 | +python_LTLIBRARIES = rpmmodule.la poptmodule.la |
a6e513ca AF |
25 | |
26 | rpmdbdir = $(pylibdir)/site-packages/rpmdb | |
27 | -rpmdb_PROGRAMS = _rpmdb.so | |
28 | +rpmdb_LTLIBRARIES = _rpmdb.la | |
29 | ||
30 | -noinst_PROGRAMS = poptmodule.so | |
012a8819 AM |
31 | +rpmmodule_la_LDFLAGS = $(mylibs) $(LIBS) -module -avoid-version |
32 | +rpmmodule_la_LIBADD = @WITH_BEECRYPT_LIB@ | |
a95c6108 AF |
33 | |
34 | -rpmmodule_so_SOURCES = | |
012a8819 | 35 | -rpmmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,rpmmodule.so |
77a0fe7f AF |
36 | -rpmmodule_so_LDADD = @WITH_BEECRYPT_LIB@ |
37 | +_rpmdb_la_SOURCES = _rpmdb.c | |
38 | +_rpmdb_la_LDFLAGS = $(mylibs) $(LIBS) -module -avoid-version | |
a6e513ca | 39 | |
a95c6108 AF |
40 | -_rpmdb_so_SOURCES = _rpmdb.c |
41 | -_rpmdb_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,_rpmdb.so | |
0579a272 | 42 | - |
a95c6108 AF |
43 | -poptmodule_so_SOURCES = poptmodule.c |
44 | -poptmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,poptmodule.so | |
45 | - | |
46 | -noinst_LTLIBRARIES = librpmmodule.la | |
47 | -librpmmodule_la_SOURCES = rpmmodule.c header-py.c \ | |
0579a272 AM |
48 | - rpmal-py.c rpmds-py.c rpmdb-py.c rpmfd-py.c rpmfts-py.c \ |
49 | - rpmfi-py.c rpmmi-py.c rpmrc-py.c rpmte-py.c rpmts-py.c spec-py.c | |
012a8819 | 50 | -librpmmodule_OBJECTS = $(subst .c,.o,$(librpmmodule_la_SOURCES)) |
a6e513ca | 51 | - |
012a8819 AM |
52 | -rpmmodule.so$(EXEEXT): librpmmodule.la |
53 | - $(CC) -o $@ $(librpmmodule_OBJECTS) $(rpmmodule_so_LDFLAGS) | |
a6e513ca | 54 | - |
012a8819 AM |
55 | -_rpmdb.so$(EXEEXT): _rpmdb.o |
56 | - $(CC) -o $@ _rpmdb.o $(_rpmdb_so_LDFLAGS) | |
77a0fe7f | 57 | - |
012a8819 AM |
58 | -poptmodule.so$(EXEEXT): poptmodule.o |
59 | - $(CC) -o $@ poptmodule.o $(poptmodule_so_LDFLAGS) | |
0579a272 AM |
60 | +poptmodule_la_SOURCES = poptmodule.c |
61 | +poptmodule_la_LDFLAGS = $(mylibs) $(LIBS) -module -avoid-version | |
012a8819 | 62 | |
0579a272 AM |
63 | +rpmmodule_la_SOURCES = rpmmodule.c header-py.c \ |
64 | + rpmal-py.c rpmds-py.c rpmdb-py.c rpmfd-py.c rpmfts-py.c \ | |
e1845b71 | 65 | + rpmfi-py.c rpmmi-py.c rpmrc-py.c rpmte-py.c rpmts-py.c spec-py.c |
0579a272 | 66 | + |
a6e513ca AF |
67 | # rpmmodule.c header-py.c \ |
68 | # rpmal-py.c rpmds-py.c rpmdb-py.c rpmfd-py.c rpmfi-py.c rpmmi-py.c \ | |
0579a272 | 69 | # rpmrc-py.c rpmte-py.c rpmts-py.c |