More splint fiddles.

CVS patchset: 5908
CVS date: 2002/11/30 22:15:29
This commit is contained in:
jbj 2002-11-30 22:15:29 +00:00
parent bd00220d41
commit 760d3a0c8b
7 changed files with 21 additions and 15 deletions

View File

@ -26,7 +26,7 @@ INCLUDES = \
@WITH_LIBELF_INCLUDE@ \
@INCPATH@
myLDFLAGS = @LDFLAGS_STATIC@
myLDFLAGS = # @LDFLAGS_STATIC@
# XXX libtool can/should generate dependent libs.
# XXX solaris2.6 cannot use *.la with --all-static (downrev binutils/egcs?)

View File

@ -1,4 +1,4 @@
-I. -I.. -I../build -I../rpmdb -I../rpmio -I../beecrypt -I../popt -DHAVE_CONFIG_H -D_GNU_SOURCE
-I. -I.. -I../build -I../rpmdb -I../rpmio -I../beecrypt -I../popt -I../elfutils/libelf -DHAVE_CONFIG_H -D_GNU_SOURCE
+partial
+forcehints

View File

@ -2,6 +2,8 @@
AUTOMAKE_OPTIONS = 1.4 foreign
LINT = splint
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(top_srcdir)/build \
@ -25,7 +27,7 @@ mylibpaths = \
-L$(top_builddir)/rpmio \
-L$(top_builddir)/popt
mylibs = -lrpm -lrpmdb -lrpmio -lpopt @LIBS@ @INTLLIBS@ @LIBMISC@
mylibs = -lrpm -lrpmdb -lrpmio -lpopt @WITH_LIBELF_LIB@ @LIBS@ @INTLLIBS@ @LIBMISC@
LIBS =
lib_LTLIBRARIES = librpm.la
@ -83,9 +85,9 @@ rpmlib.lcd: Makefile.am ${librpm_la_SOURCES} ${pkginc_HEADERS} ${noinst_HEADERS}
sources:
@echo $(librpm_la_SOURCES:%=lib/%)
.PHONY: lclint
lclint:
lclint $(DEFS) $(INCLUDES) $(librpm_la_SOURCES)
.PHONY: lint
lint:
$(LINT) $(DEFS) $(INCLUDES) $(librpm_la_SOURCES)
th: th.c librpm.la
$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) -o $@ $< $(mylibpaths) $(mylibs) $(LIBS)

View File

@ -1,4 +1,4 @@
-I. -I.. -I../build -I../lib -I../rpmio -I../beecrypt -I../popt -DHAVE_CONFIG_H -D_GNU_SOURCE
-I. -I.. -I../build -I../lib -I../rpmio -I../beecrypt -I../popt -I../elfutils/libelf -DHAVE_CONFIG_H -D_GNU_SOURCE
+partial
+forcehints

View File

@ -2,6 +2,8 @@
AUTOMAKE_OPTIONS = 1.4 foreign
LINT = splint
INCLUDES = -I. \
-I$(top_srcdir)/build \
-I$(top_srcdir)/lib \
@ -28,7 +30,7 @@ mylibpaths = \
-L$(top_builddir)/rpmio \
-L$(top_builddir)/popt
mylibs = -lrpm -lrpmio -lpopt @LIBS@ @INTLLIBS@ @LIBMISC@
mylibs = -lrpm -lrpmio -lpopt @WITH_LIBELF_LIB@ @LIBS@ @INTLLIBS@ @LIBMISC@
LIBS =
DB3LOBJS = $(shell cat $(top_builddir)/$(WITH_DB_SUBDIR)/db3lobjs)
@ -40,7 +42,7 @@ librpmdb_la_SOURCES = \
poptDB.c rpmhash.c rpmdb.c \
tagname.c tagtbl.c
librpmdb_la_LDFLAGS = -release @VERSION@ @libdb3@
librpmdb_la_LIBADD = $(DBLIBOBJS) $(DB3LOBJS) @WITH_LIBELF_LIB@
librpmdb_la_LIBADD = $(DBLIBOBJS) $(DB3LOBJS)
librpmdb_la_DEPENDENCIES = $(DBLIBOBJS) .created
# XXX make sure that db.h symlink is generated
@ -92,9 +94,9 @@ rpmdb.lcd: Makefile.am ${librpmdb_la_SOURCES} ${pkginc_HEADERS} ${noinst_HEADERS
sources:
@echo $(librpmdb_la_SOURCES:%=rpmdb/%)
.PHONY: lclint
lclint:
lclint $(DEFS) $(INCLUDES) $(librpmdb_la_SOURCES)
.PHONY: lint
lint:
$(LINT) $(DEFS) $(INCLUDES) $(librpmdb_la_SOURCES)
tdbi: librpmdb.la tdbi.o
$(LINK) -all-static $@.o $< $(mylibpaths) $(mylibs) $(LIBS)

View File

@ -2,6 +2,8 @@
AUTOMAKE_OPTIONS = 1.4 foreign
LINT = splint
EXTRA_DIST = tdigest.c tdir.c tficl.c tfts.c tglob.c tinv.c tkey.c trpmio.c
EXTRA_PROGRAMS = tdigest tdir tfts tglob tinv tkey tring trpmio dumpasn1
@ -55,9 +57,9 @@ rpmio.lcd: Makefile.am ${librpmio_la_SOURCES} ${pkginc_HEADERS} ${noinst_HEADERS
sources:
@echo $(librpmio_la_SOURCES:%=rpmio/%)
.PHONY: lclint
lclint:
lclint $(DEFS) $(INCLUDES) $(librpmio_la_SOURCES)
.PHONY: lint
lint:
$(LINT) $(DEFS) $(INCLUDES) $(librpmio_la_SOURCES)
tdigest_SOURCES = tdigest.c
tdigest_LDADD = librpmio.la $(top_builddir)/popt/libpopt.la