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