INN commit: trunk/tests (Makefile)

INN Commit rra at isc.org
Sun Sep 7 11:10:41 UTC 2014


    Date: Sunday, September 7, 2014 @ 04:10:41
  Author: iulius
Revision: 9685

No longer build a special messages library for the test suite

Further to the use of the new messages test library that no longer has
DEBUG parts, no longer build a special messages.o for our test suite.

Besides, fix the build line for the fdflag test suite.

Modified:
  trunk/tests/Makefile

----------+
 Makefile |   14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

Modified: Makefile
===================================================================
--- Makefile	2014-09-07 10:59:17 UTC (rev 9684)
+++ Makefile	2014-09-07 11:10:41 UTC (rev 9685)
@@ -106,8 +106,8 @@
 lib/dispatch.t: lib/dispatch-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/dispatch-t.o tap/basic.o $(LIBINN)
 
-lib/fdflag.t: lib/fdflag.o lib/fdflag-t.o tap/basic.o $(LIBINN)
-	$(LINK) lib/fdflag.o lib/fdflag-t.o tap/basic.o $(LIBINN) $(LIBS)
+lib/fdflag.t: lib/fdflag-t.o tap/basic.o $(LIBINN)
+	$(LINK) lib/fdflag-t.o tap/basic.o $(LIBINN) $(LIBS)
 
 lib/getaddrinfo.o: ../lib/getaddrinfo.c
 	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/getaddrinfo.c
@@ -165,15 +165,9 @@
 lib/memcmp.t: lib/memcmp.o lib/memcmp-t.o tap/basic.o
 	$(LINK) lib/memcmp.o lib/memcmp-t.o tap/basic.o $(LIBINN)
 
-lib/messages.o: ../lib/messages.c
-	$(CC) $(CFLAGS) -DDEBUG -c -o $@ ../lib/messages.c
+lib/messages.t: lib/messages-t.o tap/basic.o tap/process.o tap/string.o $(LIBINN)
+	$(LINK) lib/messages-t.o tap/basic.o tap/process.o tap/string.o $(LIBINN)
 
-lib/messages-t.o: lib/messages-t.c
-	$(CC) $(CFLAGS) -DDEBUG -c -o $@ lib/messages-t.c
-
-lib/messages.t: lib/messages.o lib/messages-t.o tap/basic.o tap/process.o tap/string.o $(LIBINN)
-	$(LINK) lib/messages-t.o lib/messages.o tap/basic.o tap/process.o tap/string.o $(LIBINN)
-
 lib/mkstemp.o: ../lib/mkstemp.c
 	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/mkstemp.c
 



More information about the inn-committers mailing list