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