]> pd.if.org Git - pccts/blob - makefile
auto commit for import
[pccts] / makefile
1 #
2 # Main makefile for PCCTS 1.33
3 #
4 # Terence Parr
5 # Parr Research Corporation
6 # September 1995
7 #
8 # verbosity versus silence...
9 PSss=
10 #
11 # this can be set to /user/local/bin etc...
12 BINDIR=bin
13 # This part added by Thomas Herter, M"unchen, Germany. See also manpages
14 # target.
15 MANDIR=$(HOME)/man
16 MANEXT=1
17 MANFILES=pccts.1 dlg/dlg.1 antlr/antlr.1
18
19 #CC=cc
20
21 .SILENT:
22
23 pccts:
24         echo
25         echo "               Welcome to PCCTS 1.33 installation"
26         echo "                  Released October 5, 1995"
27         echo
28         echo "                           Featuring"
29         echo "         ANTLR  -- ANother Tool for Language Recognition"
30         echo "         DLG    -- DFA-based Lexical Analyzer Generator"
31         echo "         [soon, we will merge SORCERER distribution with PCCTS]"
32         echo
33         echo "         Please see samples for C++ mode in pccts/testcpp"
34         echo "         C, C++, and Pascal grammars available in"
35         echo "             ftp.parr-research.com in pub/pccts/contrib"
36         echo "         Please see the pre-release of The Book in"
37         echo "             ftp.parr-research.com in pub/pccts/Book"
38         echo
39         echo "         Old tutorials are again at the ftp site at"
40         echo "             ftp.parr-research.com in pub/pccts/old_tutorials"
41         echo
42         echo "         [see manpages target of this makefile]"
43         echo
44         echo "         [Trouble reports to parrt@parr-research.com]"
45         echo
46 #
47         echo Making executables...
48         (cd antlr; make -s)
49         echo antlr executable now in $(BINDIR)
50         (cd dlg; make -s)
51         echo dlg executable now in $(BINDIR)
52         (cd support/genmk; make -s; mv genmk ../../$(BINDIR))
53         echo genmk executable now in $(BINDIR)
54         echo
55         echo "       PCCTS 1.33 installation complete (have a nice day)"
56
57 manpages:
58         if [ ! -d $(MANDIR) ] ; then mkdir $(MANDIR) ; fi
59         cp -p $(MANFILES) $(MANDIR)/man$(MANEXT)