source: trunk/athena/bin/ansi/Makefile.in @ 10458

Revision 10458, 976 bytes checked in by ghudson, 27 years ago (diff)
Use an autoconf build system.
Line 
1# $Id: Makefile.in,v 1.1 1997-10-02 17:27:13 ghudson 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@
12mandir=@mandir@
13
14CC=@CC@
15CPPFLAGS=@CPPFLAGS@
16CFLAGS=@CFLAGS@
17LDFLAGS=@LDFLAGS@
18LIBS=@LIBS@
19ALL_CFLAGS=${CPPFLAGS} ${CFLAGS}
20
21all: ansi unseg
22
23ansi: ansi.o
24        ${CC} ${LDFLAGS} -o ansi ansi.o ${LIBS}
25
26unseg: unseg.o
27        ${CC} ${LDFLAGS} -o unseg unseg.o ${LIBS}
28
29.c.o:
30        ${CC} -c ${ALL_CFLAGS} $<
31
32check:
33
34install:
35        ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
36        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
37        ${INSTALL_PROGRAM} ansi ${DESTDIR}${bindir}
38        ${INSTALL_PROGRAM} unseg ${DESTDIR}${bindir}
39        ${INSTALL} -m 444 ${srcdir}/ansi.1 ${DESTDIR}${mandir}/man1
40        ${INSTALL} -m 444 ${srcdir}/unseg.1 ${DESTDIR}${mandir}/man1
41
42clean:
43        rm -f ansi.o ansi unseg.o unseg
44
45distclean: clean
46        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.