initial-darwin-support-20010327
[openafs.git] / src / scout / Makefile
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 # Makefile for Scout, the AFS navigation and monitoring tool.
9 SHELL = /bin/sh
10 COMPONENT=scout
11 include ../config/Makefile.${SYS_NAME}
12
13 CFLAGS= ${DBUG} -I. \
14         -I${SRCDIR}include \
15         -I${SRCDIR}include/afs \
16         -I${SRCDIR} ${XCFLAGS}
17 LDFLAGS = ${XLDFLAGS}
18
19 #RPCINCLS=${SRCDIR}include/lwp.h ${SRCDIR}include/rx/rx.h bosint.h
20 RPCINCLS=
21
22 INCLS=${SRCDIR}include/afs/gtxobjects.h \
23         ${SRCDIR}include/afs/gtxwindows.h \
24         ${SRCDIR}include/afs/gtxcurseswin.h \
25         ${SRCDIR}include/afs/gtxdumbwin.h \
26         ${SRCDIR}include/afs/gtxX11win.h \
27         ${SRCDIR}include/afs/gtxobjects.h \
28         ${SRCDIR}include/afs/gtxlightobj.h \
29         ${SRCDIR}include/afs/gtxtextobj.h \
30         ${SRCDIR}include/afs/gtxobjdict.h \
31         ${RPCINCLS} \
32         ${SRCDIR}include/afs/keys.h \
33         ${SRCDIR}include/afs/cellconfig.h \
34         ${SRCDIR}include/afs/cmd.h
35  
36 LIBS=   ${SRCDIR}lib/afs/libgtx.a \
37         ${SRCDIR}lib/afs/libfsprobe.a \
38         ${SRCDIR}lib/afs/libvolser.a \
39         ${SRCDIR}lib/afs/libkauth.a \
40         ${SRCDIR}lib/afs/libauth.a \
41         ${SRCDIR}lib/librxkad.a \
42         ${SRCDIR}lib/libdes.a \
43         ${SRCDIR}lib/afs/libcmd.a \
44         ${SRCDIR}lib/afs/vlib.a ${SRCDIR}/lib/afs/libacl.a \
45         ${SRCDIR}lib/afs/libvldb.a \
46         ${SRCDIR}lib/libubik.a \
47         ${SRCDIR}lib/afs/libafsint.a \
48         ${SRCDIR}lib/afs/libsys.a \
49         ${SRCDIR}lib/librx.a \
50         ${SRCDIR}lib/afs/libsys.a \
51         ${SRCDIR}lib/afs/libaudit.a \
52         ${SRCDIR}lib/afs/libcom_err.a \
53         ${SRCDIR}lib/liblwp.a \
54         ${SRCDIR}lib/afs/util.a
55
56 EXTRA_LIBS= ${TXLIBS} ${SRCDIR}lib/afs/libtermlib.a  ${XLIBS}
57
58 include ../config/Makefile.version
59
60 all: scout
61
62 scout.o: scout.c ${INCLS} AFS_component_version_number.c
63
64 scout: scout.o $(LIBS)
65         ${CC} ${LDFLAGS} -o scout scout.o $(LIBS) ${EXTRA_LIBS}
66
67 #
68 # Misc others
69 #
70 system: install
71
72 install: all
73         ${INSTALL} scout ${DESTDIR}bin
74
75 clean:
76         rm -f  *.o scout core AFS_component_version_number.c