source: trunk/athena/bin/passwd/Makefile.in @ 11500

Revision 11500, 853 bytes checked in by ghudson, 26 years ago (diff)
Add a passwd glue program which switches between kpasswd and /usr/bin/passwd, and updates {passwd,shadow,master.passwd}.local when a local password changes.
Line 
1# $Id: Makefile.in,v 1.1 1998-05-08 15:15:02 ghudson Exp $
2
3SHELL=/bin/sh
4INSTALL=@INSTALL@
5INSTALL_PROGRAM=@INSTALL_PROGRAM@
6VPATH=@srcdir@
7srcdir=@srcdir@
8top_srcdir=@top_srcdir@
9prefix=@prefix@
10exec_prefix=@exec_prefix@
11bindir=@bindir@
12mandir=@mandir@
13
14CC=@CC@
15CPPFLAGS=@CPPFLAGS@
16CFLAGS=@CFLAGS@
17DEFS=@DEFS@
18LDFLAGS=@LDFLAGS@
19LIBS=@LIBS@
20ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS}
21
22all: passwd
23
24passwd: passwd.o
25        ${CC} ${LDFLAGS} -o $@ passwd.o -lal -lhesiod ${LIBS}
26
27.c.o:
28        ${CC} -c ${ALL_CFLAGS} $<
29
30check:
31
32install:
33        ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
34        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
35        ${INSTALL_PROGRAM} -o root -m 4555 passwd ${DESTDIR}${bindir}
36        ${INSTALL} -m 444 ${srcdir}/passwd.1 ${DESTDIR}${mandir}/man1
37
38clean:
39        rm -f passwd.o passwd
40
41distclean: clean
42        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.