Fixed missing or broken library dependencies.

This commit is contained in:
Ruslan Ermilov 2010-02-25 14:42:26 +00:00
parent a6d8ff1d6d
commit 9fd69f37d2
27 changed files with 39 additions and 29 deletions

View File

@ -135,6 +135,8 @@ LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a
LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a
LIBROKEN?= ${DESTDIR}${LIBDIR}/libroken.a
LIBRPCSVC?= ${DESTDIR}${LIBDIR}/librpcsvc.a
LIBRPCSEC_GSS?= ${DESTDIR}${LIBDIR}/librpcsec_gss.a
LIBRT?= ${DESTDIR}${LIBDIR}/librt.a
LIBSBUF?= ${DESTDIR}${LIBDIR}/libsbuf.a
LIBSDP?= ${DESTDIR}${LIBDIR}/libsdp.a
LIBSMB?= ${DESTDIR}${LIBDIR}/libsmb.a

View File

@ -3,7 +3,7 @@
PROG= closefrom
MAN=
WARNS?= 6
DPADD= ${LIBUTIL}
LDADD= -lutil
.include <bsd.prog.mk>

View File

@ -3,7 +3,7 @@
PROG= flock
NO_MAN=
WARNS?= 6
LDADD+= -lpthread
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
.include <bsd.prog.mk>

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG= gaithrstress
LDADD+= -pthread
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
NO_MAN=
.include <bsd.prog.mk>

View File

@ -3,6 +3,7 @@
PROG= gsstest
NO_MAN=
WARNS?= 2
DPADD= ${LIBGSSAPI} ${LIBGSSAPI_KRB5}
LDADD= -lgssapi -lgssapi_krb5
DEBUG_FLAGS= -g -O0

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG=mqtest1
LDADD+=-lrt
DPADD= ${LIBRT}
LDADD= -lrt
NO_MAN=
DEBUG_FLAGS=-g

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG=mqtest2
LDADD+=-lrt
DPADD= ${LIBRT}
LDADD= -lrt
NO_MAN=
DEBUG_FLAGS=-g

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG=mqtest3
LDADD+=-lrt
DPADD= ${LIBRT}
LDADD= -lrt
NO_MAN=
DEBUG_FLAGS=-g

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG=mqtest4
LDADD+=-lrt
DPADD= ${LIBRT}
LDADD= -lrt
NO_MAN=
DEBUG_FLAGS=-g

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG=mqtest5
LDADD+=-lrt
DPADD= ${LIBRT}
LDADD= -lrt
NO_MAN=
DEBUG_FLAGS=-g

View File

@ -5,7 +5,7 @@
PROG= ipxdgramloopback
NO_MAN=
DPADD= ${LIBIPX};
DPADD= ${LIBIPX}
LDADD= -lipx
WARNS?= 3

View File

@ -5,7 +5,7 @@
PROG= spxabort
NO_MAN=
DPADD= ${LIBIPX};
DPADD= ${LIBIPX}
LDADD= -lipx
WARNS?= 3

View File

@ -5,7 +5,7 @@
PROG= spxloopback
NO_MAN=
DPADD= ${LIBIPX};
DPADD= ${LIBIPX}
LDADD= -lipx
WARNS?= 3

View File

@ -2,7 +2,7 @@
PROG= cv_cancel1
NO_MAN=
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
.include <bsd.prog.mk>

View File

@ -2,7 +2,7 @@
PROG= mutex_isowned_np
NO_MAN=
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
.include <bsd.prog.mk>

View File

@ -3,6 +3,7 @@
PROG= rpctest
NO_MAN=
WARNS?= 6
DPADD= ${LIBRPCSEC_GSS}
LDADD= -lrpcsec_gss
DEBUG_FLAGS= -g -O0

View File

@ -1,7 +1,6 @@
# $FreeBSD$
PROG=sigqtest1
LDADD+=
NO_MAN=
DEBUG_FLAGS=-g

View File

@ -1,7 +1,6 @@
# $FreeBSD$
PROG=sigqtest2
LDADD+=
NO_MAN=
DEBUG_FLAGS=-g

View File

@ -5,6 +5,7 @@
PROG= sendfile
NO_MAN=
WARNS?= 6
LDADD = -lmd
DPADD= ${LIBMD}
LDADD= -lmd
.include <bsd.prog.mk>

View File

@ -1,7 +1,6 @@
# $FreeBSD$
LIB= xx
SHLIB_MAJOR= 1
SHLIB_NAME= libxx.so
SRCS= xx.c
#CFLAGS+=-mtls-dialect=sun

View File

@ -1,7 +1,6 @@
# $FreeBSD$
LIB= yy
SHLIB_MAJOR= 1
SHLIB_NAME= libyy.so
SRCS= yy.c
CFLAGS+=-fpic

View File

@ -1,8 +1,8 @@
# $FreeBSD$
PROG= ttls1
LDADD+= -L../libxx -lxx -Wl,--rpath=${.OBJDIR}/../libxx
LDADD+= -L../libyy -lyy -Wl,--rpath=${.OBJDIR}/../libyy
LDFLAGS+= -L../libxx -lxx -Wl,--rpath=${.OBJDIR}/../libxx
LDFLAGS+= -L../libyy -lyy -Wl,--rpath=${.OBJDIR}/../libyy
NO_MAN=
DEBUG_FLAGS= -g

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG= ttls2
LDADD+= -lpthread
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
NO_MAN=
DEBUG_FLAGS= -g

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PROG= ttls4
LDADD+= -lpthread
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
NO_MAN=
DEBUG_FLAGS= -g

View File

@ -4,7 +4,7 @@
# A Makefile that builds both the ether_reflect program and its manual page.
PROG= ether_reflect
LDADD+= -lpcap
DPADD= ${LIBPCAP}
LDADD= -lpcap
.include <bsd.prog.mk>

View File

@ -2,7 +2,7 @@
PROG= stumbler
BINDIR= /usr/local/bin
DPADD= ${LIBPCAP}
DPADD= ${LIBPCAP} ${LIBNCURSES}
LDADD= -lpcap -lncurses
CFLAGS=-g
NO_MAN=

View File

@ -3,7 +3,8 @@
W00T= ../libw00t
# NB: we get crc32 from -lz
DPADD= ${W00T}/libw00t.a ${LIBCRYPTO} ${LIBZ}
LDADD= -L${W00T} -lw00t -lcrypto -lz
LDFLAGS= -L${W00T}
LDADD= -lw00t -lcrypto -lz
BINDIR= /usr/local/bin
CFLAGS= -g -I${W00T}