Light fixes for strange building.
authormdw <mdw>
Sun, 12 Oct 2003 00:39:16 +0000 (00:39 +0000)
committermdw <mdw>
Sun, 12 Oct 2003 00:39:16 +0000 (00:39 +0000)
src/Makefile.am
src/name.c
src/netg.c
src/userdb.c

index c04dd1a..1fb2a2e 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with `automake' to generate `Makefile.in'
 ## -*-makefile-*-
 ##
-## $Id: Makefile.am,v 1.15 2003/10/12 00:15:34 mdw Exp $
+## $Id: Makefile.am,v 1.16 2003/10/12 00:39:16 mdw Exp $
 ##
 ## Makefile for `become'
 ##
@@ -29,6 +29,9 @@
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.am,v $
+## Revision 1.16  2003/10/12 00:39:16  mdw
+## Light fixes for strange building.
+##
 ## Revision 1.15  2003/10/12 00:15:34  mdw
 ## Fix to makefile install rules.
 ##
@@ -139,16 +142,13 @@ install-exec-hook:
 
 ## --- The test programs ---
 
-TESTS = \
-       name-test netg-test sym-test userdb-test \
-       crypt-test \
-       blowfish-test idea-test md5-test
+TESTS = name-test netg-test userdb-test
 
 ## --- How to build a test rig ---
 
 SUFFIXES = .tro
 .c.tro:
-       $(COMPILE) -DTEST_RIG $< -o $@
+       $(COMPILE) -DTEST_RIG $< -c -o $@
 
 ## --- Now build all the test programs ---
 ##
@@ -157,18 +157,10 @@ SUFFIXES = .tro
 
 name-test: name.tro libbecome.a
        $(LINK) name.tro libbecome.a $(LIBS)
-sym-test: sym.tro libbecome.a
-       $(LINK) sym.tro libbecome.a $(LIBS)
 userdb-test: userdb.tro libbecome.a
        $(LINK) userdb.tro libbecome.a $(LIBS)
-crypt-test: crypt.tro libbecome.a
-       $(LINK) crypt.tro libbecome.a $(LIBS)
-blowfish-test: blowfish.tro libbecome.a
-       $(LINK) blowfish.tro libbecome.a $(LIBS)
-md5-test: md5.tro libbecome.a
-       $(LINK) md5.tro libbecome.a $(LIBS)
 netg-test: netg.tro libbecome.a
-       $(LINK) netg.tro libbecome.a
+       $(LINK) netg.tro libbecome.a $(LIBS)
 
 CLEANFILES = *.tro y.output
 
index bd49ab9..cc9d98f 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: name.c,v 1.8 2003/10/12 00:14:55 mdw Exp $
+ * $Id: name.c,v 1.9 2003/10/12 00:39:16 mdw Exp $
  *
  * Looking up of names in symbol tables
  *
@@ -29,6 +29,9 @@
 /*----- Revision history --------------------------------------------------*
  *
  * $Log: name.c,v $
+ * Revision 1.9  2003/10/12 00:39:16  mdw
+ * Light fixes for strange building.
+ *
  * Revision 1.8  2003/10/12 00:14:55  mdw
  * Major overhaul.  Now uses DSA signatures rather than the bogus symmetric
  * encrypt-and-hope thing.  Integrated with mLib and Catacomb.
@@ -468,7 +471,7 @@ void name_dump(void)
 int main(void)
 {
   ego("name-test");
-  traceon(stdout, TRACE_ALL);
+  trace_on(stdout, TRACE_ALL);
   userdb_init();
   userdb_local();
   userdb_yp();
index f211389..0202ebc 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: netg.c,v 1.5 2003/10/12 00:14:55 mdw Exp $
+ * $Id: netg.c,v 1.6 2003/10/12 00:39:16 mdw Exp $
  *
  * A local database of netgroups
  *
@@ -29,6 +29,9 @@
 /*----- Revision history --------------------------------------------------*
  *
  * $Log: netg.c,v $
+ * Revision 1.6  2003/10/12 00:39:16  mdw
+ * Light fixes for strange building.
+ *
  * Revision 1.5  2003/10/12 00:14:55  mdw
  * Major overhaul.  Now uses DSA signatures rather than the bogus symmetric
  * encrypt-and-hope thing.  Integrated with mLib and Catacomb.
@@ -681,7 +684,7 @@ int main(void)
 {
   netg *n;
   ego("netg-test");
-  traceon(stderr, TRACE_ALL);
+  trace_on(stderr, TRACE_ALL);
   netg_init();
   for (netg_iterate(); (n = netg_next()) != 0; ) {
     fprintf(stderr, "netgroup %s\n", netg_name(n));
index 88b1cce..8af1f6c 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: userdb.c,v 1.9 2003/10/12 00:14:55 mdw Exp $
+ * $Id: userdb.c,v 1.10 2003/10/12 00:39:16 mdw Exp $
  *
  * User database management
  *
@@ -29,6 +29,9 @@
 /*----- Revision history --------------------------------------------------*
  *
  * $Log: userdb.c,v $
+ * Revision 1.10  2003/10/12 00:39:16  mdw
+ * Light fixes for strange building.
+ *
  * Revision 1.9  2003/10/12 00:14:55  mdw
  * Major overhaul.  Now uses DSA signatures rather than the bogus symmetric
  * encrypt-and-hope thing.  Integrated with mLib and Catacomb.
@@ -837,7 +840,7 @@ void dumpit(const char *msg)
 int main(void)
 {
   ego("userdb-test");
-  traceon(stdout, TRACE_ALL);
+  trace_on(stdout, TRACE_ALL);
   userdb_init();
   userdb_local();
   userdb_yp();