1 ##############################################################################
3 ###############################################################################
5 ##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
7 ##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
9 ## do not change this value
16 compile: $(antlr_obj_FILES)
20 @abs_top_srcdir@/lib/cpp/src/ANTLRUtil.cpp \
21 @abs_top_srcdir@/lib/cpp/src/ASTFactory.cpp \
22 @abs_top_srcdir@/lib/cpp/src/ASTNULLType.cpp \
23 @abs_top_srcdir@/lib/cpp/src/ASTRefCount.cpp \
24 @abs_top_srcdir@/lib/cpp/src/BaseAST.cpp \
25 @abs_top_srcdir@/lib/cpp/src/BitSet.cpp \
26 @abs_top_srcdir@/lib/cpp/src/CharBuffer.cpp \
27 @abs_top_srcdir@/lib/cpp/src/CharScanner.cpp \
28 @abs_top_srcdir@/lib/cpp/src/CommonAST.cpp \
29 @abs_top_srcdir@/lib/cpp/src/CommonASTWithHiddenTokens.cpp \
30 @abs_top_srcdir@/lib/cpp/src/CommonHiddenStreamToken.cpp \
31 @abs_top_srcdir@/lib/cpp/src/CommonToken.cpp \
32 @abs_top_srcdir@/lib/cpp/src/InputBuffer.cpp \
33 @abs_top_srcdir@/lib/cpp/src/LLkParser.cpp \
34 @abs_top_srcdir@/lib/cpp/src/MismatchedCharException.cpp \
35 @abs_top_srcdir@/lib/cpp/src/MismatchedTokenException.cpp \
36 @abs_top_srcdir@/lib/cpp/src/NoViableAltException.cpp \
37 @abs_top_srcdir@/lib/cpp/src/NoViableAltForCharException.cpp \
38 @abs_top_srcdir@/lib/cpp/src/Parser.cpp \
39 @abs_top_srcdir@/lib/cpp/src/RecognitionException.cpp \
40 @abs_top_srcdir@/lib/cpp/src/String.cpp \
41 @abs_top_srcdir@/lib/cpp/src/Token.cpp \
42 @abs_top_srcdir@/lib/cpp/src/TokenBuffer.cpp \
43 @abs_top_srcdir@/lib/cpp/src/TokenStreamBasicFilter.cpp \
44 @abs_top_srcdir@/lib/cpp/src/TokenStreamHiddenTokenFilter.cpp \
45 @abs_top_srcdir@/lib/cpp/src/TokenStreamSelector.cpp \
46 @abs_top_srcdir@/lib/cpp/src/TokenStreamRewriteEngine.cpp \
47 @abs_top_srcdir@/lib/cpp/src/TreeParser.cpp \
48 @abs_top_srcdir@/lib/cpp/src/TokenRefCount.cpp \
51 ## contents of this varialbe could also be processed by
52 ## some advanced GNU make 'scripting' features. This may
53 ## simplify maintenance but makes Makefile far less read-
54 ## able and non-portable.
56 @abs_this_builddir@/lib/cpp/src/ANTLRUtil@OBJEXT@ \
57 @abs_this_builddir@/lib/cpp/src/ASTFactory@OBJEXT@ \
58 @abs_this_builddir@/lib/cpp/src/ASTNULLType@OBJEXT@ \
59 @abs_this_builddir@/lib/cpp/src/ASTRefCount@OBJEXT@ \
60 @abs_this_builddir@/lib/cpp/src/BaseAST@OBJEXT@ \
61 @abs_this_builddir@/lib/cpp/src/BitSet@OBJEXT@ \
62 @abs_this_builddir@/lib/cpp/src/CharBuffer@OBJEXT@ \
63 @abs_this_builddir@/lib/cpp/src/CharScanner@OBJEXT@ \
64 @abs_this_builddir@/lib/cpp/src/CommonAST@OBJEXT@ \
65 @abs_this_builddir@/lib/cpp/src/CommonASTWithHiddenTokens@OBJEXT@ \
66 @abs_this_builddir@/lib/cpp/src/CommonHiddenStreamToken@OBJEXT@ \
67 @abs_this_builddir@/lib/cpp/src/CommonToken@OBJEXT@ \
68 @abs_this_builddir@/lib/cpp/src/InputBuffer@OBJEXT@ \
69 @abs_this_builddir@/lib/cpp/src/LLkParser@OBJEXT@ \
70 @abs_this_builddir@/lib/cpp/src/MismatchedCharException@OBJEXT@ \
71 @abs_this_builddir@/lib/cpp/src/MismatchedTokenException@OBJEXT@ \
72 @abs_this_builddir@/lib/cpp/src/NoViableAltException@OBJEXT@ \
73 @abs_this_builddir@/lib/cpp/src/NoViableAltForCharException@OBJEXT@ \
74 @abs_this_builddir@/lib/cpp/src/Parser@OBJEXT@ \
75 @abs_this_builddir@/lib/cpp/src/RecognitionException@OBJEXT@ \
76 @abs_this_builddir@/lib/cpp/src/String@OBJEXT@ \
77 @abs_this_builddir@/lib/cpp/src/Token@OBJEXT@ \
78 @abs_this_builddir@/lib/cpp/src/TokenBuffer@OBJEXT@ \
79 @abs_this_builddir@/lib/cpp/src/TokenStreamBasicFilter@OBJEXT@ \
80 @abs_this_builddir@/lib/cpp/src/TokenStreamHiddenTokenFilter@OBJEXT@ \
81 @abs_this_builddir@/lib/cpp/src/TokenStreamSelector@OBJEXT@ \
82 @abs_this_builddir@/lib/cpp/src/TokenStreamRewriteEngine@OBJEXT@ \
83 @abs_this_builddir@/lib/cpp/src/TreeParser@OBJEXT@ \
84 @abs_this_builddir@/lib/cpp/src/TokenRefCount@OBJEXT@ \
88 ## GNU make - how to make object file
89 @abs_this_builddir@/lib/cpp/src/%@OBJEXT@ : @abs_top_srcdir@/lib/cpp/src/%.cpp
90 @ @CXX_COMPILE_CMD@ $<
92 ## Build static library. How the library is build as well as
93 ## libraries's name is hidden by our script, ie. configured.
94 @ANTLR_LIB@ :: $(antlr_obj_FILES)
95 @ @CXX_LIB_CMD@ $(antlr_obj_FILES)
98 @RMF@ *.obj *.o *.a *.lib *.so *.dll *~ @ANTLR_LIB@
100 ## use this target if you just want to rebuild the lib without
110 install: this-install
116 this-install: @ANTLR_LIB@
117 @$(MKDIR) -p "$(libdir)"
118 @@ECHO@ "install C++ core files .. "
119 @for f in $(antlr_lib_FILES) ; do \
120 @ECHO@ "install $${f}" ; \
121 if test -f "$${f}" ; then \
122 $(INSTALL) -m 444 "$${f}" "$(libdir)" ; \
127 .PHONY: all clean distclean compile lib install test clean-lib this-install
130 $(antlr_obj_FILES) : @abs_this_builddir@/scripts/cxx.sh
131 @ANTLR_LIB@ :: @abs_this_builddir@/scripts/lib.sh
133 ## other dependencies to be listed below
134 ##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
136 ##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx