2005-06-20 Ken Raeburn <raeburn@mit.edu>
+ * Makefile.in (KDB_DEP_LIB): Use DL_LIB and THREAD_LINKOPTS
+ instead of explicitly using -ldl and -lpthread.
+
Novell merge.
* Makefile.in:
* kadmin.c:
BUILDTOP=$(REL)..$(S)..
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
-KDB_DEP_LIB=-ldl -lpthread
+KDB_DEP_LIB=$(DL_LIB) $(THREAD_LINKOPTS)
PROG = kadmin
OBJS = kadmin.o kadmin_ct.o ss_wrapper.o getdate.o keytab.o
2005-06-20 Ken Raeburn <raeburn@mit.edu>
+ * Makefile.in (KDB_DEP_LIB): Use DL_LIB and THREAD_LINKOPTS
+ instead of explicitly using -ldl and -lpthread.
+
Novell merge.
* Makefile.in:
* dump.c:
LOCALINCLUDES = -I. @KRB4_INCLUDES@
PROG_LIBPATH=-L$(TOPLIBD) $(KRB4_LIBPATH)
PROG_RPATH=$(KRB5_LIBDIR)
-KDB_DEP_LIB=-ldl -lpthread
+KDB_DEP_LIB=$(DL_LIB) $(THREAD_LINKOPTS)
PROG = kdb5_util
###OBJS = kdb5_util.o dump.o dumpv4.o loadv4.o \
2005-06-20 Ken Raeburn <raeburn@mit.edu>
+ * Makefile.in (KDB_DEP_LIB): Use DL_LIB and THREAD_LINKOPTS
+ instead of explicitly using -ldl and -lpthread.
+
Novell merge.
* Makefile.in:
* misc.c:
myfulldir=kadmin/server
mydir=server
BUILDTOP=$(REL)..$(S)..
-KDB_DEP_LIB=-ldl -lpthread
+KDB_DEP_LIB=$(DL_LIB) $(THREAD_LINKOPTS)
LOCALINCLUDES = -I$(SRCTOP)/lib/gssapi/generic -I$(SRCTOP)/lib/gssapi/krb5 \
-I$(BUILDTOP)/lib/gssapi/generic -I$(BUILDTOP)/lib/gssapi/krb5
2005-06-20 Ken Raeburn <raeburn@mit.edu>
+ * Makefile.in (KDB_DEP_LIB): Use THREAD_LINKOPTS instead of
+ explicitly using -lpthread.
+
Novell merge.
* Makefile.in:
* tcl_kadm5.c:
# Force Tcl headers to use stdarg.h, because krb5 does too, and if
# Tcl uses varargs.h it'll just mess things up.
DEFINES= -DHAS_STDARG
-KRB5_PTHREAD_LIB=-lpthread
+KRB5_PTHREAD_LIB=$(THREAD_LINKOPTS)
PROG_LIBPATH=-L$(TOPLIBD) $(TCL_LIBPATH)
PROG_RPATH=$(KRB5_LIBDIR)$(TCL_RPATH)
2005-06-20 Ken Raeburn <raeburn@mit.edu>
+ * Makefile.in (KDB_DEP_LIB): Use DL_LIB and THREAD_LINKOPTS
+ instead of explicitly using -ldl and -lpthread.
+
Novell merge.
* Makefile.in:
* main.c:
DEFINES = # -DNOCACHE
RUN_SETUP = @KRB5_RUN_ENV@
PROG_LIBPATH=-L$(TOPLIBD) $(KRB4_LIBPATH)
-KDB5_LIB_DEPS=-ldl -lpthread
+KDB5_LIB_DEPS=$(DL_LIB) $(THREAD_LINKOPTS)
PROG_RPATH=$(KRB5_LIBDIR)
FAKEKA=@FAKEKA@
2005-06-20 Ken Raeburn <raeburn@mit.edu>
+ * Makefile.in (KDB_DEP_LIB): Use DL_LIB and THREAD_LINKOPTS
+ instead of explicitly using -ldl and -lpthread.
+
Novell merge.
* Makefile.in:
* krb524d.c:
myfulldir=krb524
mydir=krb524
BUILDTOP=$(REL)..
-KDB_DEP_LIB=-ldl -lpthread
+KDB_DEP_LIB=$(DL_LIB) $(THREAD_LINKOPTS)
# Copyright 1994 by OpenVision Technologies, Inc.
#
2005-06-20 Ken Raeburn <raeburn@mit.edu>
+ * Makefile.in (KDB_DEP_LIB): Use DL_LIB and THREAD_LINKOPTS
+ instead of explicitly using -ldl and -lpthread.
+
Novell merge.
* Makefile.in:
* destroy-test.c:
DEFINES = -DUSE_KADM5_API_VERSION=1
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
-KDB_DEP_LIB=-ldl -lpthread
+KDB_DEP_LIB=$(DL_LIB) $(THREAD_LINKOPTS)
all:: init-test destroy-test client-handle-test client-iter-test
all:: randkey-test server-handle-test lock-test server-iter-test
2005-06-20 Ken Raeburn <raeburn@mit.edu>
+ * Makefile.in (KDB5_DEP_LIB): Use DL_LIB and THREAD_LINKOPTS
+ instead of explicitly using -ldl and -lpthread.
+
Novell merge.
* Makefile.in:
* kdb5_mkdums.c:
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
SRCS=$(srcdir)/kdb5_mkdums.c
-KDB5_DEP_LIBS=-lpthread -ldl
+KDB5_DEP_LIBS=$(THREAD_LINKOPTS) $(DL_LIB)
all:: kdb5_mkdums
+2005-06-20 Ken Raeburn <raeburn@mit.edu>
+
+ * Makefile.in (gss-client, gss-server): Use THREAD_LINKOPTS
+ instead of PTHREAD_LIBS.
+
2005-03-25 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (all-unix): Use @THREAD_SUPPORT@ and helper targets
all-windows:: $(OUTPRE)gss-server.exe $(OUTPRE)gss-client.exe
gss-server: gss-server.o gss-misc.o $(GSS_DEPLIBS) $(KRB5_BASE_DEPLIBS)
- $(CC_LINK) $(PTHREAD_CFLAGS) -o gss-server gss-server.o gss-misc.o $(GSS_LIBS) $(KRB5_BASE_LIBS) $(PTHREAD_LIBS)
+ $(CC_LINK) $(PTHREAD_CFLAGS) -o gss-server gss-server.o gss-misc.o $(GSS_LIBS) $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS)
gss-client: gss-client.o gss-misc.o $(GSS_DEPLIBS) $(KRB5_BASE_DEPLIBS)
- $(CC_LINK) $(PTHREAD_CFLAGS) -o gss-client gss-client.o gss-misc.o $(GSS_LIBS) $(KRB5_BASE_LIBS) $(PTHREAD_LIBS)
+ $(CC_LINK) $(PTHREAD_CFLAGS) -o gss-client gss-client.o gss-misc.o $(GSS_LIBS) $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS)
$(OUTPRE)gss-server.exe: $(OUTPRE)gss-server.obj $(OUTPRE)gss-misc.obj $(GLIB) $(KLIB)
link $(EXE_LINKOPTS) -out:$@ $** ws2_32.lib
+2005-06-20 Ken Raeburn <raeburn@mit.edu>
+
+ * Makefile.in (t_loader): Use DL_LIB instead of -ldl.
+
2005-02-08 Ken Raeburn <raeburn@mit.edu>
* t_loader.c (verbose): New variable.
$(RUN_SETUP) $(VALGRIND) $(VALGRINDFLAGS) ./t_loader
t_loader: t_loader.o
- $(CC_LINK) -o t_loader t_loader.o -ldl
+ $(CC_LINK) -o t_loader t_loader.o $(DL_LIB)
check-unix::
+2005-06-20 Ken Raeburn <raeburn@mit.edu>
+
+ * Makefile.in (t_rcache, prof1): Use THREAD_LINKOPTS instead of
+ -lpthread.
+
2004-12-12 Ken Raeburn <raeburn@mit.edu>
* prof1.c: New file.
$(RUN_SETUP) ./t_rcache -n $(N)
t_rcache: t_rcache.o $(KRB5_BASE_DEPLIBS)
- $(CC_LINK) -o t_rcache t_rcache.o $(KRB5_BASE_LIBS) -lpthread
+ $(CC_LINK) -o t_rcache t_rcache.o $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS)
syms: syms.o
$(CC_LINK) -o syms syms.o
$(RUN_SETUP) ./syms
prof1: prof1.o $(KRB5_BASE_DEPLIBS)
- $(CC_LINK) -o prof1 prof1.o $(KRB5_BASE_LIBS) -lpthread
+ $(CC_LINK) -o prof1 prof1.o $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS)
prof1.o: prof1.c
2005-06-20 Ken Raeburn <raeburn@mit.edu>
+ * Makefile.in (KDB5_DEP_LIB): Use DL_LIB and THREAD_LINKOPTS
+ instead of explicitly using -ldl and -lpthread.
+
Novell merge.
* Makefile.in:
* kdb5_verify.c:
BUILDTOP=$(REL)..$(S)..
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
-KDB5_DEP_LIB=-lpthread -ldl
+KDB5_DEP_LIB=$(THREAD_LINKOPTS) $(DL_LIB)
SRCS=$(srcdir)/kdb5_verify.c