Revision 19233,
1001 bytes
checked in by ghudson, 21 years ago
(diff) |
Give default values for the local and fallback cluster files. Deprecate
changing those defaults on the command line.
Hostname should be specified with the -h option now. Allow specifying a
hostname on the command line bug ignore it. Use the contents of
/etc/athena/cluster as the hostname if it exists and no -h option was
given.
|
Line | |
---|
1 | # $Id: Makefile.in,v 1.4 2003-04-12 16:15:23 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 | lbindir=@lbindir@ |
---|
13 | mandir=@mandir@ |
---|
14 | sysconfdir=@sysconfdir@ |
---|
15 | |
---|
16 | CC=@CC@ |
---|
17 | DEFS=@DEFS@ |
---|
18 | CPPFLAGS=@CPPFLAGS@ |
---|
19 | CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS} |
---|
20 | LDFLAGS=@LDFLAGS@ |
---|
21 | LIBS=-lhesiod @LIBS@ |
---|
22 | ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS} -DSYSCONFDIR=\"${sysconfdir}\" |
---|
23 | |
---|
24 | all: getcluster |
---|
25 | |
---|
26 | getcluster: getcluster.o |
---|
27 | ${CC} ${LDFLAGS} -o getcluster getcluster.o ${LIBS} |
---|
28 | |
---|
29 | .c.o: |
---|
30 | ${CC} -c ${ALL_CFLAGS} $< |
---|
31 | |
---|
32 | check: |
---|
33 | sh ${srcdir}/tests.sh |
---|
34 | |
---|
35 | install: |
---|
36 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${lbindir} |
---|
37 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1 |
---|
38 | ${INSTALL_PROGRAM} getcluster ${DESTDIR}${lbindir} |
---|
39 | ${INSTALL} -m 444 ${srcdir}/getcluster.1 ${DESTDIR}${mandir}/man1 |
---|
40 | |
---|
41 | clean: |
---|
42 | rm -f getcluster.o getcluster |
---|
43 | |
---|
44 | distclean: clean |
---|
45 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.