openafs/tests/auth/Makefile.in

50 lines
1.2 KiB
Makefile
Raw Normal View History

2010-09-15 11:17:14 +01:00
srcdir=@srcdir@
abs_top_builddir=@abs_top_builddir@
include @TOP_OBJDIR@/src/config/Makefile.config
include @TOP_OBJDIR@/src/config/Makefile.pthread
BINS = authcon-t superuser-t keys-t realms-t writekeyfile
2010-09-15 11:17:14 +01:00
MODULE_CFLAGS=-I$(TOP_OBJDIR) -I$(srcdir)/../common/
2010-09-15 11:17:14 +01:00
all: $(BINS)
2010-09-15 11:17:14 +01:00
LIBS = $(abs_top_builddir)/tests/common/libafstest_common.la \
$(abs_top_builddir)/src/auth/liboafs_auth.la
authcon-t: authcon-t.o $(LIBS)
$(LT_LDRULE_static) authcon-t.o $(LIBS) $(XLIBS)
superuser-t: superuser-t.o test.cs.o test.ss.o test.xdr.o $(LIBS)
$(LT_LDRULE_static) superuser-t.o test.cs.o test.ss.o test.xdr.o \
$(LIBS) $(XLIBS)
keys-t: keys-t.o $(LIBS)
$(LT_LDRULE_static) keys-t.o $(LIBS) $(XLIBS)
realms-t: realms-t.o $(LIBS)
$(LT_LDRULE_static) realms-t.o $(LIBS) $(XLIBS)
writekeyfile: writekeyfile.o $(LIBS)
$(LT_LDRULE_static) writekeyfile.o $(LIBS) $(XLIBS)
test.cs.c: test.xg
$(RXGEN) -A -x -C -o $@ $(srcdir)/test.xg
test.ss.c: test.xg
$(RXGEN) -A -x -S -o $@ $(srcdir)/test.xg
test.xdr.c: test.xg
$(RXGEN) -A -x -c -o $@ $(srcdir)/test.xg
test.h: test.xg
$(RXGEN) -A -x -h -o $@ $(srcdir)/test.xg
superuser-t.o: test.h
2010-09-15 11:17:14 +01:00
clean:
$(LT_CLEAN)
rm -f *.o *.cs.c *.ss.c *.xdr.c test.h \
$(BINS)