source: trunk/athena/bin/xcluster/Makefile.in @ 12283

Revision 12283, 1.4 KB checked in by ghudson, 26 years ago (diff)
Move here from athena/bin/dash/src/xcluster and autoconfiscate.
Line 
1# $Id: Makefile.in,v 1.1 1998-12-27 15:44:22 ghudson 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@
12mandir=@mandir@
13datadir=@datadir@
14
15CC=@CC@
16DEFS=@DEFS@
17CPPFLAGS=@CPPFLAGS@
18CFLAGS=@CFLAGS@
19X_CFLAGS=@X_CFLAGS@
20LDFLAGS=@LDFLAGS@
21X_LIBS=@X_LIBS@
22X_PRE_LIBS=@X_PRE_LIBS@
23X_EXTRA_LIBS=@X_EXTRA_LIBS@
24LIBS=@LIBS@
25ALL_LDFLAGS=${LDFLAGS} ${X_LIBS}
26ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${X_CFLAGS} ${DEFS}
27ALL_LIBS=-lhesiod -lXj ${X_PRE_LIBS} -lX11 ${X_EXTRA_LIBS} ${LIBS}
28
29XOBJS=xcluster.o read.o net.o check.o
30COBJS=cview.o net.o
31
32all: xcluster cview
33
34xcluster: ${XOBJS}
35        ${CC} ${ALL_LDFLAGS} -o $@ ${XOBJS} ${ALL_LIBS}
36
37cview: ${COBJS}
38        ${CC} ${ALL_LDFLAGS} -o $@ ${COBJS} ${ALL_LIBS}
39
40.c.o:
41        ${CC} -c ${ALL_CFLAGS} $<
42
43check:
44
45install:
46        ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
47        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
48        ${top_srcdir}/mkinstalldirs ${DESTDIR}${datadir}/X11/app-defaults
49        ${INSTALL_PROGRAM} xcluster ${DESTDIR}${bindir}
50        ${INSTALL_PROGRAM} cview ${DESTDIR}${bindir}
51        ${INSTALL} -m 444 ${srcdir}/xcluster.1 ${DESTDIR}${mandir}/man1
52        ${INSTALL} -m 444 ${srcdir}/cview.1 ${DESTDIR}${mandir}/man1
53        ${INSTALL} -m 444 Xcluster ${DESTDIR}${datadir}/X11/app-defaults
54
55clean:
56        rm -f ${XOBJS} ${COBJS} xcluster cview
57
58distclean: clean
59        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.