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 | |
---|
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 | mandir=@mandir@ |
---|
13 | |
---|
14 | CC=@CC@ |
---|
15 | CPPFLAGS=@CPPFLAGS@ |
---|
16 | CFLAGS=@CFLAGS@ |
---|
17 | LDFLAGS=@LDFLAGS@ |
---|
18 | LIBS=@LIBS@ |
---|
19 | ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} |
---|
20 | |
---|
21 | all: ansi unseg |
---|
22 | |
---|
23 | ansi: ansi.o |
---|
24 | ${CC} ${LDFLAGS} -o ansi ansi.o ${LIBS} |
---|
25 | |
---|
26 | unseg: unseg.o |
---|
27 | ${CC} ${LDFLAGS} -o unseg unseg.o ${LIBS} |
---|
28 | |
---|
29 | .c.o: |
---|
30 | ${CC} -c ${ALL_CFLAGS} $< |
---|
31 | |
---|
32 | check: |
---|
33 | |
---|
34 | install: |
---|
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 | |
---|
42 | clean: |
---|
43 | rm -f ansi.o ansi unseg.o unseg |
---|
44 | |
---|
45 | distclean: clean |
---|
46 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.