projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix sccsid to use keywords and modern initialization syntax
[unix-history]
/
usr
/
src
/
usr.bin
/
mail
/
Makefile
diff --git
a/usr/src/usr.bin/mail/Makefile
b/usr/src/usr.bin/mail/Makefile
index
233e88b
..
50ba282
100644
(file)
--- a/
usr/src/usr.bin/mail/Makefile
+++ b/
usr/src/usr.bin/mail/Makefile
@@
-3,7
+3,7
@@
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
-# @(#)Makefile 5.
1
(Berkeley) %G%
+# @(#)Makefile 5.
3
(Berkeley) %G%
#
# Berkeley Mail
#
#
# Berkeley Mail
#
@@
-47,7
+47,7
@@
Mail: $S $(OBJS)
install: all
install -s Mail ${DESTDIR}/usr/ucb/Mail
install: all
install -s Mail ${DESTDIR}/usr/ucb/Mail
- cp misc/Mail.
help
* ${DESTDIR}/usr/lib
+ cp misc/Mail.* ${DESTDIR}/usr/lib
install -s fmt ${DESTDIR}/usr/ucb/fmt
cd ${DESTDIR}/usr/ucb; rm -f mail; ln Mail mail
install -s fmt ${DESTDIR}/usr/ucb/fmt
cd ${DESTDIR}/usr/ucb; rm -f mail; ln Mail mail
@@
-64,17
+64,25
@@
tags: $(SRCS)
clean:
$(RM) -f *.o
clean:
$(RM) -f *.o
- rm -f Mail a.out fmt x.c xs.c tags core
+ rm -f Mail a.out fmt x.c xs.c tags core
xhead.c
cp /dev/null strings
lint:
lint $(CFLAGS) $(SRCS)
cp /dev/null strings
lint:
lint $(CFLAGS) $(SRCS)
-fmt: fmt.c head.c
- $(CC) fmt.c head.c -o fmt
- $(RM) fmt.o head.o
+fmt: fmt.o xhead.o
+ $(CC) $(CFLAGS) fmt.o xhead.o -o fmt
size fmt
size fmt
+fmt.o: fmt.c
+ $(CC) $(CFLAGS) -c fmt.c
+
+xhead.c:
+ ln -s head.c xhead.c
+
+xhead.o: xhead.c
+ $(CC) $(CFLAGS) -c xhead.c
+
str.o: strings
$(XSTR)
$(CC) -R -c xs.c
str.o: strings
$(XSTR)
$(CC) -R -c xs.c