aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/window/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-10-26 10:00:52 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-10-26 10:00:52 +0000
commite218b63212e0698ca73953f276748e8074412fad (patch)
tree625298f1a9d258f3648b84c8f189025b46af5c42 /usr.bin/window/Makefile
parentcc66bbda3cc8983c8b826e68207af4418ada3993 (diff)
Having a local `string.h' is just asking for trouble. As is having a
`struct string'. Rename the struct and effectively rename the header to `mystring.h'
Notes
Notes: svn path=/head/; revision=67606
Diffstat (limited to 'usr.bin/window/Makefile')
-rw-r--r--usr.bin/window/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.bin/window/Makefile b/usr.bin/window/Makefile
index fba358747c6a..e1654a6f00f3 100644
--- a/usr.bin/window/Makefile
+++ b/usr.bin/window/Makefile
@@ -1,4 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
PROG= window
SRCS= char.c cmd.c cmd1.c cmd2.c cmd3.c cmd4.c cmd5.c cmd6.c cmd7.c \
@@ -14,8 +15,17 @@ SRCS= char.c cmd.c cmd1.c cmd2.c cmd3.c cmd4.c cmd5.c cmd6.c cmd7.c \
wwredrawwin.c wwrint.c wwscroll.c wwsize.c wwspawn.c wwsuspend.c \
wwterminfo.c wwtty.c wwunframe.c wwupdate.c wwwrite.c xx.c xxflush.c \
compress.c
+SRCS+= mystring.h
MAN= window.1
+
+CFLAGS+= -I.
+
DPADD= ${LIBTERMCAP}
LDADD= -ltermcap
+mystring.h: string.h
+ ln -sf ${.ALLSRC} ${.TARGET}
+
+CLEANFILES+= mystring.h
+
.include <bsd.prog.mk>