Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / afsmonitor / 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
13 INCLS=${TOP_INCDIR}/afs/gtxobjects.h \
14 ${TOP_INCDIR}/afs/gtxwindows.h \
15 ${TOP_INCDIR}/afs/gtxcurseswin.h \
16 ${TOP_INCDIR}/afs/gtxdumbwin.h \
17 ${TOP_INCDIR}/afs/gtxX11win.h \
18 ${TOP_INCDIR}/afs/gtxobjects.h \
19 ${TOP_INCDIR}/afs/gtxlightobj.h \
20 ${TOP_INCDIR}/afs/gtxtextobj.h \
21 ${TOP_INCDIR}/afs/gtxobjdict.h \
22 ${TOP_INCDIR}/afs/keys.h \
23 ${TOP_INCDIR}/afs/cellconfig.h \
24 ${TOP_INCDIR}/afs/cmd.h \
25 ${TOP_INCDIR}/afs/xstat_fs.h \
26 ${TOP_INCDIR}/afs/xstat_cm.h \
27 afsmonitor.h \
28 afsmon-labels.h
29 LIBS=${TOP_LIBDIR}/libxstat_fs.a \
30 ${TOP_LIBDIR}/libxstat_cm.a \
31 ${TOP_LIBDIR}/libgtx.a \
32 ${TOP_LIBDIR}/libafsint.a \
33 ${TOP_LIBDIR}/libcmd.a \
34 ${TOP_LIBDIR}/librx.a \
35 ${TOP_LIBDIR}/libafshcrypto_lwp.a \
36 ${TOP_LIBDIR}/liblwp.a \
37 ${TOP_LIBDIR}/libsys.a \
38 $(TOP_LIBDIR)/libopr.a \
39 ${TOP_LIBDIR}/util.a
40
41 EXTRA_LIBS=${LIB_curses} ${XLIBS}
42
43 all: afsmonitor
44
45 afsmon-output.o: afsmon-output.c ${INCLS}
46 afsmon-win.o: afsmon-win.c ${INCLS}
47 afsmonitor.o: afsmonitor.c ${INCLS} AFS_component_version_number.c
48
49 afsmonitor: afsmonitor.o afsmon-win.o afsmon-output.o ${LIBS}
50 $(AFS_LDRULE) afsmonitor.o afsmon-win.o afsmon-output.o \
51 ${LIBS} $(LIB_roken) ${EXTRA_LIBS}
52
53 afsmon-parselog: afsmon-parselog.o ${LIBS}
54 $(AFS_LDRULE) afsmon-parselog.c \
55 ${LIBS} $(LIB_roken) ${EXTRA_LIBS}
56
57 install: afsmonitor
58 ${INSTALL} -d ${DESTDIR}${bindir}
59 ${INSTALL_PROGRAM} afsmonitor ${DESTDIR}${bindir}/afsmonitor
60
61 dest: afsmonitor
62 ${INSTALL} -d ${DEST}/bin
63 ${INSTALL_PROGRAM} afsmonitor ${DEST}/bin/afsmonitor
64
65 clean:
66 $(RM) -f *.o afsmonitor AFS_component_version_number.c
67
68 include ../config/Makefile.version