Revision 17931,
1.2 KB
checked in by ghudson, 22 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r17930,
which included commits to RCS files with non-trunk default branches.
|
Rev | Line | |
---|
[17930] | 1 | # Makefile for rpm library. |
---|
| 2 | |
---|
| 3 | AUTOMAKE_OPTIONS = 1.4 foreign |
---|
| 4 | |
---|
| 5 | PYVER= @WITH_PYTHON_VERSION@ |
---|
| 6 | |
---|
| 7 | INCLUDES = \ |
---|
| 8 | -I$(top_srcdir) \ |
---|
| 9 | -I$(top_srcdir)/lib \ |
---|
| 10 | -I$(top_srcdir)/rpmdb \ |
---|
| 11 | -I$(top_srcdir)/rpmio \ |
---|
| 12 | -I$(top_srcdir)/beecrypt \ |
---|
| 13 | -I$(top_srcdir)/popt \ |
---|
| 14 | -I/usr/include/python${PYVER} \ |
---|
| 15 | @INCPATH@ |
---|
| 16 | |
---|
| 17 | EXTRA_DIST = hash.h upgrade.h |
---|
| 18 | mylibs= \ |
---|
| 19 | $(top_builddir)/lib/librpm.la \ |
---|
| 20 | $(top_builddir)/rpmdb/librpmdb.la \ |
---|
| 21 | $(top_builddir)/rpmio/librpmio.la \ |
---|
| 22 | $(top_builddir)/popt/libpopt.la |
---|
| 23 | |
---|
| 24 | LDADD = |
---|
| 25 | |
---|
| 26 | pythondir = $(prefix)/lib/python${PYVER}/site-packages |
---|
| 27 | python_PROGRAMS = rpmmodule.so poptmodule.so |
---|
| 28 | |
---|
| 29 | rpmmodule_so_SOURCES = |
---|
| 30 | rpmmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,rpmmodule.so |
---|
| 31 | poptmodule_so_SOURCES = poptmodule.c |
---|
| 32 | poptmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,poptmodule.so |
---|
| 33 | |
---|
| 34 | noinst_LTLIBRARIES = librpmmodule.la |
---|
| 35 | librpmmodule_la_SOURCES = rpmmodule.c hash.c upgrade.c |
---|
| 36 | |
---|
| 37 | rpmmodule.so: $(librpmmodule_la_OBJECTS) |
---|
| 38 | $(LINK) -o $@ $(librpmmodule_la_OBJECTS) $(rpmmodule_so_LDFLAGS) |
---|
| 39 | |
---|
| 40 | poptmodule.so: $(poptmodule_so_OBJECTS) |
---|
| 41 | $(LINK) -o $@ $(poptmodule_so_OBJECTS) $(poptmodule_so_LDFLAGS) |
---|
| 42 | |
---|
| 43 | .PHONY: lclint |
---|
| 44 | lclint: |
---|
| 45 | lclint $(DEFS) $(INCLUDES) $(librpmmodule_la_SOURCES) |
---|
Note: See
TracBrowser
for help on using the repository browser.