|
|
researchv10 Norman
#ident "@(#)ctrans:src/makefile 1.3.7.20" ############################################################################### # Copyright (c) 1984 AT&T # All Rights Reserved # # THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T # # The copyright notice above does not evidence any # actual or intended publication of such source code. # ############################################################################### CC = OSCC #The ANSI_OUT option has been replaced by the +a1 and +a0 compilation options #for systems which only recognize identifiers of up to 31 characters #setting DENSE to -DDENSE causes cfront to generate internal names #of 31 characters or less DENSE= # The use of RETBUG is nolonger needed with version 2.0 and has been removed. # RETBUG was used in 1.* Translator versions to circumvent a C compiler bug. CCFLAGS=-gx -I. # top level makefile modifies the following MPMACRO = PATCH MPFILE = patch OFILES = alloc.o dcl.o dcl2.o dcl3.o dcl4.o del.o doprint.o \ error.o expand.o \ expr.o expr2.o expr3.o find.o hash.o lalex.o lex.o main.o \ norm.o norm2.o print.o print2.o print_self_default.o \ repr.o simpl.o simpl2.o \ size.o table.o typ.o typ2.o y.tab.o tree_walk.o \ tree_copy.o template.o dump_tree.o discrimination.o cfront: $(OFILES) $(CC) -o cfront $(CCFLAGS) $(OFILES) ############################################################################## # TBD: delete before cutting tape; these construct are non-standard cfront_c = alloc.c dcl.c dcl2.c dcl3.c dcl4.c del.c doprint.C \ error.c expand.c \ expr.c expr2.c expr3.c find.c hash.C lalex.c lex.c main.c \ norm.c norm2.c print.c print2.c print_self_default.C \ repr.c simpl.c simpl2.c \ size.c table.c typ.c typ2.c y.tab.c tree_walk.c \ tree_copy.c template.c dump_tree.c discrimination.c depend: rm -f .new_depend touch .new_depend for s in $(cfront_c) ; do \ echo $$s; \ $(CC) -M $(CCFLAGS) $$s >> .new_depend;done mv .new_depend .depend ############################################################################## cfront.h: token.h typedef.h y.tab.c: gram.y yacc gram.y alloc.o: alloc.c cfront.h $(CC) $(CCFLAGS) -c alloc.c dcl.o: dcl.c cfront.h size.h $(CC) $(CCFLAGS) -c dcl.c dcl2.o: dcl2.c cfront.h size.h $(CC) $(CCFLAGS) -c dcl2.c dcl3.o: dcl3.c cfront.h size.h $(CC) $(CCFLAGS) -c dcl3.c dcl4.o: dcl4.c cfront.h size.h $(CC) $(CCFLAGS) -c dcl4.c del.o: del.c cfront.h $(CC) $(CCFLAGS) -c del.c discrimination.o: discrimination.c cfront.h $(CC) $(CCFLAGS) -c discrimination.c doprint.o: doprint.C $(CC) $(CCFLAGS) -c doprint.C dump_tree.o: dump_tree.c cfront.h $(CC) $(CCFLAGS) -c dump_tree.c error.o: error.c cfront.h size.h $(CC) $(CCFLAGS) -c error.c expand.o: expand.c cfront.h $(CC) $(CCFLAGS) -c expand.c expr.o: expr.c cfront.h size.h $(CC) $(CCFLAGS) -c expr.c expr2.o: expr2.c cfront.h size.h $(CC) $(CCFLAGS) -c expr2.c expr3.o: expr3.c cfront.h size.h $(CC) $(CCFLAGS) -c expr3.c find.o: find.c cfront.h $(CC) $(CCFLAGS) -c find.c hash.o: hash.C hash.H $(CC) $(CCFLAGS) -c hash.C lalex.o:lalex.c cfront.h yystype.h tqueue.h $(CC) $(CCFLAGS) -c lalex.c lex.o: lex.c cfront.h size.h tqueue.h yystype.h $(CC) $(CCFLAGS) -c lex.c # main depends on this makefile to force recompilation # when going from patch to munch main.o: main.c cfront.h makefile $(CC) -D$(MPMACRO) $(DENSE) $(CCFLAGS) -c main.c norm.o: norm.c cfront.h size.h $(CC) $(CCFLAGS) -c norm.c norm2.o: norm2.c cfront.h size.h $(CC) $(CCFLAGS) -c norm2.c print.o: print.c cfront.h $(CC) $(CCFLAGS) -c print.c print2.o: print2.c cfront.h $(CC) $(DENSE) $(CCFLAGS) -c print2.c print_self_default.o: print_self_default.C $(CC) $(CCFLAGS) -c print_self_default.C repr.o: repr.c cfront.h $(CC) $(CCFLAGS) -c repr.c simpl.o: simpl.c cfront.h size.h $(CC) $(CCFLAGS) -c simpl.c simpl2.o: simpl2.c cfront.h size.h $(CC) $(CCFLAGS) -c simpl2.c size.o: size.c cfront.h size.h $(CC) $(CCFLAGS) -c size.c table.o: table.c cfront.h $(CC) $(CCFLAGS) -c table.c tree_walk.o: tree_walk.c $(CC) $(CCFLAGS) -c tree_walk.c tree_copy.o: tree_copy.c $(CC) $(CCFLAGS) -c tree_copy.c template.o: template.c $(CC) $(CCFLAGS) -c template.c typ.o: typ.c cfront.h size.h $(CC) $(CCFLAGS) -c typ.c typ2.o: typ2.c cfront.h size.h $(CC) $(CCFLAGS) -c typ2.c y.tab.o: y.tab.c cfront.h size.h $(CC) -DGRAM $(CCFLAGS) -c y.tab.c cpio: ls alloc.c dcl.c dcl2.c dcl3.c dcl4.c del.c error.c expand.c \ expr.c expr2.c expr3.c find.c lalex.c lex.c main.c \ norm.c norm2.c print.c print2.c repr.c simpl.c simpl2.c \ size.c table.c typ.c typ2.c \ gram.y \ token.h cfront.h size.h tqueue.h typedef.h yystype.h \ makefile | cpio -oc > cfront.cpio include .depend
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.