rpm-build/rpmio/Makefile.am

53 lines
1.2 KiB
Makefile
Raw Normal View History

2002-03-25 23:16:26 +03:00
# Makefile for rpm library.
AUTOMAKE_OPTIONS = 1.4 foreign
EXTRA_DIST = tdigest.c tficl.c tkey.c trpmio.c
2009-09-29 14:31:40 +04:00
EXTRA_PROGRAMS = tdigest tkey tring trpmio
2002-03-25 23:16:26 +03:00
2003-11-24 23:44:29 +03:00
INCLUDES = -I. @INCPATH@
2002-03-25 23:16:26 +03:00
pkgincdir = $(pkgincludedir)
pkginc_HEADERS = \
rpmio.h rpmurl.h rpmmacro.h rpmlog.h rpmmessages.h rpmerr.h \
ugid.h
2011-01-05 12:44:16 +03:00
noinst_HEADERS = bsearch.h rpmio_internal.h rpmpgp.h
2002-03-25 23:16:26 +03:00
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
2002-03-25 23:16:26 +03:00
clean-local:
rm -f *.o
2002-03-25 23:16:26 +03:00
tdigest_SOURCES = tdigest.c
2003-11-24 23:44:29 +03:00
tdigest_LDADD = librpmio.la @LIBPOPT@
2002-03-25 23:16:26 +03:00
trpmio_SOURCES = trpmio.c
2003-11-24 23:44:29 +03:00
trpmio_LDADD = librpmio.la @LIBPOPT@
2002-03-25 23:16:26 +03:00
tkey_SOURCES = tkey.c
tkey_LDFLAGS = -all-static
2003-11-24 23:44:29 +03:00
tkey_LDADD = librpmio.la @LIBPOPT@
2002-03-25 23:16:26 +03:00
tring_SOURCES = tring.c
tring_LDFLAGS = -all-static
2003-11-24 23:44:29 +03:00
tring_LDADD = librpmio.la @LIBPOPT@
2002-03-25 23:16:26 +03:00
.PHONY: sources
sources:
@echo $(librpmio_la_SOURCES:%=rpmio/%)
.PHONY: lclint
lclint:
lclint $(DEFS) $(INCLUDES) $(librpmio_la_SOURCES)
tficl.o: tficl.c
$(COMPILE) -I/usr/include/ficl -o $@ -c tficl.c
tficl: tficl.o
$(LINK) -o $@ tficl.o -lficl