source: trunk/athena/bin/cxref/Makefile.in @ 13595

Revision 13595, 1.4 KB checked in by danw, 25 years ago (diff)
stop building our own basename
Line 
1# $Id: Makefile.in,v 1.3 1999-09-18 20:59:54 danw Exp $
2
3SHELL=/bin/sh
4VPATH=@srcdir@
5INSTALL=@INSTALL@
6INSTALL_PROGRAM=@INSTALL_PROGRAM@
7srcdir=@srcdir@
8top_srcdir=@top_srcdir@
9prefix=@prefix@
10exec_prefix=@exec_prefix@
11bindir=@bindir@
12libexecdir=@libexecdir@
13mandir=@mandir@
14
15CC=@CC@
16DEFS=@DEFS@
17CPPFLAGS=@CPPFLAGS@
18CFLAGS=@CFLAGS@ ${WARN_CFLAGS}
19LDFLAGS=@LDFLAGS@
20LIBS=@LIBS@
21ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS} -DLIBEXECDIR=\"${libexecdir}\"
22
23all: docxref fmtxref cxrfilt cxref
24
25docxref: docxref.o cscan.o
26        ${CC} ${LDFLAGS} -o docxref docxref.o cscan.o ${LIBS}
27
28fmtxref: fmtxref.o
29        ${CC} ${LDFLAGS} -o fmtxref fmtxref.o ${LIBS}
30
31cxrfilt: cxrfilt.o
32        ${CC} ${LDFLAGS} -o cxrfilt cxrfilt.o ${LIBS}
33
34cxref: cxref.o
35        ${CC} ${LDFLAGS} -o cxref cxref.o ${LIBS}
36
37.c.o:
38        ${CC} -c ${ALL_CFLAGS} $<
39
40cxrfilt.o: constdefs.h
41
42check:
43
44install:
45        ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
46        ${top_srcdir}/mkinstalldirs ${DESTDIR}${libexecdir}/cxref
47        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
48        ${INSTALL_PROGRAM} cxref ${DESTDIR}${bindir}
49        ${INSTALL_PROGRAM} docxref ${DESTDIR}${libexecdir}/cxref
50        ${INSTALL_PROGRAM} fmtxref ${DESTDIR}${libexecdir}/cxref
51        ${INSTALL_PROGRAM} cxrfilt ${DESTDIR}${libexecdir}/cxref
52        ${INSTALL} -m 444 ${srcdir}/cxref.1 ${DESTDIR}${mandir}/man1
53
54clean:
55        rm -f docxref.o fmtxref.o cxrfilt.o cxref.o cscan.o
56        rm -f docxref fmtxref cxrfilt cxref
57
58distclean: clean
59        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.