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
BSD 4_3 release
[unix-history]
/
usr
/
src
/
bin
/
as
/
Makefile
diff --git
a/usr/src/bin/as/Makefile
b/usr/src/bin/as/Makefile
index
acbc27f
..
e2ce885
100644
(file)
--- a/
usr/src/bin/as/Makefile
+++ b/
usr/src/bin/as/Makefile
@@
-1,4
+1,9
@@
-# Makefile 4.7 83/08/14
+#
+# 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.3 (Berkeley) 4/28/86
#
# 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,35
+97,31
@@
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) -c -R $(DFLAGS)
aspseudo.c
+ $
{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) a
s
+ rm -f $
{OBJS} instrs.as as core a.out err
s
install:
install -s as ${DESTDIR}/bin
print:
install:
install -s as ${DESTDIR}/bin
print:
- pr Makefile $(HDRS) $(SRCS)
-
-sources: ${SRCS} ${HDRS}
-${SRCS} ${HDRS}:
- sccs get $@
+ pr Makefile ${HDRS} ${SRCS}