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
8 # Makefile for Scout, the AFS navigation and monitoring tool.
11 include ../config/Makefile.${SYS_NAME}
14 -I${TOP_SRCDIR}/config \
16 -I${SRCDIR}include/afs \
17 -I${SRCDIR} ${XCFLAGS}
20 #RPCINCLS=${SRCDIR}include/lwp.h ${SRCDIR}include/rx/rx.h bosint.h
23 INCLS=${SRCDIR}include/afs/gtxobjects.h \
24 ${SRCDIR}include/afs/gtxwindows.h \
25 ${SRCDIR}include/afs/gtxcurseswin.h \
26 ${SRCDIR}include/afs/gtxdumbwin.h \
27 ${SRCDIR}include/afs/gtxX11win.h \
28 ${SRCDIR}include/afs/gtxobjects.h \
29 ${SRCDIR}include/afs/gtxlightobj.h \
30 ${SRCDIR}include/afs/gtxtextobj.h \
31 ${SRCDIR}include/afs/gtxobjdict.h \
33 ${SRCDIR}include/afs/keys.h \
34 ${SRCDIR}include/afs/cellconfig.h \
35 ${SRCDIR}include/afs/cmd.h
37 LIBS= ${SRCDIR}lib/afs/libgtx.a \
38 ${SRCDIR}lib/afs/libfsprobe.a \
39 ${SRCDIR}lib/afs/libvolser.a \
40 ${SRCDIR}lib/afs/libkauth.a \
41 ${SRCDIR}lib/afs/libauth.a \
42 ${SRCDIR}lib/librxkad.a \
43 ${SRCDIR}lib/libdes.a \
44 ${SRCDIR}lib/afs/libcmd.a \
45 ${SRCDIR}lib/afs/vlib.a ${SRCDIR}/lib/afs/libacl.a \
46 ${SRCDIR}lib/afs/libvldb.a \
47 ${SRCDIR}lib/libubik.a \
48 ${SRCDIR}lib/afs/libafsint.a \
49 ${SRCDIR}lib/afs/libsys.a \
50 ${SRCDIR}lib/librx.a \
51 ${SRCDIR}lib/afs/libsys.a \
52 ${SRCDIR}lib/afs/libaudit.a \
53 ${SRCDIR}lib/afs/libcom_err.a \
54 ${SRCDIR}lib/liblwp.a \
55 ${SRCDIR}lib/afs/util.a
57 EXTRA_LIBS= ${TXLIBS} ${SRCDIR}lib/afs/libtermlib.a ${XLIBS}
59 include ../config/Makefile.version
63 scout.o: scout.c ${INCLS} AFS_component_version_number.c
65 scout: scout.o $(LIBS)
66 ${CC} ${LDFLAGS} -o scout scout.o $(LIBS) ${EXTRA_LIBS}
74 ${INSTALL} scout ${DESTDIR}bin
77 rm -f *.o scout core AFS_component_version_number.c