Dmitry V. Levin
4134fc39ac
Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') build/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') lib/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') python/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') rpmdb/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') rpmio/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tools/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
# Makefile for rpm library.
|
|
|
|
AUTOMAKE_OPTIONS = 1.4 foreign
|
|
|
|
EXTRA_DIST = tdigest.c tficl.c tkey.c trpmio.c
|
|
|
|
EXTRA_PROGRAMS = tdigest tkey tring trpmio
|
|
|
|
AM_CPPFLAGS = -I. @INCPATH@
|
|
|
|
pkgincdir = $(pkgincludedir)
|
|
pkginc_HEADERS = \
|
|
rpmio.h rpmurl.h rpmmacro.h rpmlog.h rpmmessages.h rpmerr.h \
|
|
ugid.h
|
|
noinst_HEADERS = bsearch.h rpmio_internal.h rpmpgp.h
|
|
|
|
lib_LTLIBRARIES = librpmio.la
|
|
librpmio_la_SOURCES = digest.c macro.c rpmio.c rpmlog.c rpmmalloc.c \
|
|
rpmpgp.c rpmrpc.c strcasecmp.c stubs.c url.c ugid.c
|
|
librpmio_la_LDFLAGS = -release @VERSION@
|
|
librpmio_la_LIBADD = @LIBBEECRYPT@ @LIBBZ2@ @LIBZ@ -llzma
|
|
|
|
clean-local:
|
|
rm -f *.o
|
|
|
|
tdigest_SOURCES = tdigest.c
|
|
tdigest_LDADD = librpmio.la @LIBPOPT@
|
|
|
|
trpmio_SOURCES = trpmio.c
|
|
trpmio_LDADD = librpmio.la @LIBPOPT@
|
|
|
|
tkey_SOURCES = tkey.c
|
|
tkey_LDFLAGS = -all-static
|
|
tkey_LDADD = librpmio.la @LIBPOPT@
|
|
|
|
tring_SOURCES = tring.c
|
|
tring_LDFLAGS = -all-static
|
|
tring_LDADD = librpmio.la @LIBPOPT@
|
|
|
|
.PHONY: sources
|
|
sources:
|
|
@echo $(librpmio_la_SOURCES:%=rpmio/%)
|
|
|
|
.PHONY: lclint
|
|
lclint:
|
|
lclint $(DEFS) $(AM_CPPFLAGS) $(librpmio_la_SOURCES)
|
|
|
|
tficl.o: tficl.c
|
|
$(COMPILE) -I/usr/include/ficl -o $@ -c tficl.c
|
|
|
|
tficl: tficl.o
|
|
$(LINK) -o $@ tficl.o -lficl
|