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
13 -I${TOP_OBJDIR}/src/config \
19 INCLS=${TOP_INCDIR}/afs/gtxobjects.h \
20 ${TOP_INCDIR}/afs/gtxwindows.h \
21 ${TOP_INCDIR}/afs/gtxcurseswin.h \
22 ${TOP_INCDIR}/afs/gtxdumbwin.h \
23 ${TOP_INCDIR}/afs/gtxX11win.h \
24 ${TOP_INCDIR}/afs/gtxobjects.h \
25 ${TOP_INCDIR}/afs/gtxlightobj.h \
26 ${TOP_INCDIR}/afs/gtxtextobj.h \
27 ${TOP_INCDIR}/afs/gtxobjdict.h \
28 ${TOP_INCDIR}/afs/keys.h \
29 ${TOP_INCDIR}/afs/cellconfig.h \
30 ${TOP_INCDIR}/afs/cmd.h \
31 ${TOP_INCDIR}/afs/xstat_fs.h \
32 ${TOP_INCDIR}/afs/xstat_cm.h \
35 LIBS=${TOP_LIBDIR}/libxstat_fs.a \
36 ${TOP_LIBDIR}/libxstat_cm.a \
37 ${TOP_LIBDIR}/libgtx.a \
38 ${TOP_LIBDIR}/libafsint.a \
39 ${TOP_LIBDIR}/libcmd.a \
40 ${TOP_LIBDIR}/librx.a \
41 ${TOP_LIBDIR}/liblwp.a \
42 ${TOP_LIBDIR}/libsys.a \
45 EXTRA_LIBS=${TXLIBS} ${TOP_LIBDIR}/libtermlib.a ${XLIBS}
49 afsmon-output.o: afsmon-output.c ${INCLS}
50 afsmon-win.o: afsmon-win.c ${INCLS}
51 afsmonitor.o: afsmonitor.c ${INCLS} AFS_component_version_number.c
53 afsmonitor: afsmonitor.o afsmon-win.o afsmon-output.o ${LIBS}
54 ${CC} ${LDFLAGS} -o afsmonitor afsmonitor.o afsmon-win.o \
55 afsmon-output.o ${LIBS} ${EXTRA_LIBS}
57 afsmon-parselog: afsmon-parselog.o ${LIBS}
58 ${CC} ${CFLAGS} -o afsmon-parselog afsmon-parselog.c \
64 install: ${DESTDIR}${bindir}/afsmonitor
67 $(RM) -f *.o afsmonitor AFS_component_version_number.c
69 include ../config/Makefile.version
70 ${DEST}/bin/afsmonitor: afsmonitor
73 ${DESTDIR}${bindir}/afsmonitor: afsmonitor
77 dest: ${DEST}/bin/afsmonitor