Version that uses libobject.a.

This commit is contained in:
ceriel 1986-12-01 15:35:28 +00:00
parent c57d4ff268
commit b44e39cce8
17 changed files with 85 additions and 51 deletions

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h

View file

@ -1,12 +1,14 @@
# $Header$ # $Header$
EM = ../../.. EM = ../../..
h = $(EM)/h h = $(EM)/h
LIBOBJ = $(EM)/modules/lib/libobject.a
CDIR = $(EM)/mach/proto/nas CDIR = $(EM)/mach/proto/nas
CPP = $(EM)/lib/cpp CPP = $(EM)/lib/cpp
DEF = DEF =
FFLAG = FFLAG =
CFLAGS = $(FFLAG) -O -I. -I$h $(DEF) INCL = -I. -I$h $(DEF)
CFLAGS = $(FFLAG) -O $(INCL)
YFLAGS = -d YFLAGS = -d
LDFLAGS = $(FFLAG) -i LDFLAGS = $(FFLAG) -i
@ -34,14 +36,14 @@ pr: $(MACH)
opr: opr:
make pr | opr make pr | opr
as: $(COBJ) as.o as: $(COBJ) as.o
$(CC) $(LDFLAGS) $(COBJ) as.o -o as $(CC) $(LDFLAGS) $(COBJ) as.o $(LIBOBJ) -o as
as.y: $(CDIR)/comm2.y as.y: $(CDIR)/comm2.y
$(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y $(CPP) -P -I. -I$h $(DEF) $(CDIR)/comm2.y >as.y
@echo "expect 1 shift/reduce conflict" @echo "expect 1 shift/reduce conflict"
lint: $(CSRC) as.c lint: $(CSRC) as.c
lint $(CSRC) as.c lint $(INCL) $(CSRC) as.c
y.tab.h: as.c y.tab.h: as.c
$(COBJ): y.tab.h $(COBJ): y.tab.h