1 # Copyright 2000, International Business Machines Corporation and others.
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
9 include @TOP_OBJDIR@/src/config/Makefile.config
11 INSTALL_DATA = @INSTALL_DATA@
12 INSTALL_PROGRAM = @INSTALL_PROGRAM@
13 INSTALL_SCRIPT = @INSTALL_SCRIPT@
15 INCLS=${TOP_INCDIR}/afs/gtxobjects.h \
16 ${TOP_INCDIR}/afs/gtxwindows.h \
17 ${TOP_INCDIR}/afs/gtxcurseswin.h \
18 ${TOP_INCDIR}/afs/gtxdumbwin.h \
19 ${TOP_INCDIR}/afs/gtxX11win.h \
20 ${TOP_INCDIR}/afs/gtxobjects.h \
21 ${TOP_INCDIR}/afs/gtxlightobj.h \
22 ${TOP_INCDIR}/afs/gtxtextobj.h \
23 ${TOP_INCDIR}/afs/gtxobjdict.h \
24 ${TOP_INCDIR}/afs/keys.h \
25 ${TOP_INCDIR}/afs/cellconfig.h \
26 ${TOP_INCDIR}/afs/cmd.h \
27 ${TOP_INCDIR}/afs/xstat_fs.h \
28 ${TOP_INCDIR}/afs/xstat_cm.h \
31 LIBS=${TOP_LIBDIR}/libxstat_fs.a \
32 ${TOP_LIBDIR}/libxstat_cm.a \
33 ${TOP_LIBDIR}/libgtx.a \
34 ${TOP_LIBDIR}/libafsint.a \
35 ${TOP_LIBDIR}/libcmd.a \
36 ${TOP_LIBDIR}/librx.a \
37 ${TOP_LIBDIR}/liblwp.a \
38 ${TOP_LIBDIR}/libsys.a \
41 EXTRA_LIBS=${TXLIBS} ${XLIBS}
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
49 afsmonitor: afsmonitor.o afsmon-win.o afsmon-output.o ${LIBS}
50 ${CC} ${LDFLAGS} -o afsmonitor afsmonitor.o afsmon-win.o \
51 afsmon-output.o ${LIBS} ${EXTRA_LIBS}
53 afsmon-parselog: afsmon-parselog.o ${LIBS}
54 ${CC} ${CFLAGS} -o afsmon-parselog afsmon-parselog.c \
58 ${INSTALL} -d ${DESTDIR}${bindir}
59 ${INSTALL} afsmonitor ${DESTDIR}${bindir}/afsmonitor
62 ${INSTALL} -d ${DEST}/bin
63 ${INSTALL} afsmonitor ${DEST}/bin/afsmonitor
66 $(RM) -f *.o afsmonitor AFS_component_version_number.c
68 include ../config/Makefile.version