Line | |
---|
1 | # $Id: Makefile.in,v 1.3 1999-09-21 01:40:25 danw 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 | lbindir=@lbindir@ |
---|
13 | mandir=@mandir@ |
---|
14 | |
---|
15 | CC=@CC@ |
---|
16 | DEFS=@DEFS@ |
---|
17 | CPPFLAGS=@CPPFLAGS@ |
---|
18 | CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS} |
---|
19 | LDFLAGS=@LDFLAGS@ |
---|
20 | LIBS=-lhesiod @LIBS@ |
---|
21 | ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS} |
---|
22 | |
---|
23 | all: getcluster |
---|
24 | |
---|
25 | getcluster: getcluster.o |
---|
26 | ${CC} ${LDFLAGS} -o getcluster getcluster.o ${LIBS} |
---|
27 | |
---|
28 | .c.o: |
---|
29 | ${CC} -c ${ALL_CFLAGS} $< |
---|
30 | |
---|
31 | check: |
---|
32 | sh ${srcdir}/tests.sh |
---|
33 | |
---|
34 | install: |
---|
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 | |
---|
40 | clean: |
---|
41 | rm -f getcluster.o getcluster |
---|
42 | |
---|
43 | distclean: clean |
---|
44 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.