~ubuntu-branches/ubuntu/breezy/antlr/breezy

« back to all changes in this revision

Viewing changes to examples/cpp/unicode/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2005-06-29 16:11:22 UTC
  • mfrom: (0.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050629161122-g81crc3z92p5xhsg
Tags: 2.7.5-6ubuntu4
Build depend on java-gcj-compat-dev, depend on java-gcj-compat.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 
2
@stdvars@
 
3
##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 
4
 
 
5
## do not change this value
 
6
 
 
7
subdir=examples/cpp/unicode
 
8
 
 
9
srcdir=@abs_top_srcdir@/examples/cpp/unicode
 
10
objdir=@abs_this_builddir@/examples/cpp/unicode
 
11
 
 
12
this : unicode
 
13
test : # test1
 
14
 
 
15
 
 
16
all: unicode
 
17
 
 
18
unicode_g_FILES = \
 
19
        $(srcdir)/unicode.g \
 
20
        $(eol)
 
21
 
 
22
unicode_g_cxx_FILES = \
 
23
        $(objdir)/L.cpp \
 
24
        $(eol)
 
25
 
 
26
unicode_g_hpp_FILES = \
 
27
        $(objdir)/L.hpp \
 
28
        $(objdir)/LTokenTypes.hpp \
 
29
        $(eol)
 
30
 
 
31
unicode_g_txt_FILES = \
 
32
        $(objdir)/LTokenTypes.txt \
 
33
        $(eol)
 
34
 
 
35
unicode_g_gen_FILES = \
 
36
        $(unicode_g_cxx_FILES) \
 
37
        $(unicode_g_hpp_FILES) \
 
38
        $(unicode_g_txt_FILES) \
 
39
        $(eol)
 
40
 
 
41
unicode_g_obj_FILES = \
 
42
        $(objdir)/L@OBJEXT@ \
 
43
        $(eol)
 
44
 
 
45
## Source files
 
46
unicode_cxx_FILES = \
 
47
        $(unicode_g_cxx_FILES) \
 
48
        $(srcdir)/MismatchedUnicodeCharException.cpp \
 
49
        $(srcdir)/main.cpp \
 
50
        $(eol)
 
51
 
 
52
## Object files
 
53
unicode_obj_FILES = \
 
54
        $(unicode_g_obj_FILES) \
 
55
        $(objdir)/MismatchedUnicodeCharException@OBJEXT@ \
 
56
        $(objdir)/main@OBJEXT@ \
 
57
        $(eol)
 
58
 
 
59
## Test commands
 
60
test1_cmd = $(objdir)/unicode < $(srcdir)/test.in
 
61
 
 
62
## Tests to be executed
 
63
test1: unicode
 
64
        @ v="$(verbose)"; if test $$v -gt 0 ; then  echo "$(test1_cmd)" ;  else  echo "exec test1 ..";  fi
 
65
        @ $(test1_cmd)
 
66
 
 
67
## How to make binaries
 
68
unicode : $(unicode_obj_FILES) @ANTLR_LIB@
 
69
        @CXX_LINK_CMD@ $@ $(unicode_obj_FILES)
 
70
 
 
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`
 
75
 
 
76
$(unicode_g_gen_FILES): $(objdir)/.unicode.g
 
77
 
 
78
## GNU make - how to make object file
 
79
$(objdir)/%@OBJEXT@ : $(srcdir)/%.cpp
 
80
        @ CXXFLAGS="+ -I$(srcdir)" @CXX_COMPILE_CMD@ $<
 
81
 
 
82
## GNU make - how to make object file
 
83
$(objdir)/%@OBJEXT@ : $(objdir)/%.cpp
 
84
        @ CXXFLAGS="+ -I$(srcdir)" @CXX_COMPILE_CMD@ $<
 
85
 
 
86
## GNU make - how to make object file
 
87
%@OBJEXT@ : $(srcdir)/%.cpp
 
88
        @ CXXFLAGS="+ -I$(srcdir)" @CXX_COMPILE_CMD@ $<
 
89
 
 
90
## GNU make - how to make object file
 
91
%@OBJEXT@ : $(objdir)/%.cpp
 
92
        @ CXXFLAGS="+ -I$(srcdir)" @CXX_COMPILE_CMD@ $<
 
93
 
 
94
## Housecleaning
 
95
clean:
 
96
        - $(RM) -rf *.o *.obj *.exe \
 
97
        $(unicode_g_gen_FILES) \
 
98
        $(objdir)/.unicode.g \
 
99
        unicode
 
100
 
 
101
distclean: clean
 
102
 
 
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
 
107
 
 
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
 
127
 
 
128
$(objdir)/main@OBJEXT@: \
 
129
        $(srcdir)/main.cpp \
 
130
        $(sourcetree)/lib/cpp/antlr/ANTLRException.hpp \
 
131
        $(sourcetree)/lib/cpp/antlr/config.hpp \
 
132
        $(objdir)/L.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
 
152
 
 
153
$(objdir)/L@OBJEXT@: \
 
154
        $(objdir)/L.cpp \
 
155
        $(objdir)/L.hpp \
 
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
 
183
 
 
184
 
 
185
##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 
186
@stddeps@
 
187
##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 
188