source: trunk/athena/bin/machtype/Makefile.in @ 14657

Revision 14657, 988 bytes checked in by rbasch, 24 years ago (diff)
Install in $lbindir instead of $bindir.
Line 
1# $Id: Makefile.in,v 1.2 2000-04-24 15:08:39 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@ ${WARN_CFLAGS} ${ERROR_CFLAGS}
19LDFLAGS=@LDFLAGS@
20LIBS=@LIBS@
21ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS}
22INSTALLFLAGS=@INSTALLFLAGS@
23
24OBJS=machtype.o @OS_OBJS@
25TARGET=@TARGET@
26
27all: ${TARGET}
28
29machtype: ${OBJS}
30        ${CC} ${LDFLAGS} -o machtype ${OBJS} ${LIBS}
31
32.c.o:
33        ${CC} -c ${ALL_CFLAGS} $<
34
35check:
36
37install:
38        ${top_srcdir}/mkinstalldirs ${DESTDIR}${lbindir}
39        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
40        ${INSTALL_PROGRAM} ${INSTALLFLAGS} ${TARGET} \
41                ${DESTDIR}${lbindir}/machtype
42        ${INSTALL} -m 444 ${srcdir}/machtype.1 ${DESTDIR}${mandir}/man1
43
44clean:
45        rm -f machtype ${OBJS}
46
47distclean: clean
48        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.