source: trunk/athena/bin/install/Makefile.in @ 9508

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
3SHELL=/bin/sh
4STRIP=@STRIP@
5VPATH=@srcdir@
6srcdir=@srcdir@
7top_srcdir=@top_srcdir@
8prefix=@prefix@
9exec_prefix=@exec_prefix@
10bindir=@bindir@
11mandir=@mandir@
12
13CC=@CC@
14CPPFLAGS=@CPPFLAGS@
15CFLAGS=@CFLAGS@
16LDFLAGS=@LDFLAGS@
17LIBS=@LIBS@
18ALL_CFLAGS=-DSTRIP=\"${STRIP}\" ${CPPFLAGS} ${CFLAGS}
19
20all: xinstall
21
22xinstall: install.o
23        ${CC} ${LDFLAGS} -o xinstall install.o ${LIBS}
24
25.c.o:
26        ${CC} -c ${ALL_CFLAGS} $<
27
28check:
29
30install:
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
36clean:
37        rm -f install.o xinstall
38
39distclean: clean
40        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.