Rev | Line | |
---|
[12159] | 1 | # $Id: Makefile.in,v 1.1 1998-11-30 15:24:24 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 | DEFS=@DEFS@ |
---|
| 16 | CPPFLAGS=@CPPFLAGS@ |
---|
| 17 | CFLAGS=@CFLAGS@ |
---|
| 18 | LDFLAGS=@LDFLAGS@ |
---|
| 19 | LIBS=-lhesiod @LIBS@ |
---|
| 20 | ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS} |
---|
| 21 | |
---|
| 22 | all: getcluster |
---|
| 23 | |
---|
| 24 | getcluster: getcluster.o |
---|
| 25 | ${CC} ${LDFLAGS} -o getcluster getcluster.o ${LIBS} |
---|
| 26 | |
---|
| 27 | .c.o: |
---|
| 28 | ${CC} -c ${ALL_CFLAGS} $< |
---|
| 29 | |
---|
| 30 | check: |
---|
| 31 | sh ${srcdir}/tests.sh |
---|
| 32 | |
---|
| 33 | install: |
---|
| 34 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} |
---|
| 35 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1 |
---|
| 36 | ${INSTALL_PROGRAM} getcluster ${DESTDIR}${bindir} |
---|
| 37 | ${INSTALL} -m 444 ${srcdir}/getcluster.1 ${DESTDIR}${mandir}/man1 |
---|
| 38 | |
---|
| 39 | clean: |
---|
| 40 | rm -f getcluster.o getcluster |
---|
| 41 | |
---|
| 42 | distclean: clean |
---|
| 43 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.