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
file reorg, pathnames.h, paths.h
[unix-history]
/
usr
/
src
/
old
/
dbx
/
Makefile
diff --git
a/usr/src/old/dbx/Makefile
b/usr/src/old/dbx/Makefile
index
8c9c643
..
151a50c
100644
(file)
--- a/
usr/src/old/dbx/Makefile
+++ b/
usr/src/old/dbx/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
2
(Berkeley) %G%
+# @(#)Makefile 5.1
5
(Berkeley) %G%
#
# make file for debugger "dbx"
#
#
# make file for debugger "dbx"
#
@@
-11,11
+11,11
@@
#
.SUFFIXES:
#
.SUFFIXES:
-.SUFFIXES: .h .c .s .o
+.SUFFIXES: .h .c .s .o
.1 .0
AOUT = tdbx
DESTDIR =
AOUT = tdbx
DESTDIR =
-DEST = /usr/
ucb
/dbx
+DEST = /usr/
bin
/dbx
CC = cc
AS = as
CC = cc
AS = as
@@
-133,14
+133,14
@@
SRC = \
.s.o:
@echo "assembling $*.s"
@rm -f tmp
.s.o:
@echo "assembling $*.s"
@rm -f tmp
- @
/lib/cpp $*.s |
grep -v "^#" > tmp
+ @
cpp $*.s | e
grep -v "^#" > tmp
@${AS} -o $*.o tmp
@rm -f tmp
.c.h:
./makedefs -f $*.c $*.h
@${AS} -o $*.o tmp
@rm -f tmp
.c.h:
./makedefs -f $*.c $*.h
-${AOUT}: makedefs mkdate ${HDR} ${OBJ}
+
all
${AOUT}: makedefs mkdate ${HDR} ${OBJ}
@rm -f date.c
@./mkdate > date.c
@echo "linking"
@rm -f date.c
@./mkdate > date.c
@echo "linking"
@@
-195,6
+195,9
@@
clean:
cerror.s ops.c machine.c runtime.c date.o
@chdir tests; make clean
cerror.s ops.c machine.c runtime.c date.o
@chdir tests; make clean
+cleandir: clean
+ rm -f dbx.0 tags .depend
+
cleandefs:
rm -f ${HDR} y.tab.h
cleandefs:
rm -f ${HDR} y.tab.h
@@
-203,8
+206,9
@@
testinstall: ${AOUT} test install
test:
@cd tests; make
test:
@cd tests; make
-install: ${AOUT}
+install: ${AOUT}
dbx.0
install -s -o bin -g bin -m 755 ${AOUT} ${DESTDIR}${DEST}
install -s -o bin -g bin -m 755 ${AOUT} ${DESTDIR}${DEST}
+ install -c -o bin -g bin -m 444 dbx.0 ${DESTDIR}/usr/man/cat1
#
# Create a tar file called "tape" containing relevant files.
#
# Create a tar file called "tape" containing relevant files.