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 | |
---|
3 | SHELL=/bin/sh |
---|
4 | INSTALL=@INSTALL@ |
---|
5 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
6 | VPATH=@srcdir@ |
---|
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 | DEFS=@DEFS@ |
---|
18 | LDFLAGS=@LDFLAGS@ |
---|
19 | LIBS=@LIBS@ |
---|
20 | ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS} |
---|
21 | |
---|
22 | all: passwd |
---|
23 | |
---|
24 | passwd: passwd.o |
---|
25 | ${CC} ${LDFLAGS} -o $@ passwd.o -lal -lhesiod ${LIBS} |
---|
26 | |
---|
27 | .c.o: |
---|
28 | ${CC} -c ${ALL_CFLAGS} $< |
---|
29 | |
---|
30 | check: |
---|
31 | |
---|
32 | install: |
---|
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 | |
---|
38 | clean: |
---|
39 | rm -f passwd.o passwd |
---|
40 | |
---|
41 | distclean: clean |
---|
42 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.