* t_expand.c: New file.
authorKen Raeburn <raeburn@mit.edu>
Fri, 7 Sep 2001 11:27:07 +0000 (11:27 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 7 Sep 2001 11:27:07 +0000 (11:27 +0000)
* 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
src/lib/krb5/krb/Makefile.in
src/lib/krb5/krb/t_expand.c [new file with mode: 0644]

index 5fef9238bfe6a754f2f9084f968f0e0122493007..ca7bf30b1281f31ff3120c50fdc4f450672c6779 100644 (file)
@@ -1,3 +1,10 @@
+2001-09-07  Ken Raeburn  <raeburn@mit.edu>
+
+       * 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  <raeburn@mit.edu>
 
        * rd_req_dec.c (krb5_rd_req_decoded_opt): Pass server realm to
index 72fce37cca3cf9b4f8e1f2db82374ae33a5a9626..3e7db974078df2771c3c4502298e0f0c8d80237a 100644 (file)
@@ -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 (file)
index 0000000..a8b2757
--- /dev/null
@@ -0,0 +1,2 @@
+#define TEST
+#include "chk_trans.c"