# 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)/src/cmd/liboafs_cmd.la \
       $(abs_top_builddir)/src/comerr/liboafs_comerr.la \
       $(abs_top_builddir)/src/opr/liboafs_opr.la \
       $(abs_top_builddir)/src/opr/liboafs_opr.la

tests = command-t

all check test tests: $(tests)

command-t: command-t.o $(LIBS)
	$(LT_LDRULE_static) command-t.o $(LIBS) $(LIB_roken) $(XLIBS)

install:

clean distclean:
	$(LT_CLEAN)
	$(RM) -f $(tests) *.o core
