rx: Use a red black tree for the event stack
[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}/liblwp.a \
36         ${TOP_LIBDIR}/libsys.a \
37         $(TOP_LIBDIR)/libopr.a \
38         ${TOP_LIBDIR}/util.a
39
40 EXTRA_LIBS=${LIB_curses} ${XLIBS}
41
42 all: afsmonitor
43
44 afsmon-output.o: afsmon-output.c ${INCLS}
45 afsmon-win.o: afsmon-win.c ${INCLS}
46 afsmonitor.o: afsmonitor.c ${INCLS} AFS_component_version_number.c
47
48 afsmonitor: afsmonitor.o afsmon-win.o afsmon-output.o ${LIBS}
49         $(AFS_LDRULE) afsmonitor.o afsmon-win.o afsmon-output.o \
50                 ${LIBS} $(LIB_roken) ${EXTRA_LIBS}
51
52 afsmon-parselog:  afsmon-parselog.o ${LIBS}
53         $(AFS_LDRULE) afsmon-parselog.c \
54                 ${LIBS} $(LIB_roken) ${EXTRA_LIBS}
55
56 install: afsmonitor
57         ${INSTALL} -d ${DESTDIR}${bindir}
58         ${INSTALL_PROGRAM} afsmonitor ${DESTDIR}${bindir}/afsmonitor
59
60 dest: afsmonitor
61         ${INSTALL} -d ${DEST}/bin
62         ${INSTALL_PROGRAM} afsmonitor ${DEST}/bin/afsmonitor
63
64 clean:
65         $(RM) -f *.o afsmonitor AFS_component_version_number.c
66
67 include ../config/Makefile.version