Windows: Call AFSExeceptionFilter for all exceptions
[openafs.git] / tests / util / Makefile.in
index 763f1cd..763ac89 100644 (file)
@@ -1,18 +1,25 @@
 # Build rules for the OpenAFS util test suite.
 
 srcdir=@srcdir@
-abs_top_srcdir=@abs_top_srcdir@
+abs_top_builddir=@abs_top_builddir@
 include @TOP_OBJDIR@/src/config/Makefile.config
+include @TOP_OBJDIR@/src/config/Makefile.lwp
 
-CFLAGS += -I$(srcdir)/..
+MODULE_CFLAGS = -I$(srcdir)/../..
 
-tests = ktime-t
+LIBS = ../tap/libtap.a \
+       $(abs_top_builddir)/lib/util.a \
+       $(abs_top_builddir)/lib/libopr.a
 
-all: $(tests)
+tests = ktime-t exec-alt-t
 
-ktime-t: ktime-t.o
-       $(CC) $(LDFLAGS) -o ktime-t ktime-t.o ../tap/libtap.a \
-           $(abs_top_srcdir)/lib/util.a $(XLIBS)
+all check test tests: $(tests)
+
+ktime-t: ktime-t.o $(LIBS)
+       $(AFS_LDRULE) ktime-t.o $(LIBS) $(XLIBS)
+
+exec-alt-t: exec-alt-t.o $(LIBS)
+       $(AFS_LDRULE) exec-alt-t.o $(LIBS) $(XLIBS)
 
 install: