From 2b11d86f48fb634fe413a354dde964b90f9fef20 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 7 Sep 2001 11:27:07 +0000 Subject: [PATCH] * t_expand.c: New file. * Makefile.in (SRCS): Add test-case source files; rebuilt dependencies. (t_expand.o): Build from t_expand.c now, no special build rule. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13738 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 7 +++++++ src/lib/krb5/krb/Makefile.in | 29 ++++++++++++++++++++++++++--- src/lib/krb5/krb/t_expand.c | 2 ++ 3 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 src/lib/krb5/krb/t_expand.c diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 5fef9238b..ca7bf30b1 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,10 @@ +2001-09-07 Ken Raeburn + + * t_expand.c: New file. + * Makefile.in (SRCS): Add test-case source files; rebuilt + dependencies. + (t_expand.o): Build from t_expand.c now, no special build rule. + 2001-09-07 Ken Raeburn * rd_req_dec.c (krb5_rd_req_decoded_opt): Pass server realm to diff --git a/src/lib/krb5/krb/Makefile.in b/src/lib/krb5/krb/Makefile.in index 72fce37cc..3e7db9740 100644 --- a/src/lib/krb5/krb/Makefile.in +++ b/src/lib/krb5/krb/Makefile.in @@ -268,7 +268,12 @@ SRCS= $(srcdir)/addr_comp.c \ $(srcdir)/valid_times.c \ $(srcdir)/vfy_increds.c \ $(srcdir)/vic_opt.c \ - $(srcdir)/walk_rtree.c + $(srcdir)/walk_rtree.c \ + $(srcdir)/t_walk_rtree.c \ + $(srcdir)/t_kerb.c \ + $(srcdir)/t_ser.c \ + $(srcdir)/t_deltat.c \ + $(srcdir)/t_expand.c # Someday, when we have a "maintainer mode", do this right: BISON=bison @@ -307,8 +312,7 @@ t_deltat : $(T_DELTAT_OBJS) $(CC_LINK) -o t_deltat $(T_DELTAT_OBJS) T_EXPAND_OBJS=t_expand.o -t_expand.o : chk_trans.c - $(CC) $(ALL_CFLAGS) -c -DTEST -o t_expand.o $(srcdir)/chk_trans.c +t_expand.o : t_expand.c t_expand : $(T_EXPAND_OBJS) $(KRB5_BASE_DEPLIBS) $(CC_LINK) -o t_expand $(T_EXPAND_OBJS) $(KRB5_BASE_LIBS) @@ -702,4 +706,23 @@ walk_rtree.o: walk_rtree.c $(SRCTOP)/include/k5-int.h \ $(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \ $(BUILDTOP)/include/com_err.h $(SRCTOP)/include/krb5/kdb.h \ int-proto.h +t_walk_rtree.o: t_walk_rtree.c $(SRCTOP)/include/k5-int.h \ + $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \ + $(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \ + $(BUILDTOP)/include/com_err.h $(SRCTOP)/include/krb5/kdb.h +t_kerb.o: t_kerb.c $(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \ + $(BUILDTOP)/include/com_err.h $(SRCTOP)/include/kerberosIV/krb.h \ + $(SRCTOP)/include/kerberosIV/des.h $(SRCTOP)/include/port-sockets.h +t_ser.o: t_ser.c $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \ + $(BUILDTOP)/include/krb5/autoconf.h $(BUILDTOP)/include/krb5.h \ + $(BUILDTOP)/include/profile.h $(BUILDTOP)/include/com_err.h \ + $(SRCTOP)/include/krb5/kdb.h auth_con.h +t_deltat.o: t_deltat.c $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \ + $(BUILDTOP)/include/krb5/autoconf.h $(BUILDTOP)/include/krb5.h \ + $(BUILDTOP)/include/profile.h $(BUILDTOP)/include/com_err.h \ + $(SRCTOP)/include/krb5/kdb.h +t_expand.o: t_expand.c chk_trans.c $(SRCTOP)/include/k5-int.h \ + $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \ + $(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \ + $(BUILDTOP)/include/com_err.h $(SRCTOP)/include/krb5/kdb.h diff --git a/src/lib/krb5/krb/t_expand.c b/src/lib/krb5/krb/t_expand.c new file mode 100644 index 000000000..a8b2757df --- /dev/null +++ b/src/lib/krb5/krb/t_expand.c @@ -0,0 +1,2 @@ +#define TEST +#include "chk_trans.c" -- 2.26.2