strlcpy restricted to array length.
[openafs.git] / src / scout / Makefile.in
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 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10 include @TOP_OBJDIR@/src/config/Makefile.pthread
11
12
13 INCLS=${TOP_INCDIR}/afs/gtxobjects.h \
14         ${TOP_INCDIR}/afs/gtxwindows.h \
15         ${TOP_INCDIR}/afs/gtxcurseswin.h \
16         ${TOP_INCDIR}/afs/gtxdumbwin.h \
17         ${TOP_INCDIR}/afs/gtxX11win.h \
18         ${TOP_INCDIR}/afs/gtxobjects.h \
19         ${TOP_INCDIR}/afs/gtxlightobj.h \
20         ${TOP_INCDIR}/afs/gtxtextobj.h \
21         ${TOP_INCDIR}/afs/gtxobjdict.h \
22         ${TOP_INCDIR}/afs/keys.h \
23         ${TOP_INCDIR}/afs/cellconfig.h \
24         ${TOP_INCDIR}/afs/cmd.h
25
26 LIBS=\
27         $(top_builddir)/src/fsprobe/liboafs_fsprobe.la \
28         $(top_builddir)/src/gtx/liboafs_gtx.la \
29         $(top_builddir)/src/rxkad/liboafs_rxkad.la \
30         $(top_builddir)/src/fsint/liboafs_fsint.la \
31         $(top_builddir)/src/cmd/liboafs_cmd.la \
32         $(top_builddir)/src/util/liboafs_util.la \
33         $(top_builddir)/src/opr/liboafs_opr.la \
34         $(top_builddir)/src/lwp/liboafs_lwpcompat.la \
35         $(top_builddir)/src/volser/liboafs_volser.la \
36
37 all: scout
38
39 #
40 # Build targets
41 #
42 scout.o: scout.c ${INCLS} AFS_component_version_number.c
43
44 scout: scout.o $(LIBS)
45         $(LT_LDRULE_static) scout.o $(LIBS) $(LIB_roken) ${LIB_curses} ${XLIBS}
46
47 #
48 # Installation targets
49 #
50 install: scout
51         ${INSTALL} -d ${DESTDIR}${bindir}
52         ${INSTALL_PROGRAM} scout ${DESTDIR}${bindir}/scout
53
54 dest: scout
55         ${INSTALL} -d ${DEST}/bin
56         ${INSTALL_PROGRAM} scout ${DEST}/bin/scout
57
58 #
59 # Misc targets
60 #
61 clean:
62         $(RM) -f *.o scout core AFS_component_version_number.c
63
64 include ../config/Makefile.version