death-to-pinstall-20060801
[openafs.git] / src / bu_utils / 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 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10
11 all: fms
12
13 FMSLIBS=${TOP_LIBDIR}/libcmd.a \
14         ${TXLIBS} \
15         ${TOP_LIBDIR}/libusd.a \
16         ${TOP_LIBDIR}/libtermlib.a ${XLIBS} \
17         ${TOP_LIBDIR}/util.a
18
19 fms: fms.o
20         ${CC} ${LDFLAGS} -o fms fms.o ${FMSLIBS}
21
22 fms.o:  fms.c AFS_component_version_number.o
23
24 install: fms
25         ${INSTALL} -d ${DESTDIR}${sbindir}
26         ${INSTALL_PROGRAM} fms ${DESTDIR}${sbindir}/fms
27
28 dest: fms
29         ${INSTALL} -d ${DEST}/etc
30         ${INSTALL_PROGRAM} fms ${DEST}/etc/fms
31
32 clean:
33         $(RM) -f *.o fms AFS_component_version_number.c
34
35 include ../config/Makefile.version