2db93947cc5788c0f6acbe4711914d4c8724e360
[openafs.git] / src / procmgmt / test / Makefile.in
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 DESTDIR=@DESTDIR@
9 SRCDIR=@SRCDIR@
10 TOP_SRCDIR=@TOP_SRCDIR@
11 SYS_NAME=@AFS_SYSNAME@
12
13 include ../../config/Makefile.${SYS_NAME}
14
15 CFLAGS = $(DBUG) -I${SRCDIR}include ${XCFLAGS}
16
17 ########################################################################
18 # build tests
19
20 LIBPMGT=DEST/lib/afs/libprocmgmt.a
21
22 pmgttest: pmgttest.o $(LIBPMGT)
23         $(CC) $(CFLAGS) -o pmgttest pmgttest.o $(LIBPMGT) -lm $(XLIBS)
24
25 #######################################################################
26 test tests: pmgttest
27
28 clean:
29         $(RM) -f *.o pmgttest core