Add new test scripts and generally improve code coverage of tests.
[ircu2.10.12-pk.git] / ircd / test / Makefile.in
index 8449b09dd14c02d1c67957f47e03768b2695b1e2..44b4cda0914be5b1cff082115bb8a6825b26fd82 100644 (file)
@@ -3,6 +3,7 @@ srcdir = @srcdir@
 VPATH = @srcdir@
 CPPFLAGS = -I${top_srcdir}/include -I../..
 CFLAGS   = -g -Wall
+LDFLAGS  =
 CC = @CC@
 
 TESTPROGS = \
@@ -36,19 +37,19 @@ install:
 
 IRCD_CHATTR_T_OBJS = ircd_chattr_t.o test_stub.o ../ircd_string.o
 ircd_chattr_t: $(IRCD_CHATTR_T_OBJS)
-       ${CC} -o $@ $(IRCD_CHATTR_T_OBJS)
+       ${CC} -o $@ $(LDFLAGS) $(IRCD_CHATTR_T_OBJS)
 
 IRCD_IN_ADDR_T_OBJS = ircd_in_addr_t.o test_stub.o ../ircd_alloc.o ../ircd_string.o ../match.o ../numnicks.o
 ircd_in_addr_t: $(IRCD_IN_ADDR_T_OBJS)
-       ${CC} -o $@ $(IRCD_IN_ADDR_T_OBJS)
+       ${CC} -o $@ $(LDFLAGS) $(IRCD_IN_ADDR_T_OBJS)
 
 IRCD_MATCH_T_OBJS = ircd_match_t.o test_stub.o ../ircd_string.o ../match.o
 ircd_match_t: $(IRCD_MATCH_T_OBJS)
-       ${CC} -o $@ $(IRCD_MATCH_T_OBJS)
+       ${CC} -o $@ $(LDFLAGS) $(IRCD_MATCH_T_OBJS)
 
 IRCD_STRING_T_OBJS = ircd_string_t.o test_stub.o ../ircd_string.o
 ircd_string_t: $(IRCD_STRING_T_OBJS)
-       ${CC} -o $@ $(IRCD_STRING_T_OBJS)
+       ${CC} -o $@ $(LDFLAGS) $(IRCD_STRING_T_OBJS)
 
 .c.o:
        ${CC} ${CFLAGS} ${CPPFLAGS} -c $< -o $@