Revision 9508,
817 bytes
checked in by ghudson, 28 years ago
(diff) |
Obey the environment variables CPPFLAGS, CFLAGS, LDFLAGS, and LIBS from
the configure-time environment.
Implement "make distclean".
|
Line | |
---|
1 | # $Id: Makefile.in,v 1.2 1997-01-04 06:07:11 ghudson Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | STRIP=@STRIP@ |
---|
5 | VPATH=@srcdir@ |
---|
6 | srcdir=@srcdir@ |
---|
7 | top_srcdir=@top_srcdir@ |
---|
8 | prefix=@prefix@ |
---|
9 | exec_prefix=@exec_prefix@ |
---|
10 | bindir=@bindir@ |
---|
11 | mandir=@mandir@ |
---|
12 | |
---|
13 | CC=@CC@ |
---|
14 | CPPFLAGS=@CPPFLAGS@ |
---|
15 | CFLAGS=@CFLAGS@ |
---|
16 | LDFLAGS=@LDFLAGS@ |
---|
17 | LIBS=@LIBS@ |
---|
18 | ALL_CFLAGS=-DSTRIP=\"${STRIP}\" ${CPPFLAGS} ${CFLAGS} |
---|
19 | |
---|
20 | all: xinstall |
---|
21 | |
---|
22 | xinstall: install.o |
---|
23 | ${CC} ${LDFLAGS} -o xinstall install.o ${LIBS} |
---|
24 | |
---|
25 | .c.o: |
---|
26 | ${CC} -c ${ALL_CFLAGS} $< |
---|
27 | |
---|
28 | check: |
---|
29 | |
---|
30 | install: |
---|
31 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} |
---|
32 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1 |
---|
33 | ./xinstall -c -m 555 xinstall ${DESTDIR}${bindir}/install |
---|
34 | ./xinstall -c -m 444 ${srcdir}/install.1 ${DESTDIR}${mandir}/man1 |
---|
35 | |
---|
36 | clean: |
---|
37 | rm -f install.o xinstall |
---|
38 | |
---|
39 | distclean: clean |
---|
40 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.