! DEC/MMS description file for Bison. See [.ETC]MAKEFILE which I gratuitously ! hacked upon to produce this. ! ! 1-Dec-1987 Tom Allebrandi II ! ta2@esther.acci.com Advanced Computer Consulting, Inc ! ! names of parser files for VAX/VMS PFILE = bison_simple: PFILE1 = bison_hairy: PFILES = /DEFINE=(XPFILE="""$(PFILE)""",\ XPFILE1="""$(PFILE1)""") OBJECTS = lr0.obj allocate.obj closure.obj conflicts.obj derives.obj \ files.obj getargs.obj gram.obj lalr.obj lex.obj main.obj \ nullable.obj output.obj print.obj reader.obj symtab.obj \ warshall.obj bison.exe : $(OBJECTS) crtl.options !<<-- CRTL.OPTIONS must be last $(LINK) $(LINKFLAGS) $(MMS$SOURCE_LIST)/OPTIONS !# This file is different to pass the parser file names !# to the compiler. files.obj : files.c files.h new.h gram.h $(CC) $(CFLAGS) $(PFILES) $(MMS$SOURCE) lr0.obj : machine.h new.h gram.h state.h closure.obj : machine.h new.h gram.h conflicts.obj : machine.h new.h files.h gram.h state.h derives.obj : new.h types.h gram.h getargs.obj : files.h lalr.obj : machine.h types.h state.h new.h gram.h lex.obj : files.h symtab.h lex.h main.obj : machine.h nullable.obj : types.h gram.h new.h output.obj : machine.h new.h files.h gram.h state.h print.obj : machine.h new.h files.h gram.h state.h reader.obj : files.h new.h symtab.h lex.h gram.h symtab.obj : new.h symtab.h gram.h warshall.obj : machine.h crtl.options : open/write fyle $(MMS$TARGET) write fyle "SYS$SHARE:VAXCRTL.EXE/SHARE" close fyle clean : - delete *.obj;* - purge clobber : clean - delete bison.exe;* - delete crtl.options;*