openafs/tests/cmd/Makefile.in
Simon Wilkinson 8b84d9538c opr: Convert to using libtool
Convert opr so that it uses libtool. For backwards compatibility we
still build libopr.a, but we do so as a static convenience library.

As libopr.a may, in the future, be converted to an LWP library, change
all of the pthreaded binaries so that they link against the libtool
library liboafs_opr.la

Change-Id: Icee04ff4745334f06ffba16df5bb07fc9dcc0b54
Reviewed-on: http://gerrit.openafs.org/8034
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
2012-09-04 13:23:14 -07:00

28 lines
653 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)/src/opr/liboafs_opr.la \
$(abs_top_builddir)/lib/util.a
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