File: Makefile.in

package info (click to toggle)
antlr 2.7.6-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 9,816 kB
  • ctags: 10,149
  • sloc: java: 54,608; cs: 12,515; makefile: 8,978; cpp: 7,362; pascal: 5,273; python: 4,301; sh: 4,221; lisp: 1,969; xml: 198; lex: 192; ansic: 127
file content (189 lines) | stat: -rw-r--r-- 5,864 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
@stdvars@
##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

## do not change this value

subdir=examples/cpp/unicode

srcdir=@abs_top_srcdir@/examples/cpp/unicode
objdir=@abs_this_builddir@/examples/cpp/unicode

this : unicode
test : # test1


all: unicode

unicode_g_FILES = \
	$(srcdir)/unicode.g \
	$(eol)

unicode_g_cxx_FILES = \
	$(objdir)/L.cpp \
	$(eol)

unicode_g_hpp_FILES = \
	$(objdir)/L.hpp \
	$(objdir)/LTokenTypes.hpp \
	$(eol)

unicode_g_txt_FILES = \
	$(objdir)/LTokenTypes.txt \
	$(eol)

unicode_g_gen_FILES = \
	$(unicode_g_cxx_FILES) \
	$(unicode_g_hpp_FILES) \
	$(unicode_g_txt_FILES) \
	$(eol)

unicode_g_obj_FILES = \
	$(objdir)/L@OBJEXT@ \
	$(eol)

## Source files
unicode_cxx_FILES = \
	$(unicode_g_cxx_FILES) \
	$(srcdir)/MismatchedUnicodeCharException.cpp \
	$(srcdir)/main.cpp \
	$(eol)

## Object files
unicode_obj_FILES = \
	$(unicode_g_obj_FILES) \
	$(objdir)/MismatchedUnicodeCharException@OBJEXT@ \
	$(objdir)/main@OBJEXT@ \
	$(eol)

## Test commands
test1_cmd = $(objdir)/unicode < $(srcdir)/test.in

## Tests to be executed
test1: unicode
	@ v="$(verbose)"; if test $$v -gt 0 ; then  echo "$(test1_cmd)" ;  else  echo "exec test1 ..";  fi
	@ $(test1_cmd)

## How to make binaries
unicode : $(unicode_obj_FILES) @ANTLR_LIB@
	@CXX_LINK_CMD@ $@ $(unicode_obj_FILES)

## How to compile ANTLR grammar files
$(objdir)/.unicode.g : $(srcdir)/unicode.g @ANTLR_JAR@
	@ANTLR_COMPILE_CMD@ $(srcdir)/unicode.g
	$(TOUCH) `@CYGPATH_W@ $(objdir)/.unicode.g`

$(unicode_g_gen_FILES): $(objdir)/.unicode.g

## GNU make - how to make object file
$(objdir)/%@OBJEXT@ : $(srcdir)/%.cpp
	@ CXXFLAGS="+ -I$(srcdir)" @CXX_COMPILE_CMD@ $<

## GNU make - how to make object file
$(objdir)/%@OBJEXT@ : $(objdir)/%.cpp
	@ CXXFLAGS="+ -I$(srcdir)" @CXX_COMPILE_CMD@ $<

## GNU make - how to make object file
%@OBJEXT@ : $(srcdir)/%.cpp
	@ CXXFLAGS="+ -I$(srcdir)" @CXX_COMPILE_CMD@ $<

## GNU make - how to make object file
%@OBJEXT@ : $(objdir)/%.cpp
	@ CXXFLAGS="+ -I$(srcdir)" @CXX_COMPILE_CMD@ $<

## Housecleaning
clean:
	- $(RM) -rf *.o *.obj *.exe \
	$(unicode_g_gen_FILES) \
	$(objdir)/.unicode.g \
	unicode

distclean: clean
	$(RM) Makefile

## If cxx.sh script changed ..
$(unicode_g_obj_FILES) : @abs_this_builddir@/scripts/cxx.sh
## If link.sh script changed ..
$(unicode_g_obj_FILES) : @abs_this_builddir@/scripts/link.sh

