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
Add copyright
[unix-history]
/
usr
/
src
/
old
/
as.vax
/
Makefile
diff --git
a/usr/src/old/as.vax/Makefile
b/usr/src/old/as.vax/Makefile
index
e84eab6
..
b76414c
100644
(file)
--- a/
usr/src/old/as.vax/Makefile
+++ b/
usr/src/old/as.vax/Makefile
@@
-1,4
+1,9
@@
-# Makefile 4.6 83/07/02
+#
+# Copyright (c) 1980 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%
#
# as.h Definitions for data structures
# asnumber.h Definitions for all numbers: byte .. G format float
#
# as.h Definitions for data structures
# asnumber.h Definitions for all numbers: byte .. G format float
@@
-37,7
+42,8
@@
# instrs included in pseudo.c; instructions and semantic info
# for each instructions
#
# instrs included in pseudo.c; instructions and semantic info
# for each instructions
#
-HDRS = astoks.H astokfix.awk as.h asscan.h assyms.h asexpr.h
+HDRS = astoks.H astokfix.awk as.h asexpr.h asnumber.h asscan.h asscanl.h \
+ assyms.h instrs.h
SRCS = asscan1.c asscan2.c asscan3.c asscan4.c \
bignum1.c bignum2.c natof.c floattab.c \
SRCS = asscan1.c asscan2.c asscan3.c asscan4.c \
bignum1.c bignum2.c natof.c floattab.c \
@@
-91,37
+97,34
@@
AS = /bin/as
LD = /bin/ld
DFLAGS= -DAS
LD = /bin/ld
DFLAGS= -DAS
-CFLAGS = -O $
(DFLAGS)
+CFLAGS = -O $
{DFLAGS}
LDFLAGS = -O
LDFLAGS = -O
-as: $
(OBJS)
- $
(CC) $(LDFLAGS) $(OBJS)
-o as
+as: $
{OBJS}
+ $
{CC} ${LDFLAGS} ${OBJS}
-o as
-.c.o: astoks.h
- $
(CC) $(CFLAGS)
-c $*.c
+.c.o: astoks.h
${HDRS}
+ $
{CC} ${CFLAGS}
-c $*.c
astoks.h: astoks.H astokfix.awk
awk -f astokfix.awk < astoks.H > astoks.h
aspseudo.o: as.h astoks.h aspseudo.c instrs.h instrs.as
astoks.h: astoks.H astokfix.awk
awk -f astokfix.awk < astoks.H > astoks.h
aspseudo.o: as.h astoks.h aspseudo.c instrs.h instrs.as
- $(CC) -S $(DFLAGS) aspseudo.c
- sh ./:rofix aspseudo.s
- $(AS) -o aspseudo.o aspseudo.s
- rm aspseudo.s
+ ${CC} -c -R ${DFLAGS} aspseudo.c
instrs.as: instrs
(echo FLAVOR AS ; cat instrs) | awk -f instrs > instrs.as
lint:
instrs.as: instrs
(echo FLAVOR AS ; cat instrs) | awk -f instrs > instrs.as
lint:
- lint $
(DFLAGS) $(SRCS)
+ lint $
{DFLAGS} ${SRCS}
clean:
clean:
- rm -f $
(OBJS)
as
+ rm -f $
{OBJS}
as
install:
install -s as ${DESTDIR}/bin
print:
install:
install -s as ${DESTDIR}/bin
print:
- pr Makefile $
(HDRS) $(SRCS)
+ pr Makefile $
{HDRS} ${SRCS}
sources: ${SRCS} ${HDRS}
${SRCS} ${HDRS}:
sources: ${SRCS} ${HDRS}
${SRCS} ${HDRS}: