2011-04-23 16:42:54 +01:00
|
|
|
# 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
|
|
|
|
|
2012-05-07 21:52:16 +01:00
|
|
|
MODULE_CFLAGS = -I$(srcdir)/../..
|
2011-04-23 16:42:54 +01:00
|
|
|
|
|
|
|
LIBS = ../tap/libtap.a \
|
|
|
|
$(abs_top_builddir)/lib/libcmd.a \
|
2011-04-29 00:10:23 +01:00
|
|
|
$(abs_top_builddir)/lib/libafscom_err.a \
|
2012-05-21 18:04:32 +01:00
|
|
|
$(abs_top_builddir)/src/opr/liboafs_opr.la \
|
2011-04-23 16:42:54 +01:00
|
|
|
$(abs_top_builddir)/lib/util.a
|
|
|
|
|
|
|
|
tests = command-t
|
|
|
|
|
|
|
|
all check test tests: $(tests)
|
|
|
|
|
|
|
|
command-t: command-t.o $(LIBS)
|
2012-05-21 18:04:32 +01:00
|
|
|
$(LT_LDRULE_static) command-t.o $(LIBS) $(LIB_roken) $(XLIBS)
|
2011-04-23 16:42:54 +01:00
|
|
|
|
|
|
|
install:
|
|
|
|
|
|
|
|
clean distclean:
|
2012-05-21 18:04:32 +01:00
|
|
|
$(LT_CLEAN)
|
2011-04-23 16:42:54 +01:00
|
|
|
$(RM) -f $(tests) *.o core
|