2 # Title: Make file for Cxx Grammar tester.
9 # This makefile wrapper redirects all activity to makefile.unix after first ensuring that
10 # any .INIT provided by ../import.make has executed to load required source files.
14 # builds $(ARCH)o/grammar
16 # builds $(ARCH)o/grammar using sun compiler, yacc and lex
18 # builds $(ARCH)o/grammar using gnu compiler, bison and flex
20 # eliminates $(ARCH)o* intermediates
22 # eliminates $(ARCH)o* intermediates and executables
24 # generates the distribution kits
26 # Switch settings are appropriate for Sun C++ 4.2.
27 # Commented settings indicate what might be appropriate for gcc once it supports templates plausibly.
29 # Latest Modification:
30 # EDW Date: 14-Jun-2001 Original
38 OBJ_DIR_PI = $(ARCH)o_pi
39 OBJ_DIR_G = $(ARCH)o_g
40 OBJ_DIR_PI_G = $(ARCH)o_pi_g
44 #../import.make is empty by default, but may be provided to copy sources from somewhere.
48 include ../import.make
50 clean executable gnu realclean source_kit sun %.tar \
51 $(SRCDIR)/% $(OBJ_DIR)/% $(OBJ_DIR_PI)/% $(OBJ_DIR_G)/% $(OBJ_DIR_PI_G)/% \
52 : makefile makefile.unix .FORCE
53 $(MAKE) -f makefile.unix $(MFLAGS) $(MAKEFLAGS) $@