2 # Main makefile for PCCTS 1.33MR33 /* MRXXX */
5 # Parr Research Corporation
7 # verbosity versus silence...
10 # this can be set to /user/local/bin etc...
12 # This part added by Thomas Herter, M"unchen, Germany. See also manpages
16 MANFILES=dlg/dlg.1 antlr/antlr.1
24 @echo " Welcome to PCCTS 1.33MR33 installation"
26 @echo " (Version 1.33 Maintenance Release #33)" # mrxxx
28 @echo " Released 19 April 2002"
31 @echo " ANTLR -- ANother Tool for Language Recognition"
32 @echo " DLG -- DFA-based Lexical Analyzer Generator"
33 @echo " SORCERER -- Source-to-source translator (tree walker)"
35 @echo " http://www.antlr.org"
37 @echo " Trouble reports to tmoog@polhode.com"
38 @echo " Additional PCCTS 1.33 information at"
39 @echo " http://www.polhode.com"
42 @echo "To substitute gcc for CC to invoke compiler: make CC=gcc"
43 @echo "If there are problems with cr and lf try: unzip -a ..."
46 @if [ ! -d $(BINDIR) ] ; then mkdir $(BINDIR) ; fi
47 @echo Making executables...
48 (cd ./antlr; $(MAKE) CC="$(CC)" COPT="$(COPT)")
49 @echo antlr executable now in $(BINDIR)
50 (cd ./dlg; $(MAKE) CC="$(CC)" COPT="$(COPT)")
51 @echo dlg executable now in $(BINDIR)
53 @echo " PCCTS 1.33MR33 installation complete" # MRXXX
56 (cd ./antlr; $(MAKE) -s clean)
57 (cd ./dlg; $(MAKE) -s clean)
61 # mkdir -p $(MANDIR)/man$(MANEXT)
62 if [ ! -d $(MANDIR) ] ; then \
64 if [ ! -d $(MANDIR)/man$(MANEXT) ] ; then \
65 mkdir $(MANDIR)/man$(MANEXT); fi
66 cp -p $(MANFILES) $(MANDIR)/man$(MANEXT)