mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
a5bcd61a16
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>
25 lines
538 B
Makefile
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
|