cdfc90e36b05e0b5f2f7f3256a315b1a4314379a
[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 include @TOP_OBJDIR@/src/config/Makefile.lwp
11
12 INSTALL = @INSTALL@
13 INSTALL_DATA = @INSTALL_DATA@
14 INSTALL_PROGRAM = @INSTALL_PROGRAM@
15 INSTALL_SCRIPT = @INSTALL_SCRIPT@
16
17 all: fms
18
19 FMSLIBS=${TOP_LIBDIR}/libcmd.a \
20         ${TOP_LIBDIR}/libusd.a \
21         ${XLIBS} \
22         ${TOP_LIBDIR}/util.a
23
24 fms: fms.o
25         $(AFS_LDRULE) fms.o ${FMSLIBS}
26
27 fms.o:  fms.c AFS_component_version_number.o
28
29 install: fms
30         ${INSTALL} -d ${DESTDIR}${sbindir}
31         ${INSTALL_PROGRAM} fms ${DESTDIR}${sbindir}/fms
32
33 dest: fms
34         ${INSTALL} -d ${DEST}/etc
35         ${INSTALL_PROGRAM} fms ${DEST}/etc/fms
36
37 clean:
38         $(RM) -f *.o fms AFS_component_version_number.c
39
40 include ../config/Makefile.version