2011-05-31 09:30:41 +01:00
|
|
|
|
|
|
|
srcdir=@srcdir@
|
|
|
|
abs_top_builddir=@abs_top_builddir@
|
|
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
|
|
|
include @TOP_OBJDIR@/src/config/Makefile.pthread
|
|
|
|
|
|
|
|
TESTS = vos-t
|
|
|
|
|
2012-05-07 21:52:16 +01:00
|
|
|
MODULE_CFLAGS=-I$(srcdir)/../.. -I$(srcdir)/../common/
|
2011-05-31 09:30:41 +01:00
|
|
|
|
|
|
|
all check test tests: $(TESTS)
|
|
|
|
|
2011-11-07 09:48:14 +00:00
|
|
|
# The direct reference of viced libraries here is a colossal hack, but
|
2011-05-31 09:30:41 +01:00
|
|
|
# we're just not building pthreaded versions of the vldb interface at the moment.
|
|
|
|
# Soon, I hope ...
|
|
|
|
|
|
|
|
MODULE_LIBS = ../tap/libtap.a \
|
2011-11-07 09:48:14 +00:00
|
|
|
$(abs_top_builddir)/src/viced/vldbint.cs.o \
|
|
|
|
$(abs_top_builddir)/src/viced/vldbint.xdr.o \
|
2011-05-31 09:30:41 +01:00
|
|
|
$(abs_top_builddir)/lib/libafsauthent.a \
|
|
|
|
$(abs_top_builddir)/lib/libafsrpc.a \
|
|
|
|
$(abs_top_builddir)/lib/libafshcrypto.a \
|
2012-05-21 18:04:32 +01:00
|
|
|
$(abs_top_builddir)/src/opr/liboafs_opr.la \
|
2012-05-24 09:14:18 +01:00
|
|
|
$(abs_top_builddir)/src/opr/liboafs_util.la \
|
|
|
|
$(LIB_rfc3961) $(LIB_roken) \
|
2011-05-31 09:30:41 +01:00
|
|
|
$(XLIBS)
|
|
|
|
|
2012-04-20 15:34:26 +01:00
|
|
|
vos-t: vos-t.o ../common/config.o ../common/servers.o ../common/ubik.o
|
2012-05-21 18:04:32 +01:00
|
|
|
$(LT_LDRULE_static) vos-t.o ../common/config.o ../common/servers.o \
|
2012-04-20 15:34:26 +01:00
|
|
|
../common/ubik.o $(MODULE_LIBS)
|
2011-05-31 09:30:41 +01:00
|
|
|
|
|
|
|
clean:
|
2012-05-21 18:04:32 +01:00
|
|
|
$(LT_CLEAN)
|
2011-05-31 09:30:41 +01:00
|
|
|
rm -f *.o $(TESTS)
|