|
|
BSD 4.3
# $Header: /var/lib/cvsd/repos/CSRG/43BSD/contrib/xns/compiler/Makefile,v 1.1.1.1 2018/04/24 16:12:54 root Exp $
#
# $Log: Makefile,v $
# Revision 1.1.1.1 2018/04/24 16:12:54 root
# BSD 4.3
#
# Revision 2.1 85/11/21 10:39:51 jqj
# make sure lex.yy.c etc are not around!
#
# Revision 2.0 85/11/21 07:21:26 jqj
# 4.3BSD standard release
#
# Revision 1.6 85/10/30 07:36:03 root
# BINDIR=/usr/new by default
#
# Revision 1.5 85/05/06 08:12:49 jqj
# Almost Beta-test version.
#
# Revision 1.4 85/03/26 06:09:17 jqj
# Revised public alpha-test version, released 26 March 1985
#
# Revision 1.3 85/03/11 16:38:29 jqj
# Public alpha-test version, released 11 March 1985
#
# Revision 1.2 85/02/21 11:04:38 jqj
# alpha test version
#
# Note: the library, including /usr/include/courier.h, must be installed first
RCSREV=
RCSNAME=current
OBJS = checktype.o constants.o constantcode.o code.o lex.yy.o main.o \
misc.o procedures.o symbols.o types.o typecode.o y.tab.o
CFLAGS = -DDEBUG -O
LDFLAGS =
DESTDIR =
BINDIR = /usr/new
xnscourier: $(OBJS)
cc $(CFLAGS) -o xnscourier $(OBJS) -ll -lcourier $(LDFLAGS)
install: xnscourier
install -c -s xnscourier ${BINDIR}/xnscourier
y.tab.h y.tab.c: courier.y
-@rm -f y.tab.c y.tab.h
@echo expect one shift/reduce conflict
yacc -d courier.y
lex.yy.c: scanner.l
-@rm -f lex.yy.c
lex scanner.l
$(OBJS): compiler.h
lex.yy.o: y.tab.o
lint: y.tab.c lex.yy.c
lint -hx code.c main.c misc.c symbols.c types.c typecode.c \
checktype.c constants.c constantcode.c procedures.c \
y.tab.c lex.yy.c
tags: code.c main.c misc.c symbols.c types.c typecode.c \
checktype.c constants.c constantcode.c \
procedures.c compiler.h
ctags code.c main.c misc.c symbols.c types.c typecode.c \
checktype.c constants.c constantcode.c \
procedures.c compiler.h
clean:
-rm -f $(OBJS) lex.yy.c y.tab.c y.tab.h *.BAK *.CKP xnscourier
rcs:
rcs -l RCS/*
cat ../rcsdescription | ci -u${RCSREV} -q -N${RCSNAME} RCS/*
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.