$(objdir)/MismatchedUnicodeCharException@OBJEXT@: \
	$(srcdir)/MismatchedUnicodeCharException.cpp \
	$(sourcetree)/lib/cpp/antlr/config.hpp \
	$(sourcetree)/lib/cpp/antlr/RecognitionException.hpp \
	$(sourcetree)/lib/cpp/antlr/ANTLRException.hpp \
	$(sourcetree)/lib/cpp/antlr/BitSet.hpp \
	$(sourcetree)/lib/cpp/antlr/String.hpp \
	$(srcdir)/MismatchedUnicodeCharException.hpp \
	$(srcdir)/UnicodeCharScanner.hpp \
	$(sourcetree)/lib/cpp/antlr/CommonToken.hpp \
	$(sourcetree)/lib/cpp/antlr/Token.hpp \
	$(sourcetree)/lib/cpp/antlr/TokenRefCount.hpp \
	$(sourcetree)/lib/cpp/antlr/TokenStream.hpp \
	$(sourcetree)/lib/cpp/antlr/SemanticException.hpp \
	$(sourcetree)/lib/cpp/antlr/InputBuffer.hpp \
	$(sourcetree)/lib/cpp/antlr/CircularQueue.hpp \
	$(sourcetree)/lib/cpp/antlr/LexerSharedInputState.hpp \
	$(sourcetree)/lib/cpp/antlr/RefCount.hpp \
	$(sourcetree)/lib/cpp/antlr/CharBuffer.hpp

$(objdir)/main@OBJEXT@: \
	$(srcdir)/main.cpp \
	$(sourcetree)/lib/cpp/antlr/ANTLRException.hpp \
	$(sourcetree)/lib/cpp/antlr/config.hpp \
	$(objdir)/L.hpp \
	$(sourcetree)/lib/cpp/antlr/CommonToken.hpp \
	$(sourcetree)/lib/cpp/antlr/Token.hpp \
	$(sourcetree)/lib/cpp/antlr/TokenRefCount.hpp \
	$(sourcetree)/lib/cpp/antlr/InputBuffer.hpp \
	$(sourcetree)/lib/cpp/antlr/CircularQueue.hpp \
	$(sourcetree)/lib/cpp/antlr/BitSet.hpp \
	$(objdir)/LTokenTypes.hpp \
	$(srcdir)/UnicodeCharBuffer.hpp \
	$(sourcetree)/lib/cpp/antlr/CharStreamIOException.hpp \
	$(sourcetree)/lib/cpp/antlr/CharStreamException.hpp \
	$(srcdir)/UnicodeCharScanner.hpp \
	$(sourcetree)/lib/cpp/antlr/TokenStream.hpp \
	$(sourcetree)/lib/cpp/antlr/RecognitionException.hpp \
	$(sourcetree)/lib/cpp/antlr/SemanticException.hpp \
	$(sourcetree)/lib/cpp/antlr/LexerSharedInputState.hpp \
	$(sourcetree)/lib/cpp/antlr/RefCount.hpp \
	$(sourcetree)/lib/cpp/antlr/CharBuffer.hpp \
	$(srcdir)/MismatchedUnicodeCharException.hpp \
	$(sourcetree)/lib/cpp/antlr/String.hpp

$(objdir)/L@OBJEXT@: \
	$(objdir)/L.cpp \
	$(objdir)/L.hpp \
	$(sourcetree)/lib/cpp/antlr/config.hpp \
	$(sourcetree)/lib/cpp/antlr/CommonToken.hpp \
	$(sourcetree)/lib/cpp/antlr/Token.hpp \
	$(sourcetree)/lib/cpp/antlr/TokenRefCount.hpp \
	$(sourcetree)/lib/cpp/antlr/InputBuffer.hpp \
	$(sourcetree)/lib/cpp/antlr/CircularQueue.hpp \
	$(sourcetree)/lib/cpp/antlr/BitSet.hpp \
	$(objdir)/LTokenTypes.hpp \
	$(srcdir)/UnicodeCharBuffer.hpp \
	$(sourcetree)/lib/cpp/antlr/CharStreamIOException.hpp \
	$(sourcetree)/lib/cpp/antlr/CharStreamException.hpp \
	$(sourcetree)/lib/cpp/antlr/ANTLRException.hpp \
	$(srcdir)/UnicodeCharScanner.hpp \
	$(sourcetree)/lib/cpp/antlr/TokenStream.hpp \
	$(sourcetree)/lib/cpp/antlr/RecognitionException.hpp \
	$(sourcetree)/lib/cpp/antlr/SemanticException.hpp \
	$(sourcetree)/lib/cpp/antlr/LexerSharedInputState.hpp \
	$(sourcetree)/lib/cpp/antlr/RefCount.hpp \
	$(sourcetree)/lib/cpp/antlr/CharBuffer.hpp \
	$(srcdir)/MismatchedUnicodeCharException.hpp \
	$(sourcetree)/lib/cpp/antlr/String.hpp \
	$(sourcetree)/lib/cpp/antlr/TokenStreamException.hpp \
	$(sourcetree)/lib/cpp/antlr/TokenStreamIOException.hpp \
	$(sourcetree)/lib/cpp/antlr/TokenStreamRecognitionException.hpp \
	$(sourcetree)/lib/cpp/antlr/NoViableAltForCharException.hpp \
	$(sourcetree)/lib/cpp/antlr/CharScanner.hpp \
	$(sourcetree)/lib/cpp/antlr/MismatchedCharException.hpp


##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
@stddeps@
##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx