Permalink
Browse files

Update to new program build procedure.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/libhack_branch@9830 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information...
1 parent 9ada473 commit e182eeae51cd5dbf24bff974575c84a7b68419fb tlyu committed Feb 9, 1997
@@ -1,3 +1,8 @@
+Sun Feb 9 01:31:00 1997 Tom Yu <tlyu@mit.edu>
+
+ * Makefile.in:
+ * configure.in: Update to new program build procedure.
+
Thu Nov 14 14:13:41 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
* krb5_encode_test.c (PRS): Add the -p option to krb5_encode_test
@@ -1,21 +1,22 @@
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDES)
-RUN_SETUP = @KRB5_RUN_ENV@
+PROG_LIBPATH=-L$(TOPLIBD)
+PROG_RPATH=$(KRB5_LIBDIR)
-COMERRLIB=$(TOPLIBD)/libcom_err.a
+RUN_SETUP = @KRB5_RUN_ENV@
all:: krb5_encode_test krb5_decode_test trval
LOCALINCLUDES = -I$(srcdir)/../../lib/krb5/asn.1
ENCOBJS = krb5_encode_test.o ktest.o ktest_equal.o utility.o trval.o
-krb5_encode_test: $(ENCOBJS) $(DEPLIBS)
- $(LD) $(LDFLAGS) $(LDARGS) -o krb5_encode_test $(ENCOBJS) $(LIBS)
+krb5_encode_test: $(ENCOBJS) $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o krb5_encode_test $(ENCOBJS) $(KRB5_BASE_LIBS)
DECOBJS = krb5_decode_test.o ktest.o ktest_equal.o utility.o
-krb5_decode_test: $(DECOBJS) $(DEPLIBS)
- $(LD) $(LDFLAGS) $(LDARGS) -o krb5_decode_test $(DECOBJS) $(LIBS)
+krb5_decode_test: $(DECOBJS) $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o krb5_decode_test $(DECOBJS) $(KRB5_BASE_LIBS)
trval: $(srcdir)/trval.c
$(CC) -o trval $(CFLAGS) -DSTANDALONE $(srcdir)/trval.c
@@ -2,6 +2,5 @@ AC_INIT(krb5_encode_test.c)
CONFIG_RULES
AC_PROG_INSTALL
KRB5_RUN_FLAGS
-KRB5_LIBRARIES
-V5_USE_SHARED_LIB
+KRB5_BUILD_PROGRAM
V5_AC_OUTPUT_MAKEFILE
@@ -1,3 +1,8 @@
+Sun Feb 9 01:35:19 1997 Tom Yu <tlyu@mit.edu>
+
+ * Makefile.in:
+ * configure.in: Update to new program build procedure.
+
Tue Sep 10 14:20:09 1996 Tom Yu <tlyu@mit.edu>
* kdb5_mkdums.M: remove ".so man1/header.doc"
@@ -1,11 +1,11 @@
CFLAGS = $(CCOPTS) $(DEFS)
+PROG_LIBPATH=-L$(TOPLIBD)
+PROG_RPATH=$(KRB5_LIBDIR)
all:: kdb5_mkdums
-kdb5_mkdums: kdb5_mkdums.o $(DEPLIBS)
- $(LD) $(LDFLAGS) $(LDARGS) -o kdb5_mkdums kdb5_mkdums.o $(LIBS)
-
-kdb5_mkdums.o: $(srcdir)/kdb5_mkdums.c
+kdb5_mkdums: kdb5_mkdums.o $(KDB5_DEPLIBS) $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o kdb5_mkdums kdb5_mkdums.o $(KDB5_LIBS) $(KRB5_BASE_LIBS)
all:: kdb5_mkdums
@@ -1,7 +1,5 @@
AC_INIT(kdb5_mkdums.c)
CONFIG_RULES
AC_PROG_INSTALL
-USE_KDB5_LIBRARY
-KRB5_LIBRARIES
-V5_USE_SHARED_LIB
+KRB5_BUILD_PROGRAM
V5_AC_OUTPUT_MAKEFILE
@@ -1,3 +1,8 @@
+Sun Feb 9 01:38:26 1997 Tom Yu <tlyu@mit.edu>
+
+ * Makefile.in:
+ * configure.in: Update to new program build procedure.
+
Wed Nov 20 16:01:34 1996 Barry Jaspan <bjaspan@mit.edu>
* Makefile.in (check-): warn more loudly about unrun tests
@@ -1,6 +1,8 @@
HAVE_RUNTEST = @RUNTEST@
RUNTESTFLAGS =
KRB5_RUN_ENV= @KRB5_RUN_ENV@
+PROG_LIBPATH=-L$(TOPLIBD)
+PROG_RPATH=$(KRB5_LIBDIR)
all install::
@@ -17,8 +19,8 @@ check-runtest:: t_inetd site.exp
CFLAGS = $(CCOPTS) $(DEFS)
-t_inetd:: t_inetd.o $(DEPLIBS)
- $(LD) $(LDFLAGS) $(LDARGS) -o t_inetd t_inetd.o $(LIBS)
+t_inetd:: t_inetd.o $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o t_inetd t_inetd.o $(KRB5_BASE_LIBS)
clean::
$(RM) t_inetd t_inetd.o site.exp
@@ -5,6 +5,5 @@ AC_CHECK_PROG(RUNTEST,runtest,runtest)
AC_RETSIGTYPE
CHECK_SIGNALS
KRB5_RUN_FLAGS
-KRB5_LIBRARIES
-V5_USE_SHARED_LIB
+KRB5_BUILD_PROGRAM
V5_AC_OUTPUT_MAKEFILE
@@ -1,3 +1,8 @@
+Sun Feb 9 01:40:15 1997 Tom Yu <tlyu@mit.edu>
+
+ * Makefile.in:
+ * configure.in: Update to new program build procedure.
+
Sat Mar 16 07:24:03 1996 Ezra Peisach <epeisach@mit.edu>
* configure.in: Add USE_ANAME
@@ -1,16 +1,15 @@
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE) -DUSE_AUTOCONF_H
+PROG_LIBPATH=-L$(TOPLIBD)
+PROG_RPATH=$(KRB5_LIBDIR)
SRCS= t_imp_name.c
OBJS= t_imp_name.o
all:: t_imp_name
-LOCAL_LIBRARIES = -lgssapi_krb5
-DEPLOCAL_LIBRARIES = $(TOPLIBD)/gssapi/libgssapi_krb5.a
-
-t_imp_name: t_imp_name.o $(DEPLIBS)
- $(LD) $(LDFLAGS) $(LDARGS) -o t_imp_name t_imp_name.o $(LIBS)
+t_imp_name: t_imp_name.o $(GSS_DEPLIBS) $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o t_imp_name t_imp_name.o $(GSS_LIBS) $(KRB5_BASE_LIBS)
clean::
$(RM) t_imp_name
@@ -4,7 +4,5 @@ AC_CHECK_HEADERS(unistd.h stdlib.h)
AC_CHECK_HEADER(string.h,AC_DEFINE(USE_STRING_H))
AC_CONST
AC_PROG_INSTALL
-USE_ANAME
-KRB5_LIBRARIES
-V5_USE_SHARED_LIB
+KRB5_BUILD_PROGRAM
V5_AC_OUTPUT_MAKEFILE
@@ -1,3 +1,8 @@
+Sun Feb 9 01:45:03 1997 Tom Yu <tlyu@mit.edu>
+
+ * Makefile.in:
+ * configure.in: Update to new program build procedure.
+
Fri Jan 19 23:00:37 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* kdc5_hammer.c: Remove krb5_kdc_default_options.
@@ -1,13 +1,11 @@
CFLAGS = $(CCOPTS) $(DEFS)
+PROG_LIBPATH=-L$(TOPLIBD)
+PROG_RPATH=$(KRB5_LIBDIR)
all:: kdc5_hammer
-kdc5_hammer: kdc5_hammer.o $(DEPLIBS)
- $(LD) $(LDFLAGS) $(LDARGS) -o kdc5_hammer kdc5_hammer.o $(LIBS)
-
-kdc5_hammer.o: $(srcdir)/kdc5_hammer.c
-
-all:: kdc5_hammer
+kdc5_hammer: kdc5_hammer.o $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o kdc5_hammer kdc5_hammer.o $(KRB5_BASE_LIBS)
install::
@@ -1,6 +1,5 @@
AC_INIT(kdc5_hammer.c)
CONFIG_RULES
AC_PROG_INSTALL
-KRB5_LIBRARIES
-V5_USE_SHARED_LIB
+KRB5_BUILD_PROGRAM
V5_AC_OUTPUT_MAKEFILE
@@ -1,3 +1,8 @@
+Sun Feb 9 01:48:01 1997 Tom Yu <tlyu@mit.edu>
+
+ * Makefile.in:
+ * configure.in: Update to new program build procedure.
+
Mon Mar 18 21:49:39 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* configure.in: Add KRB5_RUN_FLAGS
@@ -1,14 +1,15 @@
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDES)
RUN_SETUP = @KRB5_RUN_ENV@
-
+PROG_LIBPATH=-L$(TOPLIBD)
+PROG_RPATH=$(KRB5_LIBDIR)
OBJS=resolve.o
SRCS=$(srcdir)/resolve.c
all:: resolve
-resolve: $(OBJS) $(DEPLIBS)
- $(LD) $(LDFLAGS) $(LDARGS) -o resolve $(OBJS) $(LIBS)
+resolve: $(OBJS) $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o resolve $(OBJS) $(KRB5_BASE_LIBS)
check:: resolve
$(RUN_SETUP) ./resolve
@@ -4,6 +4,5 @@ AC_HEADER_STDC
AC_CHECK_FUNCS(strchr)
AC_CHECK_HEADERS(sys/param.h sys/socket.h)
KRB5_RUN_FLAGS
-KRB5_LIBRARIES
-V5_USE_SHARED_LIB
+KRB5_BUILD_PROGRAM
V5_AC_OUTPUT_MAKEFILE
@@ -1,3 +1,8 @@
+Sun Feb 9 01:57:53 1997 Tom Yu <tlyu@mit.edu>
+
+ * Makefile.in:
+ * configure.in: Update to new program build procedure.
+
Thu May 2 21:16:40 1996 Richard Basch <basch@lehman.com>
* kdb5_verify.c: fixed various abstraction violations where the
@@ -1,13 +1,11 @@
CFLAGS = $(CCOPTS) $(DEFS)
+PROG_LIBPATH=-L$(TOPLIBD)
+PROG_RPATH=$(KRB5_LIBDIR)
all:: kdb5_verify
-kdb5_verify: kdb5_verify.o $(DEPLIBS)
- $(LD) $(LDFLAGS) $(LDARGS) -o kdb5_verify kdb5_verify.o $(LIBS)
-
-kdb5_verify.o: $(srcdir)/kdb5_verify.c
-
-all:: kdb5_verify
+kdb5_verify: kdb5_verify.o $(KDB5_DEPLIBS) $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o kdb5_verify kdb5_verify.o $(KDB5_LIBS) $(KRB5_BASE_LIBS)
install::
@@ -1,7 +1,5 @@
AC_INIT(kdb5_verify.c)
CONFIG_RULES
AC_PROG_INSTALL
-USE_KDB5_LIBRARY
-KRB5_LIBRARIES
-V5_USE_SHARED_LIB
+KRB5_BUILD_PROGRAM
V5_AC_OUTPUT_MAKEFILE

0 comments on commit e182eea

Please sign in to comment.