Commit | Line | Data |
---|---|---|
805e021f CE |
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 | ||
13 | all: fms | |
14 | ||
15 | FMSLIBS=${TOP_LIBDIR}/libcmd.a \ | |
16 | ${TOP_LIBDIR}/libusd.a \ | |
17 | ${XLIBS} \ | |
18 | ${TOP_LIBDIR}/util.a \ | |
19 | $(TOP_LIBDIR)/libopr.a | |
20 | ||
21 | fms: fms.o | |
22 | $(AFS_LDRULE) fms.o ${FMSLIBS} $(LIB_roken) | |
23 | ||
24 | fms.o: fms.c AFS_component_version_number.o | |
25 | ||
26 | install: fms | |
27 | ${INSTALL} -d ${DESTDIR}${sbindir} | |
28 | ${INSTALL_PROGRAM} fms ${DESTDIR}${sbindir}/fms | |
29 | ||
30 | dest: fms | |
31 | ${INSTALL} -d ${DEST}/etc | |
32 | ${INSTALL_PROGRAM} fms ${DEST}/etc/fms | |
33 | ||
34 | clean: | |
35 | $(RM) -f *.o fms AFS_component_version_number.c | |
36 | ||
37 | include ../config/Makefile.version |