a92c2fe26762e5ac466316dab0c91e1468b5fd9e
[openafs.git] / src / libadmin / client / 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 SHELL = /bin/sh
14 include ../../config/Makefile.${SYS_NAME}
15
16 CC = ${MT_CC}
17 CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${MT_CFLAGS}
18
19 ADMINOBJS = afs_clientAdmin.o
20
21 LIBOBJS = ${ADMINOBJS}
22
23 LIBCLIENTADMIN = ${DESTDIR}/lib/afs/libclientadmin.a
24
25 system install: ${LIBCLIENTADMIN}
26
27 ${LIBCLIENTADMIN}: libclientadmin.a
28         ${INSTALL} afs_clientAdmin.h ${DESTDIR}include/afs
29         ${INSTALL} libclientadmin.a ${LIBCLIENTADMIN}
30
31 libclientadmin.a: ${LIBOBJS}
32         -rm -f $@
33         ar rv $@ ${LIBOBJS}
34         ${RANLIB} $@
35
36 afs_clientAdmin.o: afs_clientAdmin.h
37
38 clean:
39         rm -f *.o libclientadmin*