Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / rxdebug / Makefile.in
CommitLineData
805e021f
CE
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
8srcdir=@srcdir@
9include @TOP_OBJDIR@/src/config/Makefile.config
10include @TOP_OBJDIR@/src/config/Makefile.lwp
11
12
13LIBS=${TOP_LIBDIR}/librx.a \
14 ${TOP_LIBDIR}/libafshcrypto_lwp.a \
15 ${TOP_LIBDIR}/liblwp.a \
16 ${TOP_LIBDIR}/libcmd.a \
17 ${TOP_LIBDIR}/libsys.a \
18 ${TOP_LIBDIR}/libopr.a \
19 ${TOP_LIBDIR}/libafsutil.a
20
21all: rxdebug rxdumptrace
22
23rxdebug.o: rxdebug.c
24
25CFLAGS_rxdumptrace.o=-DDUMPTRACE
26rxdumptrace.o: ../rx/rx_trace.c
27 $(AFS_CCRULE) $(srcdir)/../rx/rx_trace.c
28
29rxdumptrace: rxdumptrace.o ${LIBS}
30 $(AFS_LDRULE) rxdumptrace.o ${LIBS} $(LIB_roken) ${XLIBS}
31
32rxdebug: rxdebug.o ${LIBS}
33 $(AFS_LDRULE) rxdebug.o ${LIBS} $(LIB_roken) ${XLIBS}
34
35#
36# Install targets
37#
38install: rxdebug
39 ${INSTALL} -d ${DESTDIR}${sbindir}
40 ${INSTALL_PROGRAM} rxdebug ${DESTDIR}${sbindir}/rxdebug
41
42dest: rxdebug
43 ${INSTALL} -d ${DEST}/etc
44 ${INSTALL_PROGRAM} rxdebug ${DEST}/etc/rxdebug
45
46#
47# Misc. targets
48#
49clean:
50 $(RM) -f *.o *.a core *_component_version_number.c rxdumptrace rxdebug
51
52include ../config/Makefile.version