fs-sysname-output-syntax-compatibility-20010723
[openafs.git] / src / libadmin / cfg / test / Makefile
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 include ../../../config/Makefile.${SYS_NAME}
9
10 CC = ${MT_CC}
11 CFLAGS = ${OPTMZ} ${DBG} -DAFS_PTHREAD_ENV -I${SRCDIR}include ${MT_CFLAGS}
12
13
14 ########################################################################
15 # build tests
16
17 CFGTESTLIBS =\
18         $(DESTDIR)/lib/afs/libafsadminutil.a \
19         $(DESTDIR)/lib/afs/libclientadmin.a \
20         $(DESTDIR)/lib/afs/libcfgadmin.a \
21         $(DESTDIR)/lib/afs/libbosadmin.a \
22         $(DESTDIR)/lib/afs/libvosadmin.a \
23         $(DESTDIR)/lib/afs/libkasadmin.a \
24         $(DESTDIR)/lib/afs/libptsadmin.a \
25         $(DESTDIR)/lib/libafsauthent.a \
26         $(DESTDIR)/lib/libafsrpc.a \
27         $(DESTDIR)/lib/afs/libcmd.a  # static library
28
29 cfgtest: cfgtest.o $(CFGTESTLIBS)
30         $(CC) $(CFLAGS) -o cfgtest cfgtest.o -LDEST/lib/afs $(CFGTESTLIBS) $(XLIBS)
31
32 #######################################################################
33 test tests: cfgtest
34
35 clean:
36         $(RM) -f *.o cfgtest core