source: trunk/athena/bin/getcluster/Makefile.in @ 12275

Revision 12275, 914 bytes checked in by rbasch, 26 years ago (diff)
Install locally.
Line 
1# $Id: Makefile.in,v 1.2 1998-12-25 19:38:07 rbasch 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@
12lbindir=@lbindir@
13mandir=@mandir@
14
15CC=@CC@
16DEFS=@DEFS@
17CPPFLAGS=@CPPFLAGS@
18CFLAGS=@CFLAGS@
19LDFLAGS=@LDFLAGS@
20LIBS=-lhesiod @LIBS@
21ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS}
22
23all: getcluster
24
25getcluster: getcluster.o
26        ${CC} ${LDFLAGS} -o getcluster getcluster.o ${LIBS}
27
28.c.o:
29        ${CC} -c ${ALL_CFLAGS} $<
30
31check:
32        sh ${srcdir}/tests.sh
33
34install:
35        ${top_srcdir}/mkinstalldirs ${DESTDIR}${lbindir}
36        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
37        ${INSTALL_PROGRAM} getcluster ${DESTDIR}${lbindir}
38        ${INSTALL} -m 444 ${srcdir}/getcluster.1 ${DESTDIR}${mandir}/man1
39
40clean:
41        rm -f getcluster.o getcluster
42
43distclean: clean
44        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.