Revision 10030,
1010 bytes
checked in by ghudson, 27 years ago
(diff) |
Install access_off owned by root, since it's a setuid binary.
|
Rev | Line | |
---|
[10030] | 1 | # $Id: Makefile.in,v 1.3 1997-05-15 03:32:42 ghudson Exp $ |
---|
[9519] | 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 | CPPFLAGS=@CPPFLAGS@ |
---|
| 16 | CFLAGS=@CFLAGS@ |
---|
| 17 | LDFLAGS=@LDFLAGS@ |
---|
| 18 | LIBS=@LIBS@ |
---|
| 19 | ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} |
---|
| 20 | |
---|
| 21 | all: access_off |
---|
| 22 | |
---|
| 23 | access_off: access_off.o |
---|
| 24 | ${CC} ${LDFLAGS} -o access_off access_off.o ${LIBS} |
---|
| 25 | |
---|
| 26 | .c.o: |
---|
| 27 | ${CC} -c ${ALL_CFLAGS} $< |
---|
| 28 | |
---|
| 29 | check: |
---|
| 30 | |
---|
| 31 | install: |
---|
| 32 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} |
---|
| 33 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1 |
---|
[10030] | 34 | ${INSTALL_PROGRAM} -o root -m 4555 access_off ${DESTDIR}${bindir} |
---|
[9519] | 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 | |
---|
| 40 | clean: |
---|
| 41 | rm -f access_off.o access_off |
---|
| 42 | |
---|
| 43 | distclean: clean |
---|
| 44 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.