|
|
1.1 ! root 1: # $Header: Makefile,v 2.1 85/11/21 10:39:51 jqj Exp $ ! 2: # ! 3: # $Log: Makefile,v $ ! 4: # Revision 2.1 85/11/21 10:39:51 jqj ! 5: # make sure lex.yy.c etc are not around! ! 6: # ! 7: # Revision 2.0 85/11/21 07:21:26 jqj ! 8: # 4.3BSD standard release ! 9: # ! 10: # Revision 1.6 85/10/30 07:36:03 root ! 11: # BINDIR=/usr/new by default ! 12: # ! 13: # Revision 1.5 85/05/06 08:12:49 jqj ! 14: # Almost Beta-test version. ! 15: # ! 16: # Revision 1.4 85/03/26 06:09:17 jqj ! 17: # Revised public alpha-test version, released 26 March 1985 ! 18: # ! 19: # Revision 1.3 85/03/11 16:38:29 jqj ! 20: # Public alpha-test version, released 11 March 1985 ! 21: # ! 22: # Revision 1.2 85/02/21 11:04:38 jqj ! 23: # alpha test version ! 24: # ! 25: # Note: the library, including /usr/include/courier.h, must be installed first ! 26: ! 27: RCSREV= ! 28: RCSNAME=current ! 29: OBJS = checktype.o constants.o constantcode.o code.o lex.yy.o main.o \ ! 30: misc.o procedures.o symbols.o types.o typecode.o y.tab.o ! 31: CFLAGS = -DDEBUG -O ! 32: LDFLAGS = ! 33: DESTDIR = ! 34: BINDIR = /usr/new ! 35: ! 36: xnscourier: $(OBJS) ! 37: cc $(CFLAGS) -o xnscourier $(OBJS) -ll -lcourier $(LDFLAGS) ! 38: ! 39: install: xnscourier ! 40: install -c -s xnscourier ${BINDIR}/xnscourier ! 41: ! 42: y.tab.h y.tab.c: courier.y ! 43: -@rm -f y.tab.c y.tab.h ! 44: @echo expect one shift/reduce conflict ! 45: yacc -d courier.y ! 46: ! 47: lex.yy.c: scanner.l ! 48: -@rm -f lex.yy.c ! 49: lex scanner.l ! 50: ! 51: $(OBJS): compiler.h ! 52: lex.yy.o: y.tab.o ! 53: ! 54: lint: y.tab.c lex.yy.c ! 55: lint -hx code.c main.c misc.c symbols.c types.c typecode.c \ ! 56: checktype.c constants.c constantcode.c procedures.c \ ! 57: y.tab.c lex.yy.c ! 58: ! 59: tags: code.c main.c misc.c symbols.c types.c typecode.c \ ! 60: checktype.c constants.c constantcode.c \ ! 61: procedures.c compiler.h ! 62: ctags code.c main.c misc.c symbols.c types.c typecode.c \ ! 63: checktype.c constants.c constantcode.c \ ! 64: procedures.c compiler.h ! 65: ! 66: clean: ! 67: -rm -f $(OBJS) lex.yy.c y.tab.c y.tab.h *.BAK *.CKP xnscourier ! 68: ! 69: rcs: ! 70: rcs -l RCS/* ! 71: 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.