summaryrefslogtreecommitdiffstats
path: root/src/lib/kadm5/unit-test/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/kadm5/unit-test/Makefile.in')
-rw-r--r--src/lib/kadm5/unit-test/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/kadm5/unit-test/Makefile.in b/src/lib/kadm5/unit-test/Makefile.in
index 8afe66a3c..caa4e2d2f 100644
--- a/src/lib/kadm5/unit-test/Makefile.in
+++ b/src/lib/kadm5/unit-test/Makefile.in
@@ -23,10 +23,13 @@ destroy-test: destroy-test.o $(KADMCLNT_DEPLIBS) $(KRB5_BASE_DEPLIBS)
$(CC_LINK) -o destroy-test destroy-test.o \
$(KADMCLNT_LIBS) $(KRB5_BASE_LIBS)
-client-handle-test: handle-test.o $(KADMCLNT_DEPLIBS) $(KRB5_BASE_DEPLIBS)
- $(CC_LINK) -o client-handle-test handle-test.o \
+client-handle-test: client-handle-test.o $(KADMCLNT_DEPLIBS) $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o client-handle-test client-handle-test.o \
$(KADMCLNT_LIBS) $(KRB5_BASE_LIBS)
+client-handle-test.o: handle-test.c
+ $(CC) $(ALL_CFLAGS) -DCLIENT_TEST -o client-handle-test.o -c $(srcdir)/handle-test.c
+
client-iter-test: iter-test.o $(KADMLCNT_DEPLIBS) $(KRB5_BASE_DEPLIBS)
$(CC_LINK) -o client-iter-test iter-test.o \
$(KADMCLNT_LIBS) $(KRB5_BASE_LIBS)
@@ -128,7 +131,7 @@ unit-test-server-body: site.exp test-handle-server lock-test
clean::
$(RM) init-test client_init.o init-test.o
$(RM) destroy-test destroy-test.o
- $(RM) client-handle-test handle-test.o
+ $(RM) client-handle-test handle-test.o client-handle-test.o
$(RM) client-iter-test iter-test.o
$(RM) randkey-test randkey-test.o
$(RM) server-handle-test handle-test.o