pci: don't do sanity check for missing pci bus, the check can misfire.
[minix.git] / commands / byacc / Makefile
blobc36e7028bd9510517a2d564c848f842990b30911
1 # Makefile for Berkeley yacc.
3 BINDIR = /usr/bin
5 HDRS = defs.h
7 CFLAGS = -DNDEBUG -D_MINIX -D_POSIX_SOURCE -wo $(OPT)
9 LDFLAGS = -i
11 LIBS =
13 CC = exec cc
15 LINKER = $(CC)
17 MAKEFILE = Makefile
19 OBJS = closure.o \
20 error.o \
21 lalr.o \
22 lr0.o \
23 main.o \
24 mkpar.o \
25 output.o \
26 reader.o \
27 skeleton.o \
28 symtab.o \
29 verbose.o \
30 warshall.o
32 PRINT = pr -f -l88
34 PROGRAM = yacc
36 SRCS = closure.c \
37 error.c \
38 lalr.c \
39 lr0.c \
40 main.c \
41 mkpar.c \
42 output.c \
43 reader.c \
44 skeleton.c \
45 symtab.c \
46 verbose.c \
47 warshall.c
49 all: $(PROGRAM)
51 $(PROGRAM): $(OBJS) $(LIBS)
52 $(LINKER) $(LDFLAGS) -o $(PROGRAM) $(OBJS) $(LIBS)
53 install -S 484k $(PROGRAM)
55 install: $(BINDIR)/yacc
57 $(BINDIR)/yacc: $(PROGRAM)
58 install -cs -o bin $(PROGRAM) $@
60 clean:; rm -f $(OBJS) $(PROGRAM) core
62 #depend:; @mkmf -f $(MAKEFILE) PROGRAM=$(PROGRAM) DEST=$(DEST)
64 #index:; @ctags -wx $(HDRS) $(SRCS)
66 #listing:; @$(PRINT) Makefile $(HDRS) $(SRCS) | lpr
68 #lint:; @lint $(SRCS)
70 #program: $(PROGRAM)
72 #tags: $(HDRS) $(SRCS); @ctags $(HDRS) $(SRCS)
74 ###
75 closure.o: defs.h
76 error.o: defs.h
77 lalr.o: defs.h
78 lr0.o: defs.h
79 main.o: defs.h
80 mkpar.o: defs.h
81 output.o: defs.h
82 reader.o: defs.h
83 skeleton.o: defs.h
84 symtab.o: defs.h
85 verbose.o: defs.h
86 warshall.o: defs.h