openafs/tests/util/Makefile.in
Andrew Deason a5bcd61a16 util: add afs_exec_alt
Add the function afs_exec_alt to help programs easily execute an
"alternate" version of themselves. For example, for programs that are
built with/without DAFS support, or are built for 32-bit/64-bit
structures, etc.

Change-Id: Ibb2b7105d58476f84bd9f15987f8b7df37314b6b
Reviewed-on: http://gerrit.openafs.org/2483
Tested-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-08-04 05:24:04 -07:00

25 lines
538 B
Makefile

# Build rules for the OpenAFS util test suite.
srcdir=@srcdir@
abs_top_srcdir=@abs_top_srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config
CFLAGS += -I$(srcdir)/..
tests = ktime-t exec-alt-t
all check test tests: $(tests)
ktime-t: ktime-t.o
$(CC) $(LDFLAGS) -o ktime-t ktime-t.o ../tap/libtap.a \
$(abs_top_srcdir)/lib/util.a $(XLIBS)
exec-alt-t: exec-alt-t.o
$(CC) $(LDFLAGS) -o exec-alt-t exec-alt-t.o ../tap/libtap.a \
$(abs_top_srcdir)/lib/util.a $(XLIBS)
install:
clean distclean:
$(RM) -f $(tests) *.o core