openafs/tests/cmd/Makefile.in
Russ Allbery e88e369c92 Fix various build problems with the test suite
The cmd/command-t test requires libroken and was misspelled in the
TESTS file.  Multiple tests require LD_LIBRARY_PATH to be set to find
libafsroken if it hasn't been installed, so set it when running
runtests via make check.  (Note that this means runtests -o will not
work properly unless the user also sets LD_LIBRARY_PATH.)

Change-Id: Ib64f0505b3b75db33adb6c7b6452dcaac0b05dbc
Reviewed-on: http://gerrit.openafs.org/4594
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
2011-04-28 20:24:18 -07:00

26 lines
579 B
Makefile

# Build rules for the OpenAFS cmd test suite.
srcdir=@srcdir@
abs_top_builddir=@abs_top_builddir@
include @TOP_OBJDIR@/src/config/Makefile.config
include @TOP_OBJDIR@/src/config/Makefile.pthread
MODULE_CFLAGS = -I$(srcdir)/..
LIBS = ../tap/libtap.a \
$(abs_top_builddir)/lib/libcmd.a \
$(abs_top_builddir)/lib/libafscom_err.a \
$(abs_top_builddir)/lib/util.a
tests = command-t
all check test tests: $(tests)
command-t: command-t.o $(LIBS)
$(AFS_LDRULE) command-t.o $(LIBS) $(LIB_roken) $(XLIBS)
install:
clean distclean:
$(RM) -f $(tests) *.o core