1 | ## do not change this value |
---|
2 | subdir=lib/python |
---|
3 | |
---|
4 | ##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
---|
5 | |
---|
6 | ## --*- Makefile -*-- |
---|
7 | SUBDIRS := |
---|
8 | |
---|
9 | ## helper utilities .. |
---|
10 | INSTALL = /usr/bin/install -c |
---|
11 | MKDIR = /bin/mkdir |
---|
12 | RM = /bin/rm -r -f |
---|
13 | RMF = /bin/rm -r -f |
---|
14 | TAR = /bin/tar |
---|
15 | TOUCH = /bin/touch |
---|
16 | CHMOD = /bin/chmod |
---|
17 | SED = /bin/sed |
---|
18 | GREP = /bin/grep |
---|
19 | CAT = /bin/cat |
---|
20 | CHMOD = /bin/chmod |
---|
21 | CP = /bin/cp |
---|
22 | ECHO = /bin/echo |
---|
23 | |
---|
24 | # usual dribble |
---|
25 | exec_prefix = ${prefix} |
---|
26 | prefix = /usr/local |
---|
27 | program_transform_name = s,x,x, |
---|
28 | bindir = ${exec_prefix}/bin |
---|
29 | sbindir = ${exec_prefix}/sbin |
---|
30 | libexecdir = ${exec_prefix}/libexec |
---|
31 | datadir = ${prefix}/share |
---|
32 | sysconfdir = ${prefix}/etc |
---|
33 | sharedstatedir = ${prefix}/com |
---|
34 | localstatedir = ${prefix}/var |
---|
35 | libdir = ${exec_prefix}/lib |
---|
36 | includedir = ${prefix}/include |
---|
37 | oldincludedir = /usr/include |
---|
38 | infodir = ${prefix}/info |
---|
39 | mandir = ${prefix}/man |
---|
40 | build_alias = |
---|
41 | host_alias = |
---|
42 | target_alias = |
---|
43 | build = x86_64-unknown-linux-gnu |
---|
44 | build_cpu = x86_64 |
---|
45 | build_vendor = unknown |
---|
46 | build_os = linux-gnu |
---|
47 | host = x86_64-unknown-linux-gnu |
---|
48 | host_cpu = x86_64 |
---|
49 | host_vendor = unknown |
---|
50 | host_os = linux-gnu |
---|
51 | just_make = /usr/bin/make |
---|
52 | |
---|
53 | # Version stuff... |
---|
54 | VERSION = 2 |
---|
55 | SUBVERSION = 7 |
---|
56 | PATCHLEVEL = 7 |
---|
57 | PACKAGE_NAME = antlr |
---|
58 | PACKAGE_VERSION = 2.7.7 |
---|
59 | versioneddir = antlr-2.7.7 |
---|
60 | |
---|
61 | # navigation |
---|
62 | builddir = /usr/neuro/local/yao/yao9/share/antlr-2.7.7 |
---|
63 | buildtree = /usr/neuro/local/yao/yao9/share/antlr-2.7.7 |
---|
64 | sourcetree = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/.. |
---|
65 | |
---|
66 | ## Two abbrevs to shorten things. $(thisdir) shall be the current |
---|
67 | ## working directory as absolute name and $(_srcdir) is it's |
---|
68 | ## source dir companion. That means that $(thisdir)/Makefile has |
---|
69 | ## been generated by $(_srcdir)/Makefile.in. |
---|
70 | _srcdir = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../$(subdir) |
---|
71 | thisdir = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/$(subdir) |
---|
72 | |
---|
73 | # variable 'srcdir' is deprecated - use sourcetree |
---|
74 | srcdir = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/.. |
---|
75 | # variable 'objdir' is deprecated - use buildtree |
---|
76 | objdir = /usr/neuro/local/yao/yao9/share/antlr-2.7.7 |
---|
77 | |
---|
78 | # other |
---|
79 | verbose = 0 |
---|
80 | |
---|
81 | ## SUBDIRS you want to exclude (separate them by using "|"). |
---|
82 | SUBDIRS_NOT := . |
---|
83 | |
---|
84 | CLR = /usr/bin/mono |
---|
85 | |
---|
86 | ANTLR_JAR = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/antlr/antlr.jar |
---|
87 | ANTLR_LIB = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/cpp/src/libantlr.a |
---|
88 | ANTLR_NET = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.runtime.dll |
---|
89 | ANTLR_PY = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/python/antlr/python.py |
---|
90 | ASTFRAME_NET = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.astframe.dll |
---|
91 | |
---|
92 | antlr_jar = antlr.jar |
---|
93 | antlr_lib = libantlr.a |
---|
94 | antlr_net = antlr.runtime.dll |
---|
95 | antlr_py = python.py |
---|
96 | astframe_net = antlr.astframe.dll |
---|
97 | ##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
---|
98 | |
---|
99 | |
---|
100 | PYTHON_SETUP = \ |
---|
101 | setup.py \ |
---|
102 | $(eol) |
---|
103 | |
---|
104 | antlr_python_FILES = \ |
---|
105 | $(eol) |
---|
106 | |
---|
107 | all : |
---|
108 | |
---|
109 | test: |
---|
110 | |
---|
111 | install: install-this |
---|
112 | |
---|
113 | clean: |
---|
114 | |
---|
115 | distclean: clean |
---|
116 | /bin/rm -r -f Makefile |
---|
117 | |
---|
118 | antlr_py_DIR = \ |
---|
119 | $(datadir)/$(versioneddir) |
---|
120 | $(eol) |
---|
121 | |
---|
122 | antlr_py_FILES = \ |
---|
123 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/python/../../lib/python/antlr/antlr.py \ |
---|
124 | $(eol) |
---|
125 | |
---|
126 | antlr_py1_FILES = \ |
---|
127 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/python/../../lib/python/antlr/__init__.py \ |
---|
128 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/python/../../lib/python/antlr/antlr.py \ |
---|
129 | $(eol) |
---|
130 | |
---|
131 | docdir = $(datadir)/doc/$(versioneddir) |
---|
132 | extradir = $(datadir)/$(versioneddir) |
---|
133 | |
---|
134 | install-this: |
---|
135 | $(MKDIR) -p "$(antlr_py_DIR)" |
---|
136 | $(MKDIR) -p "$(libdir)" |
---|
137 | @/bin/echo "install python files .. " |
---|
138 | @for f in $(antlr_py_FILES) ; do \ |
---|
139 | /bin/echo "install $${f}" ; \ |
---|
140 | if test -f "$${f}" ; then \ |
---|
141 | $(INSTALL) -m 444 "$${f}" "$(libdir)" ; \ |
---|
142 | fi ;\ |
---|
143 | done |
---|
144 | @for f in $(antlr_py1_FILES) ; do \ |
---|
145 | /bin/echo "install $${f}" ; \ |
---|
146 | if test -f "$${f}" ; then \ |
---|
147 | $(INSTALL) -m 444 "$${f}" "$(antlr_py_DIR)" ; \ |
---|
148 | fi ;\ |
---|
149 | done |
---|
150 | @f="$(objdir)/scripts/pyantlr.sh"; \ |
---|
151 | if test -f "$${f}" ; then \ |
---|
152 | /bin/echo "install Python installer" ; \ |
---|
153 | $(MKDIR) -p "$(sbindir)" ; \ |
---|
154 | $(INSTALL) -m 555 "$${f}" "$(sbindir)" ; \ |
---|
155 | fi |
---|
156 | |
---|
157 | |
---|
158 | ##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
---|
159 | |
---|
160 | ## --*- Makefile -*-- |
---|
161 | ## Make listed targets even in case a file with same name exists. |
---|
162 | .PHONY: \ |
---|
163 | this \ |
---|
164 | all clean install test distclean \ |
---|
165 | this-all this-clean this-install this-test this-distclean \ |
---|
166 | all-this clean-this install-this test-this distclean-this \ |
---|
167 | $(eof) |
---|
168 | |
---|
169 | ## delete suffix rules - shortens output when using -d and is not |
---|
170 | ## used anyway (and should not be used). |
---|
171 | .SUFFIXES: |
---|
172 | |
---|
173 | Makefile :: /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../$(subdir)/Makefile.in \ |
---|
174 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.deps \ |
---|
175 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.make \ |
---|
176 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.vars \ |
---|
177 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/config.status |
---|
178 | @echo "*** update $(subdir)/Makefile" |
---|
179 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES="$(subdir)/Makefile" /bin/sh ./config.status -q |
---|
180 | |
---|
181 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.deps : \ |
---|
182 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/config.deps.in |
---|
183 | @echo "*** update $@" |
---|
184 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/config.deps /bin/sh ./config.status -q |
---|
185 | |
---|
186 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.make : \ |
---|
187 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/config.make.in |
---|
188 | @echo "*** update $@" |
---|
189 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/config.make /bin/sh ./config.status -q |
---|
190 | |
---|
191 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.vars : \ |
---|
192 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/config.vars.in |
---|
193 | @echo "*** update $@" |
---|
194 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/config.vars /bin/sh ./config.status -q |
---|
195 | |
---|
196 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/config.status : \ |
---|
197 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../configure |
---|
198 | @echo "*** reconfigure $@ - stay tuned .." |
---|
199 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && /bin/sh ./config.status -q --recheck |
---|
200 | @echo "*** update all configured files .." |
---|
201 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && /bin/sh ./config.status -q |
---|
202 | |
---|
203 | ### In a pure devel mode there should be also a dependency listed on how |
---|
204 | ### to make configure out of configure.in. This requires that usr has |
---|
205 | ### m4 and autoconf (proper version) installed. Appropriate checks are |
---|
206 | ### not done in configure. If so, then uncomment next lines: |
---|
207 | ### |
---|
208 | ### @rule_configure_configure_in@ |
---|
209 | ### |
---|
210 | |
---|
211 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/antlr.sh : \ |
---|
212 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/antlr.sh.in |
---|
213 | @echo "*** update $@" |
---|
214 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/antlr.sh /bin/sh ./config.status -q |
---|
215 | |
---|
216 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/cpp.sh : \ |
---|
217 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/cpp.sh.in |
---|
218 | @echo "*** update $@" |
---|
219 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/cpp.sh /bin/sh ./config.status -q |
---|
220 | |
---|
221 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/csc.sh : \ |
---|
222 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/csc.sh.in |
---|
223 | @echo "*** update $@" |
---|
224 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/csc.sh /bin/sh ./config.status -q |
---|
225 | |
---|
226 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/cxx.sh : \ |
---|
227 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/cxx.sh.in |
---|
228 | @echo "*** update $@" |
---|
229 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/cxx.sh /bin/sh ./config.status -q |
---|
230 | |
---|
231 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/jar.sh : \ |
---|
232 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/jar.sh.in |
---|
233 | @echo "*** update $@" |
---|
234 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/jar.sh /bin/sh ./config.status -q |
---|
235 | |
---|
236 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/javac.sh : \ |
---|
237 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/javac.sh.in |
---|
238 | @echo "*** update $@" |
---|
239 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/javac.sh /bin/sh ./config.status -q |
---|
240 | |
---|
241 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/java.sh : \ |
---|
242 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/java.sh.in |
---|
243 | @echo "*** update $@" |
---|
244 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/java.sh /bin/sh ./config.status -q |
---|
245 | |
---|
246 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/lib.sh : \ |
---|
247 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/lib.sh.in |
---|
248 | @echo "*** update $@" |
---|
249 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/lib.sh /bin/sh ./config.status -q |
---|
250 | |
---|
251 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/link.sh : \ |
---|
252 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/link.sh.in |
---|
253 | @echo "*** update $@" |
---|
254 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/link.sh /bin/sh ./config.status -q |
---|
255 | |
---|
256 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/pyinst.sh : \ |
---|
257 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/pyinst.sh.in |
---|
258 | @echo "*** update $@" |
---|
259 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/pyinst.sh /bin/sh ./config.status -q |
---|
260 | |
---|
261 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/python.sh : \ |
---|
262 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/python.sh.in |
---|
263 | @echo "*** update $@" |
---|
264 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/python.sh /bin/sh ./config.status -q |
---|
265 | |
---|
266 | |
---|
267 | ## This rule shall ensure that ANTLR_NET is up-to-date. The rule is a |
---|
268 | ## double colon rule, ie. further rules with the same target may be |
---|
269 | ## added. For unknown reasons, double colon rules are always phony,ie. |
---|
270 | ## getting executed even in case target exists. We break the infinite |
---|
271 | ## loop, we only jump into subdir "lib/csharp/src" if we are not |
---|
272 | ## already in. It is very important that each Makefile[.in] sets the |
---|
273 | ## variable $(subdir) proper. |
---|
274 | |
---|
275 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.runtime.dll :: |
---|
276 | @ subdir="lib/csharp/antlr.runtime" ; \ |
---|
277 | case $(subdir) in \ |
---|
278 | $$subdir ) ;; \ |
---|
279 | * ) d="/usr/neuro/local/yao/yao9/share/antlr-2.7.7/$$subdir" ; \ |
---|
280 | test -f "$$d/Makefile" && { \ |
---|
281 | /usr/bin/make -C "$$d" $@ ; \ |
---|
282 | } \ |
---|
283 | ;; \ |
---|
284 | esac |
---|
285 | |
---|
286 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.astframe.dll :: |
---|
287 | @ subdir="lib/csharp/antlr.astframe" ; \ |
---|
288 | case $(subdir) in \ |
---|
289 | $$subdir ) ;; \ |
---|
290 | * ) d="/usr/neuro/local/yao/yao9/share/antlr-2.7.7/$$subdir" ; \ |
---|
291 | test -f "$$d/Makefile" && { \ |
---|
292 | /usr/bin/make -C "$$d" $@ ; \ |
---|
293 | } \ |
---|
294 | ;; \ |
---|
295 | esac |
---|
296 | |
---|
297 | |
---|
298 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/antlr/antlr.jar :: |
---|
299 | @ subdir="antlr" ; \ |
---|
300 | case $(subdir) in \ |
---|
301 | $$subdir ) ;; \ |
---|
302 | * ) d="/usr/neuro/local/yao/yao9/share/antlr-2.7.7/$$subdir" ; \ |
---|
303 | test -f "$$d/Makefile" && { \ |
---|
304 | /usr/bin/make -C "$$d" $@ ; \ |
---|
305 | } \ |
---|
306 | ;; \ |
---|
307 | esac |
---|
308 | |
---|
309 | |
---|
310 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/cpp/src/libantlr.a :: |
---|
311 | @ subdir="lib/cpp/src" ; \ |
---|
312 | case $(subdir) in \ |
---|
313 | $$subdir ) ;; \ |
---|
314 | * ) d="/usr/neuro/local/yao/yao9/share/antlr-2.7.7/$$subdir" ; \ |
---|
315 | test -f "$$d/Makefile" && { \ |
---|
316 | /usr/bin/make -C "$$d" $@ ; \ |
---|
317 | } \ |
---|
318 | ;; \ |
---|
319 | esac |
---|
320 | |
---|
321 | ##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
---|