source: trunk/athena/bin/access/Makefile.in @ 13586

Revision 13586, 1.0 KB checked in by danw, 25 years ago (diff)
build with warnings enabled
Line 
1# $Id: Makefile.in,v 1.4 1999-09-15 23:42:48 danw 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@
13
14CC=@CC@
15CPPFLAGS=@CPPFLAGS@
16CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS}
17LDFLAGS=@LDFLAGS@
18LIBS=@LIBS@
19ALL_CFLAGS=${CPPFLAGS} ${CFLAGS}
20
21all: access_off
22
23access_off: access_off.o
24        ${CC} ${LDFLAGS} -o access_off access_off.o ${LIBS}
25
26.c.o:
27        ${CC} -c ${ALL_CFLAGS} $<
28
29check:
30
31install:
32        ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
33        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
34        ${INSTALL_PROGRAM} -o root -m 4555 access_off ${DESTDIR}${bindir}
35        rm -f ${DESTDIR}${bindir}/access_on
36        ln -s access_off ${DESTDIR}${bindir}/access_on
37        ${INSTALL} -m 444 ${srcdir}/access_off.1 ${DESTDIR}${mandir}/man1
38        ${INSTALL} -m 444 ${srcdir}/access_on.1 ${DESTDIR}${mandir}/man1
39
40clean:
41        rm -f access_off.o access_off
42
43distclean: clean
44        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.