venus: Remove dedebug
[openafs.git] / src / afsmonitor / 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         ${TOP_INCDIR}/afs/xstat_fs.h \
26         ${TOP_INCDIR}/afs/xstat_cm.h \
27         afsmonitor.h \
28         afsmon-labels.h
29
30 LT_deps=\
31         $(top_builddir)/src/xstat/liboafs_xstat_fs.la \
32         $(top_builddir)/src/xstat/liboafs_xstat_cm.la \
33         $(top_builddir)/src/gtx/liboafs_gtx.la \
34         $(top_builddir)/src/rxkad/liboafs_rxkad.la \
35         $(top_builddir)/src/fsint/liboafs_fsint.la \
36         $(top_builddir)/src/cmd/liboafs_cmd.la \
37         $(top_builddir)/src/util/liboafs_util.la \
38         $(top_builddir)/src/opr/liboafs_opr.la \
39         $(top_builddir)/src/lwp/liboafs_lwpcompat.la \
40         $(top_builddir)/src/volser/liboafs_volser.la \
41
42
43 EXTRA_LIBS=${LIB_curses} ${XLIBS}
44
45 all: afsmonitor
46
47 afsmon-output.o: afsmon-output.c ${INCLS}
48 afsmon-win.o: afsmon-win.c ${INCLS}
49 afsmonitor.o: afsmonitor.c ${INCLS} AFS_component_version_number.c
50
51 afsmonitor: afsmonitor.o afsmon-win.o afsmon-output.o ${LT_deps}
52         $(LT_LDRULE_static) afsmonitor.o afsmon-win.o afsmon-output.o \
53                 ${LT_deps} $(LIB_roken) ${EXTRA_LIBS}
54
55 afsmon-parselog:  afsmon-parselog.o ${LT_deps}
56         $(LT_LDRULE_static) afsmon-parselog.c \
57                 ${LT_deps} $(LIB_roken) ${EXTRA_LIBS}
58
59 install: afsmonitor
60         ${INSTALL} -d ${DESTDIR}${bindir}
61         ${INSTALL_PROGRAM} afsmonitor ${DESTDIR}${bindir}/afsmonitor
62
63 dest: afsmonitor
64         ${INSTALL} -d ${DEST}/bin
65         ${INSTALL_PROGRAM} afsmonitor ${DEST}/bin/afsmonitor
66
67 clean:
68         $(LT_CLEAN)
69         $(RM) -f *.o afsmonitor AFS_component_version_number.c
70
71 include ../config/Makefile.version