mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
259cca4050
Fix the tests so that they work when we have a separate build directory. Change-Id: I1329a4186b126c84f611c9751fd228b80c80c82c Reviewed-on: http://gerrit.openafs.org/2828 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
25 lines
546 B
Makefile
25 lines
546 B
Makefile
# Build rules for the OpenAFS util test suite.
|
|
|
|
srcdir=@srcdir@
|
|
abs_top_builddir=@abs_top_builddir@
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
|
|
|
CFLAGS += -I$(srcdir)/..
|
|
|
|
tests = ktime-t exec-alt-t
|
|
|
|
all check test tests: $(tests)
|
|
|
|
ktime-t: ktime-t.o
|
|
$(CC) $(LDFLAGS) -o ktime-t ktime-t.o ../tap/libtap.a \
|
|
$(abs_top_builddir)/lib/util.a $(XLIBS)
|
|
|
|
exec-alt-t: exec-alt-t.o
|
|
$(CC) $(LDFLAGS) -o exec-alt-t exec-alt-t.o ../tap/libtap.a \
|
|
$(abs_top_builddir)/lib/util.a $(XLIBS)
|
|
|
|
install:
|
|
|
|
clean distclean:
|
|
$(RM) -f $(tests) *.o core
|