1
##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
3
##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
5
## do not change this value
7
subdir=examples/cpp/unicode
9
srcdir=@abs_top_srcdir@/examples/cpp/unicode
10
objdir=@abs_this_builddir@/examples/cpp/unicode
22
unicode_g_cxx_FILES = \
26
unicode_g_hpp_FILES = \
28
$(objdir)/LTokenTypes.hpp \
31
unicode_g_txt_FILES = \
32
$(objdir)/LTokenTypes.txt \
35
unicode_g_gen_FILES = \
36
$(unicode_g_cxx_FILES) \
37
$(unicode_g_hpp_FILES) \
38
$(unicode_g_txt_FILES) \
41
unicode_g_obj_FILES = \
47
$(unicode_g_cxx_FILES) \
48
$(srcdir)/MismatchedUnicodeCharException.cpp \
54
$(unicode_g_obj_FILES) \
55
$(objdir)/MismatchedUnicodeCharException@OBJEXT@ \
56
$(objdir)/main@OBJEXT@ \
60
test1_cmd = $(objdir)/unicode < $(srcdir)/test.in
62
## Tests to be executed
64
@ v="$(verbose)"; if test $$v -gt 0 ; then echo "$(test1_cmd)" ; else echo "exec test1 .."; fi
67
## How to make binaries
68
unicode : $(unicode_obj_FILES) @ANTLR_LIB@
69
@CXX_LINK_CMD@ $@ $(unicode_obj_FILES)
71
## How to compile ANTLR grammar files
72
$(objdir)/.unicode.g : $(srcdir)/unicode.g @ANTLR_JAR@
73
@ANTLR_COMPILE_CMD@ $(srcdir)/unicode.g
74
$(TOUCH) `@CYGPATH_W@ $(objdir)/.unicode.g`
76
$(unicode_g_gen_FILES): $(objdir)/.unicode.g
78
## GNU make - how to make object file
79
$(objdir)/%@OBJEXT@ : $(srcdir)/%.cpp
80
@ CXXFLAGS="+ -I$(srcdir)" @CXX_COMPILE_CMD@ $<
82
## GNU make - how to make object file
83
$(objdir)/%@OBJEXT@ : $(objdir)/%.cpp
84
@ CXXFLAGS="+ -I$(srcdir)" @CXX_COMPILE_CMD@ $<
86
## GNU make - how to make object file
87
%@OBJEXT@ : $(srcdir)/%.cpp
88
@ CXXFLAGS="+ -I$(srcdir)" @CXX_COMPILE_CMD@ $<
90
## GNU make - how to make object file
91
%@OBJEXT@ : $(objdir)/%.cpp
92
@ CXXFLAGS="+ -I$(srcdir)" @CXX_COMPILE_CMD@ $<
96
- $(RM) -rf *.o *.obj *.exe \
97
$(unicode_g_gen_FILES) \
98
$(objdir)/.unicode.g \
103
## If cxx.sh script changed ..
104
$(unicode_g_obj_FILES) : @abs_this_builddir@/scripts/cxx.sh
105
## If link.sh script changed ..
106
$(unicode_g_obj_FILES) : @abs_this_builddir@/scripts/link.sh
108
$(objdir)/MismatchedUnicodeCharException@OBJEXT@: \
109
$(srcdir)/MismatchedUnicodeCharException.cpp \
110
$(sourcetree)/lib/cpp/antlr/config.hpp \
111
$(sourcetree)/lib/cpp/antlr/RecognitionException.hpp \
112
$(sourcetree)/lib/cpp/antlr/ANTLRException.hpp \
113
$(sourcetree)/lib/cpp/antlr/BitSet.hpp \
114
$(sourcetree)/lib/cpp/antlr/String.hpp \
115
$(srcdir)/MismatchedUnicodeCharException.hpp \
116
$(srcdir)/UnicodeCharScanner.hpp \
117
$(sourcetree)/lib/cpp/antlr/CommonToken.hpp \
118
$(sourcetree)/lib/cpp/antlr/Token.hpp \
119
$(sourcetree)/lib/cpp/antlr/TokenRefCount.hpp \
120
$(sourcetree)/lib/cpp/antlr/TokenStream.hpp \
121
$(sourcetree)/lib/cpp/antlr/SemanticException.hpp \
122
$(sourcetree)/lib/cpp/antlr/InputBuffer.hpp \
123
$(sourcetree)/lib/cpp/antlr/CircularQueue.hpp \
124
$(sourcetree)/lib/cpp/antlr/LexerSharedInputState.hpp \
125
$(sourcetree)/lib/cpp/antlr/RefCount.hpp \
126
$(sourcetree)/lib/cpp/antlr/CharBuffer.hpp
128
$(objdir)/main@OBJEXT@: \
130
$(sourcetree)/lib/cpp/antlr/ANTLRException.hpp \
131
$(sourcetree)/lib/cpp/antlr/config.hpp \
133
$(sourcetree)/lib/cpp/antlr/CommonToken.hpp \
134
$(sourcetree)/lib/cpp/antlr/Token.hpp \
135
$(sourcetree)/lib/cpp/antlr/TokenRefCount.hpp \
136
$(sourcetree)/lib/cpp/antlr/InputBuffer.hpp \
137
$(sourcetree)/lib/cpp/antlr/CircularQueue.hpp \
138
$(sourcetree)/lib/cpp/antlr/BitSet.hpp \
139
$(objdir)/LTokenTypes.hpp \
140
$(srcdir)/UnicodeCharBuffer.hpp \
141
$(sourcetree)/lib/cpp/antlr/CharStreamIOException.hpp \
142
$(sourcetree)/lib/cpp/antlr/CharStreamException.hpp \
143
$(srcdir)/UnicodeCharScanner.hpp \
144
$(sourcetree)/lib/cpp/antlr/TokenStream.hpp \
145
$(sourcetree)/lib/cpp/antlr/RecognitionException.hpp \
146
$(sourcetree)/lib/cpp/antlr/SemanticException.hpp \
147
$(sourcetree)/lib/cpp/antlr/LexerSharedInputState.hpp \
148
$(sourcetree)/lib/cpp/antlr/RefCount.hpp \
149
$(sourcetree)/lib/cpp/antlr/CharBuffer.hpp \
150
$(srcdir)/MismatchedUnicodeCharException.hpp \
151
$(sourcetree)/lib/cpp/antlr/String.hpp
153
$(objdir)/L@OBJEXT@: \
156
$(sourcetree)/lib/cpp/antlr/config.hpp \
157
$(sourcetree)/lib/cpp/antlr/CommonToken.hpp \
158
$(sourcetree)/lib/cpp/antlr/Token.hpp \
159
$(sourcetree)/lib/cpp/antlr/TokenRefCount.hpp \
160
$(sourcetree)/lib/cpp/antlr/InputBuffer.hpp \
161
$(sourcetree)/lib/cpp/antlr/CircularQueue.hpp \
162
$(sourcetree)/lib/cpp/antlr/BitSet.hpp \
163
$(objdir)/LTokenTypes.hpp \
164
$(srcdir)/UnicodeCharBuffer.hpp \
165
$(sourcetree)/lib/cpp/antlr/CharStreamIOException.hpp \
166
$(sourcetree)/lib/cpp/antlr/CharStreamException.hpp \
167
$(sourcetree)/lib/cpp/antlr/ANTLRException.hpp \
168
$(srcdir)/UnicodeCharScanner.hpp \
169
$(sourcetree)/lib/cpp/antlr/TokenStream.hpp \
170
$(sourcetree)/lib/cpp/antlr/RecognitionException.hpp \
171
$(sourcetree)/lib/cpp/antlr/SemanticException.hpp \
172
$(sourcetree)/lib/cpp/antlr/LexerSharedInputState.hpp \
173
$(sourcetree)/lib/cpp/antlr/RefCount.hpp \
174
$(sourcetree)/lib/cpp/antlr/CharBuffer.hpp \
175
$(srcdir)/MismatchedUnicodeCharException.hpp \
176
$(sourcetree)/lib/cpp/antlr/String.hpp \
177
$(sourcetree)/lib/cpp/antlr/TokenStreamException.hpp \
178
$(sourcetree)/lib/cpp/antlr/TokenStreamIOException.hpp \
179
$(sourcetree)/lib/cpp/antlr/TokenStreamRecognitionException.hpp \
180
$(sourcetree)/lib/cpp/antlr/NoViableAltForCharException.hpp \
181
$(sourcetree)/lib/cpp/antlr/CharScanner.hpp \
182
$(sourcetree)/lib/cpp/antlr/MismatchedCharException.hpp
185
##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
187
##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx