tests/auth/Makefile \
tests/cmd/Makefile \
tests/common/Makefile \
+ tests/opr/Makefile \
tests/util/Makefile \
tests/volser/Makefile \
src/helper-splint.sh
tests/auth/Makefile \
tests/cmd/Makefile \
tests/common/Makefile \
+tests/opr/Makefile \
tests/rpctestlib/Makefile \
tests/tap/Makefile \
tests/util/Makefile \
all: $(TOP_INCDIR)/afs/opr.h \
$(TOP_INCDIR)/afs/opr_assert.h \
+ $(TOP_INCDIR)/opr/queue.h \
$(TOP_LIBDIR)/libopr.a
libopr.a: $(objects)
$(TOP_INCDIR)/afs/opr_assert.h: opr_assert.h
$(INSTALL_DATA) opr_assert.h $@
+$(TOP_INCDIR)/opr/queue.h: queue.h
+ $(INSTALL_DATA) queue.h $@
+
+clean:
+ rm -f $(objects) libopr.a
+
install: libopr.a
$(INSTALL_DATA) libopr.a $(DESTDIR)$(libdir)/libopr.a
${TOP_INCDIR}/afs/work_queue_types.h \
${TOP_INCDIR}/afs/thread_pool.h \
${TOP_INCDIR}/afs/thread_pool_types.h \
- ${TOP_INCDIR}/afs/tabular_output.h \
- ${TOP_INCDIR}/opr/queue.h
+ ${TOP_INCDIR}/afs/tabular_output.h
all: ${includes} \
${TOP_LIBDIR}/util.a \
${TOP_INCDIR}/potpourri.h: ${srcdir}/potpourri.h
${INSTALL_DATA} $? $@
-${TOP_INCDIR}/opr/queue.h: ${srcdir}/queue.h
- ${INSTALL_DATA} $? $@
-
${TOP_LIBDIR}/util.a: util.a
${INSTALL_DATA} $? $@
MODULE_CFLAGS = -DSOURCE='"$(abs_top_srcdir)/tests"' \
-DBUILD='"$(abs_top_builddir)/tests"'
-SUBDIRS = tap common auth util cmd volser
+SUBDIRS = tap common auth util cmd volser opr
all: runtests
@for A in $(SUBDIRS); do cd $$A && $(MAKE) $@ && cd .. || exit 1; done
util/ktime
util/exec-alt
-util/queues
auth/keys
auth/superuser
auth/authcon
cmd/command
+opr/queues
ptserver/pt_util
ptserver/pts-man
volser/vos-man
--- /dev/null
+srcdir=@srcdir@
+abs_top_builddir=@abs_top_builddir@
+include @TOP_OBJDIR@/src/config/Makefile.config
+include @TOP_OBJDIR@/src/config/Makefile.lwp
+
+MODULE_CFLAGS = -I$(srcdir)/..
+
+LIBS=../tap/libtap.a $(abs_top_builddir)/lib/libopr.a
+
+tests = queues-t
+
+all check test tests: $(tests)
+
+queues-t: queues-t.o
+ $(AFS_LDRULE) queues-t.o ../tap/libtap.a $(XLIBS)
+
+clean distclean:
+ $(RM) -f $(tests) *.o core
LIBS = ../tap/libtap.a $(abs_top_builddir)/lib/util.a
-tests = ktime-t exec-alt-t queues-t
+tests = ktime-t exec-alt-t
all check test tests: $(tests)
exec-alt-t: exec-alt-t.o $(LIBS)
$(AFS_LDRULE) exec-alt-t.o $(LIBS) $(XLIBS)
-queues-t: queues-t.o
- $(AFS_LDRULE) queues-t.o ../tap/libtap.a $(XLIBS)
-
install:
clean distclean: