mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
tests: Fix objdir builds
Fix the tests so that they work when we have a separate build directory. 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> (cherry picked from commit 259cca4050102e98ade929cc648a69d9f57c07fa) Change-Id: I5ba19639a8146af23a377bbfd2bfe0cf0911c0ea Reviewed-on: http://gerrit.openafs.org/2918
This commit is contained in:
parent
e67d4684ee
commit
3b1a9ce212
@ -1,7 +1,7 @@
|
||||
# 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
|
||||
|
||||
CFLAGS += -I$(srcdir)/..
|
||||
@ -12,11 +12,11 @@ all check test tests: $(tests)
|
||||
|
||||
ktime-t: ktime-t.o
|
||||
$(CC) $(LDFLAGS) -o ktime-t ktime-t.o ../tap/libtap.a \
|
||||
$(abs_top_srcdir)/lib/util.a $(XLIBS)
|
||||
$(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_srcdir)/lib/util.a $(XLIBS)
|
||||
$(abs_top_builddir)/lib/util.a $(XLIBS)
|
||||
|
||||
install:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user