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
10 TOP_SRCDIR=@TOP_SRCDIR@
11 SYS_NAME=@AFS_SYSNAME@
13 # Makefile for Scout, the AFS navigation and monitoring tool.
16 include ../config/Makefile.${SYS_NAME}
19 -I${TOP_SRCDIR}/config \
21 -I${SRCDIR}include/afs \
22 -I${SRCDIR} ${XCFLAGS}
25 #RPCINCLS=${SRCDIR}include/lwp.h ${SRCDIR}include/rx/rx.h bosint.h
28 INCLS=${SRCDIR}include/afs/gtxobjects.h \
29 ${SRCDIR}include/afs/gtxwindows.h \
30 ${SRCDIR}include/afs/gtxcurseswin.h \
31 ${SRCDIR}include/afs/gtxdumbwin.h \
32 ${SRCDIR}include/afs/gtxX11win.h \
33 ${SRCDIR}include/afs/gtxobjects.h \
34 ${SRCDIR}include/afs/gtxlightobj.h \
35 ${SRCDIR}include/afs/gtxtextobj.h \
36 ${SRCDIR}include/afs/gtxobjdict.h \
38 ${SRCDIR}include/afs/keys.h \
39 ${SRCDIR}include/afs/cellconfig.h \
40 ${SRCDIR}include/afs/cmd.h
42 LIBS= ${SRCDIR}lib/afs/libgtx.a \
43 ${SRCDIR}lib/afs/libfsprobe.a \
44 ${SRCDIR}lib/afs/libvolser.a \
45 ${SRCDIR}lib/afs/libkauth.a \
46 ${SRCDIR}lib/afs/libauth.a \
47 ${SRCDIR}lib/librxkad.a \
48 ${SRCDIR}lib/libdes.a \
49 ${SRCDIR}lib/afs/libcmd.a \
50 ${SRCDIR}lib/afs/vlib.a ${SRCDIR}/lib/afs/libacl.a \
51 ${SRCDIR}lib/afs/libvldb.a \
52 ${SRCDIR}lib/libubik.a \
53 ${SRCDIR}lib/afs/libafsint.a \
54 ${SRCDIR}lib/afs/libsys.a \
55 ${SRCDIR}lib/librx.a \
56 ${SRCDIR}lib/afs/libsys.a \
57 ${SRCDIR}lib/afs/libaudit.a \
58 ${SRCDIR}lib/afs/libcom_err.a \
59 ${SRCDIR}lib/liblwp.a \
60 ${SRCDIR}lib/afs/util.a
62 EXTRA_LIBS= ${TXLIBS} ${SRCDIR}lib/afs/libtermlib.a ${XLIBS}
64 include ../config/Makefile.version
68 scout.o: scout.c ${INCLS} AFS_component_version_number.c
70 scout: scout.o $(LIBS)
71 ${CC} ${LDFLAGS} -o scout scout.o $(LIBS) ${EXTRA_LIBS}
79 ${INSTALL} scout ${DESTDIR}bin
82 rm -f *.o scout core AFS_component_version_number.c