date and time created 87/12/12 17:14:19 by bostic
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 13 Dec 1987 09:14:19 +0000 (01:14 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 13 Dec 1987 09:14:19 +0000 (01:14 -0800)
SCCS-vsn: usr.bin/passwd/Makefile 5.1

usr/src/usr.bin/passwd/Makefile [new file with mode: 0644]

diff --git a/usr/src/usr.bin/passwd/Makefile b/usr/src/usr.bin/passwd/Makefile
new file mode 100644 (file)
index 0000000..d051633
--- /dev/null
@@ -0,0 +1,47 @@
+#
+# Copyright (c) 1987 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile    5.1     (Berkeley)      %G%
+#
+CFLAGS=        -O
+LIBC=  /lib/libc.a
+SRCS=  passwd.c
+OBJS=  passwd.o
+
+all: passwd
+
+passwd:        ${OBJS} ${LIBC}
+       ${CC} -o $@ ${CFLAGS} ${OBJS}
+
+clean: FRC
+       rm -f ${OBJS} core passwd
+
+depend: FRC
+       mkdep ${CFLAGS} ${SRCS}
+
+install: FRC
+       install -s -o root -g bin -m 4755 passwd ${DESTDIR}/bin/passwd
+       rm -f ${DESTDIR}/bin/chfn; ln ${DESTDIR}/bin/passwd ${DESTDIR}/bin/chfn
+       rm -f ${DESTDIR}/bin/chsh; ln ${DESTDIR}/bin/passwd ${DESTDIR}/bin/chsh
+
+lint: FRC
+       lint ${CFLAGS} ${SRCS}
+
+tags: FRC
+       ctags ${SRCS}
+
+FRC:
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+
+passwd.o: passwd.c /usr/include/sys/types.h /usr/include/sys/file.h
+passwd.o: /usr/include/sys/stat.h /usr/include/sys/time.h /usr/include/time.h
+passwd.o: /usr/include/sys/resource.h /usr/include/stdio.h
+passwd.o: /usr/include/signal.h /usr/include/machine/trap.h /usr/include/pwd.h
+passwd.o: /usr/include/ndbm.h /usr/include/errno.h /usr/include/strings.h
+passwd.o: /usr/include/ctype.h
+
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY