[1] | 1 | ## This file is part of ANTLR (http://www.antlr.org). Have a |
---|
| 2 | ## look into LICENSE.txt for license details. This file has |
---|
| 3 | ## been written by (C) Wolfgang Haefelinger, 2004. |
---|
| 4 | |
---|
| 5 | ## do not change this value |
---|
| 6 | subdir=examples/java/preserveWhiteSpace |
---|
| 7 | |
---|
| 8 | ## get configured (standard) variables - checkout or modify |
---|
| 9 | ## scripts/config.vars[.in] for details. |
---|
| 10 | |
---|
| 11 | ## --*- Makefile -*-- |
---|
| 12 | SUBDIRS := |
---|
| 13 | |
---|
| 14 | ## helper utilities .. |
---|
| 15 | INSTALL = /usr/bin/install -c |
---|
| 16 | MKDIR = /bin/mkdir |
---|
| 17 | RM = /bin/rm -r -f |
---|
| 18 | RMF = /bin/rm -r -f |
---|
| 19 | TAR = /bin/tar |
---|
| 20 | TOUCH = /bin/touch |
---|
| 21 | CHMOD = /bin/chmod |
---|
| 22 | SED = /bin/sed |
---|
| 23 | GREP = /bin/grep |
---|
| 24 | CAT = /bin/cat |
---|
| 25 | CHMOD = /bin/chmod |
---|
| 26 | CP = /bin/cp |
---|
| 27 | ECHO = /bin/echo |
---|
| 28 | |
---|
| 29 | # usual dribble |
---|
| 30 | exec_prefix = ${prefix} |
---|
| 31 | prefix = /usr/local |
---|
| 32 | program_transform_name = s,x,x, |
---|
| 33 | bindir = ${exec_prefix}/bin |
---|
| 34 | sbindir = ${exec_prefix}/sbin |
---|
| 35 | libexecdir = ${exec_prefix}/libexec |
---|
| 36 | datadir = ${prefix}/share |
---|
| 37 | sysconfdir = ${prefix}/etc |
---|
| 38 | sharedstatedir = ${prefix}/com |
---|
| 39 | localstatedir = ${prefix}/var |
---|
| 40 | libdir = ${exec_prefix}/lib |
---|
| 41 | includedir = ${prefix}/include |
---|
| 42 | oldincludedir = /usr/include |
---|
| 43 | infodir = ${prefix}/info |
---|
| 44 | mandir = ${prefix}/man |
---|
| 45 | build_alias = |
---|
| 46 | host_alias = |
---|
| 47 | target_alias = |
---|
| 48 | build = x86_64-unknown-linux-gnu |
---|
| 49 | build_cpu = x86_64 |
---|
| 50 | build_vendor = unknown |
---|
| 51 | build_os = linux-gnu |
---|
| 52 | host = x86_64-unknown-linux-gnu |
---|
| 53 | host_cpu = x86_64 |
---|
| 54 | host_vendor = unknown |
---|
| 55 | host_os = linux-gnu |
---|
| 56 | just_make = /usr/bin/make |
---|
| 57 | |
---|
| 58 | # Version stuff... |
---|
| 59 | VERSION = 2 |
---|
| 60 | SUBVERSION = 7 |
---|
| 61 | PATCHLEVEL = 7 |
---|
| 62 | PACKAGE_NAME = antlr |
---|
| 63 | PACKAGE_VERSION = 2.7.7 |
---|
| 64 | versioneddir = antlr-2.7.7 |
---|
| 65 | |
---|
| 66 | # navigation |
---|
| 67 | builddir = /usr/neuro/local/yao/yao9/share/antlr-2.7.7 |
---|
| 68 | buildtree = /usr/neuro/local/yao/yao9/share/antlr-2.7.7 |
---|
| 69 | sourcetree = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/.. |
---|
| 70 | |
---|
| 71 | ## Two abbrevs to shorten things. $(thisdir) shall be the current |
---|
| 72 | ## working directory as absolute name and $(_srcdir) is it's |
---|
| 73 | ## source dir companion. That means that $(thisdir)/Makefile has |
---|
| 74 | ## been generated by $(_srcdir)/Makefile.in. |
---|
| 75 | _srcdir = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../$(subdir) |
---|
| 76 | thisdir = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/$(subdir) |
---|
| 77 | |
---|
| 78 | # variable 'srcdir' is deprecated - use sourcetree |
---|
| 79 | srcdir = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/.. |
---|
| 80 | # variable 'objdir' is deprecated - use buildtree |
---|
| 81 | objdir = /usr/neuro/local/yao/yao9/share/antlr-2.7.7 |
---|
| 82 | |
---|
| 83 | # other |
---|
| 84 | verbose = 0 |
---|
| 85 | |
---|
| 86 | ## SUBDIRS you want to exclude (separate them by using "|"). |
---|
| 87 | SUBDIRS_NOT := . |
---|
| 88 | |
---|
| 89 | CLR = /usr/bin/mono |
---|
| 90 | |
---|
| 91 | ANTLR_JAR = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/antlr/antlr.jar |
---|
| 92 | ANTLR_LIB = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/cpp/src/libantlr.a |
---|
| 93 | ANTLR_NET = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.runtime.dll |
---|
| 94 | ANTLR_PY = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/python/antlr/python.py |
---|
| 95 | ASTFRAME_NET = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.astframe.dll |
---|
| 96 | |
---|
| 97 | antlr_jar = antlr.jar |
---|
| 98 | antlr_lib = libantlr.a |
---|
| 99 | antlr_net = antlr.runtime.dll |
---|
| 100 | antlr_py = python.py |
---|
| 101 | astframe_net = antlr.astframe.dll |
---|
| 102 | |
---|
| 103 | ### how to get rid of damned dos line ending style and -- al- |
---|
| 104 | ### most equally worse -- stupid tab character. |
---|
| 105 | ### dos2unix = perl -p -i.tmp -e 's,\r,,g;s,\t, ,g' |
---|
| 106 | dos2unix = : |
---|
| 107 | |
---|
| 108 | ## get configured rules |
---|
| 109 | |
---|
| 110 | ##xxxxxxxxxxxxxxxxxxxxxx --*- Makefile -*-- xxxxxxxxxxxxxxxx>>> config.make |
---|
| 111 | ## By default, make will jump into any sub directory that contains a file |
---|
| 112 | ## named "Makefile". This is done in the order implied by "/bin/ls" which |
---|
| 113 | ## is in almost all cases correct (note that you should not design |
---|
| 114 | ## Makefiles which depend on a specific invocation order). You can override |
---|
| 115 | ## specific behaviour by using variable SUBDIRS. If given and not empty, |
---|
| 116 | ## "/bin/ls" is not used. Also, if you want to disable jumping subdirs you |
---|
| 117 | ## may use either ".", ".." as value for SUBDIRS. Note that SUBDIRS may |
---|
| 118 | ## contain any directory (except "." and "..). |
---|
| 119 | |
---|
| 120 | ## This is very much GNU specific, sigh. Variable SUBDIRS is used to tell |
---|
| 121 | ## make which subdirectory to jump. It's value is normally preset or just |
---|
| 122 | ## empty, in which case /bin/ls is used as discussed above. However, I also |
---|
| 123 | ## want that a user can say |
---|
| 124 | ## |
---|
| 125 | ## make SUBDIRS="d1 d2 .. dn" |
---|
| 126 | ## |
---|
| 127 | ## That means, ignore defaults and go ahead and make exactly this director- |
---|
| 128 | ## ies mentioned. Of course, this should only have an impact on Makefile |
---|
| 129 | ## being used by "make" but not for any makefils in d1 .. dn, right? For |
---|
| 130 | ## example, if di needs to make directories a,b and c, then they need to |
---|
| 131 | ## be made of course. So all burns down to the question how to prevent a |
---|
| 132 | ## variable from being passed to submakes. Below you can see the answer. If |
---|
| 133 | ## you believe that there's a simpler answer to the problem don't hesistate |
---|
| 134 | ## to try it out. If it works, send me an email: ora dot et dot labora at |
---|
| 135 | ## web dot de. But be warned - you need to try all variations. |
---|
| 136 | ## |
---|
| 137 | ## Here is in short what I found and how it works. Variables given on |
---|
| 138 | ## command line are saved in variable MAKEOVERRIDES. This variable is |
---|
| 139 | ## exported and passed down. On invocation of a submake file, make will |
---|
| 140 | ## have a look into MAKEOVERRIDES and unpack each variable found therein. |
---|
| 141 | ## Therefore I'm just going to remove every (?) occurance of SUBDIRS from |
---|
| 142 | ## this variable. |
---|
| 143 | MAKEOVERRIDES := $(patsubst SUBDIRS=%,,$(MAKEOVERRIDES)) |
---|
| 144 | |
---|
| 145 | |
---|
| 146 | ## The actuall rule on how to make a recursive target. |
---|
| 147 | all clean distclean test install force-target clean-target :: |
---|
| 148 | @dirs="$(SUBDIRS)" ; \ |
---|
| 149 | test -z "$${dirs}" && { \ |
---|
| 150 | dirs=`/bin/ls` ; \ |
---|
| 151 | } ; \ |
---|
| 152 | for d in . $${dirs} ; do \ |
---|
| 153 | case $${d} in \ |
---|
| 154 | . | .. ) ;; \ |
---|
| 155 | $(SUBDIRS_NOT) ) ;; \ |
---|
| 156 | *) \ |
---|
| 157 | if test -f "$${d}/Makefile" ; then \ |
---|
| 158 | echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" ; \ |
---|
| 159 | echo ">> /usr/bin/make -C $(subdir)/$${d} $@ " ; \ |
---|
| 160 | echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" ; \ |
---|
| 161 | /usr/bin/make -C "$$d" $@ || exit 1 ;\ |
---|
| 162 | fi ; \ |
---|
| 163 | ;; \ |
---|
| 164 | esac ; \ |
---|
| 165 | done |
---|
| 166 | |
---|
| 167 | ## For historical reasons only you can make local targets as "this-*" or |
---|
| 168 | ## "*-this" rules. The default is to do nothing. Although this targets |
---|
| 169 | ## exists, it is recommended to define further "all", "clean" etc. double |
---|
| 170 | ## colon rules. |
---|
| 171 | |
---|
| 172 | all :: this-all all-this |
---|
| 173 | clean :: this-clean clean-this |
---|
| 174 | distclean :: this-distclean distclean-this |
---|
| 175 | test :: this-test test-this |
---|
| 176 | install :: this-install install-this |
---|
| 177 | |
---|
| 178 | this-all :: |
---|
| 179 | this-clean :: |
---|
| 180 | this-distclean :: |
---|
| 181 | this-test :: |
---|
| 182 | this-install :: |
---|
| 183 | |
---|
| 184 | all-this :: |
---|
| 185 | clean-this :: |
---|
| 186 | distclean-this :: |
---|
| 187 | test-this :: |
---|
| 188 | install-this :: |
---|
| 189 | |
---|
| 190 | force-target :: clean-target all |
---|
| 191 | |
---|
| 192 | distclean :: clean |
---|
| 193 | |
---|
| 194 | distclean :: |
---|
| 195 | $(RM) Makefile |
---|
| 196 | |
---|
| 197 | ## xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<< config.make |
---|
| 198 | |
---|
| 199 | ## By default we compile class files so we are ready to carry |
---|
| 200 | ## out a test. Note that deps have been setup in such a way |
---|
| 201 | ## that you can do a 'make compile' whithout having made |
---|
| 202 | ## antlr.jar before. |
---|
| 203 | this : compile |
---|
| 204 | all :: compile |
---|
| 205 | compile : .java |
---|
| 206 | test :: test1 |
---|
| 207 | |
---|
| 208 | |
---|
| 209 | ## My *.g files |
---|
| 210 | g_FILES = \ |
---|
| 211 | $(_srcdir)/instr.g \ |
---|
| 212 | $(eol) |
---|
| 213 | |
---|
| 214 | ## Java files generated by *.g |
---|
| 215 | g_src_FILES = \ |
---|
| 216 | $(thisdir)/InstrLexer.java \ |
---|
| 217 | $(thisdir)/InstrParser.java \ |
---|
| 218 | $(thisdir)/InstrParserTokenTypes.java \ |
---|
| 219 | $(thisdir)/InstrTreeWalker.java \ |
---|
| 220 | $(eol) |
---|
| 221 | |
---|
| 222 | ## Text files generated by *.g |
---|
| 223 | g_txt_FILES = \ |
---|
| 224 | $(thisdir)/IDLTokenTypes.txt \ |
---|
| 225 | $(eol) |
---|
| 226 | |
---|
| 227 | ## All generated files by *.g |
---|
| 228 | g_gen_FILES = \ |
---|
| 229 | $(g_src_FILES) \ |
---|
| 230 | $(g_txt_FILES) \ |
---|
| 231 | $(eol) |
---|
| 232 | |
---|
| 233 | # All Java files |
---|
| 234 | j_src_FILES = \ |
---|
| 235 | $(g_src_FILES) \ |
---|
| 236 | $(_srcdir)/InstrMain.java \ |
---|
| 237 | $(eol) |
---|
| 238 | |
---|
| 239 | ## Dependencies of test 1 |
---|
| 240 | test1_deps = \ |
---|
| 241 | .java \ |
---|
| 242 | $(buildtree)/scripts/javac.sh \ |
---|
| 243 | $(eol) |
---|
| 244 | test2_deps = \ |
---|
| 245 | .java \ |
---|
| 246 | $(buildtree)/scripts/javac.sh \ |
---|
| 247 | $(eol) |
---|
| 248 | test3_deps = \ |
---|
| 249 | .java \ |
---|
| 250 | $(buildtree)/scripts/javac.sh \ |
---|
| 251 | $(eol) |
---|
| 252 | |
---|
| 253 | ## Test 1 |
---|
| 254 | test1_cmd = \ |
---|
| 255 | @ /bin/sh /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/java.sh InstrMain < $(_srcdir)/test.in \ |
---|
| 256 | $(eol) |
---|
| 257 | ## Test 2 |
---|
| 258 | test2_cmd = \ |
---|
| 259 | @ /bin/sh /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/java.sh tinybasic.Main $(_srcdir)/try1.bas \ |
---|
| 260 | $(eol) |
---|
| 261 | ## Test 3 |
---|
| 262 | test3_cmd = \ |
---|
| 263 | @ /bin/sh /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/java.sh tinybasic.Main $(_srcdir)/try2.bas \ |
---|
| 264 | $(eol) |
---|
| 265 | |
---|
| 266 | ## Tests |
---|
| 267 | test1 : $(test1_deps) |
---|
| 268 | @ $(test1_cmd) |
---|
| 269 | |
---|
| 270 | test2 : $(test2_deps) |
---|
| 271 | @ $(test2_cmd) |
---|
| 272 | |
---|
| 273 | test3 : $(test3_deps) |
---|
| 274 | @ $(test3_cmd) |
---|
| 275 | |
---|
| 276 | |
---|
| 277 | ## How to generated *.java .. |
---|
| 278 | $(g_src_FILES) : $(g_FILES) |
---|
| 279 | @ /bin/rm -r -f $(g_src_FILES) |
---|
| 280 | @ /bin/sh /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/antlr.sh $(g_FILES) |
---|
| 281 | @ $(dos2unix) $(g_src_FILES) |
---|
| 282 | |
---|
| 283 | $(g_src_FILES) : /usr/neuro/local/yao/yao9/share/antlr-2.7.7/antlr/antlr.jar |
---|
| 284 | $(g_src_FILES) : $(buildtree)/scripts/antlr.sh |
---|
| 285 | |
---|
| 286 | ## How to generate class files |
---|
| 287 | .java : $(j_src_FILES) |
---|
| 288 | @-/bin/rm -r -f $@ |
---|
| 289 | @/bin/sh /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/javac.sh $(j_src_FILES) && /bin/echo > $@ |
---|
| 290 | |
---|
| 291 | .java : $(buildtree)/scripts/javac.sh |
---|
| 292 | |
---|
| 293 | ### cleanup astsupport |
---|
| 294 | clean :: |
---|
| 295 | @/bin/echo cleaning $(subdir) ... |
---|
| 296 | @ -/bin/rm -r -f .java *.class $(g_gen_FILES) tinybasic |
---|
| 297 | @ -/bin/rm -r -f *.pyc *.tmp *TokenTypes.txt *TokenTypes |
---|
| 298 | |
---|
| 299 | |
---|
| 300 | |
---|
| 301 | ### get configured dependencies - for example, just list |
---|
| 302 | ### autoconf variable ANTLR_JAR as reference and it will |
---|
| 303 | ### be done automatically as stddeps contains appropr. |
---|
| 304 | ### rule. For details, checkout scripts/config.vars[.in] |
---|
| 305 | |
---|
| 306 | ## --*- Makefile -*-- |
---|
| 307 | ## Make listed targets even in case a file with same name exists. |
---|
| 308 | .PHONY: \ |
---|
| 309 | this \ |
---|
| 310 | all clean install test distclean \ |
---|
| 311 | this-all this-clean this-install this-test this-distclean \ |
---|
| 312 | all-this clean-this install-this test-this distclean-this \ |
---|
| 313 | $(eof) |
---|
| 314 | |
---|
| 315 | ## delete suffix rules - shortens output when using -d and is not |
---|
| 316 | ## used anyway (and should not be used). |
---|
| 317 | .SUFFIXES: |
---|
| 318 | |
---|
| 319 | Makefile :: /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../$(subdir)/Makefile.in \ |
---|
| 320 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.deps \ |
---|
| 321 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.make \ |
---|
| 322 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.vars \ |
---|
| 323 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/config.status |
---|
| 324 | @echo "*** update $(subdir)/Makefile" |
---|
| 325 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES="$(subdir)/Makefile" /bin/sh ./config.status -q |
---|
| 326 | |
---|
| 327 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.deps : \ |
---|
| 328 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/config.deps.in |
---|
| 329 | @echo "*** update $@" |
---|
| 330 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/config.deps /bin/sh ./config.status -q |
---|
| 331 | |
---|
| 332 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.make : \ |
---|
| 333 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/config.make.in |
---|
| 334 | @echo "*** update $@" |
---|
| 335 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/config.make /bin/sh ./config.status -q |
---|
| 336 | |
---|
| 337 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.vars : \ |
---|
| 338 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/config.vars.in |
---|
| 339 | @echo "*** update $@" |
---|
| 340 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/config.vars /bin/sh ./config.status -q |
---|
| 341 | |
---|
| 342 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/config.status : \ |
---|
| 343 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../configure |
---|
| 344 | @echo "*** reconfigure $@ - stay tuned .." |
---|
| 345 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && /bin/sh ./config.status -q --recheck |
---|
| 346 | @echo "*** update all configured files .." |
---|
| 347 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && /bin/sh ./config.status -q |
---|
| 348 | |
---|
| 349 | ### In a pure devel mode there should be also a dependency listed on how |
---|
| 350 | ### to make configure out of configure.in. This requires that usr has |
---|
| 351 | ### m4 and autoconf (proper version) installed. Appropriate checks are |
---|
| 352 | ### not done in configure. If so, then uncomment next lines: |
---|
| 353 | ### |
---|
| 354 | ### @rule_configure_configure_in@ |
---|
| 355 | ### |
---|
| 356 | |
---|
| 357 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/antlr.sh : \ |
---|
| 358 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/antlr.sh.in |
---|
| 359 | @echo "*** update $@" |
---|
| 360 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/antlr.sh /bin/sh ./config.status -q |
---|
| 361 | |
---|
| 362 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/cpp.sh : \ |
---|
| 363 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/cpp.sh.in |
---|
| 364 | @echo "*** update $@" |
---|
| 365 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/cpp.sh /bin/sh ./config.status -q |
---|
| 366 | |
---|
| 367 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/csc.sh : \ |
---|
| 368 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/csc.sh.in |
---|
| 369 | @echo "*** update $@" |
---|
| 370 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/csc.sh /bin/sh ./config.status -q |
---|
| 371 | |
---|
| 372 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/cxx.sh : \ |
---|
| 373 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/cxx.sh.in |
---|
| 374 | @echo "*** update $@" |
---|
| 375 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/cxx.sh /bin/sh ./config.status -q |
---|
| 376 | |
---|
| 377 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/jar.sh : \ |
---|
| 378 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/jar.sh.in |
---|
| 379 | @echo "*** update $@" |
---|
| 380 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/jar.sh /bin/sh ./config.status -q |
---|
| 381 | |
---|
| 382 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/javac.sh : \ |
---|
| 383 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/javac.sh.in |
---|
| 384 | @echo "*** update $@" |
---|
| 385 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/javac.sh /bin/sh ./config.status -q |
---|
| 386 | |
---|
| 387 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/java.sh : \ |
---|
| 388 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/java.sh.in |
---|
| 389 | @echo "*** update $@" |
---|
| 390 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/java.sh /bin/sh ./config.status -q |
---|
| 391 | |
---|
| 392 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/lib.sh : \ |
---|
| 393 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/lib.sh.in |
---|
| 394 | @echo "*** update $@" |
---|
| 395 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/lib.sh /bin/sh ./config.status -q |
---|
| 396 | |
---|
| 397 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/link.sh : \ |
---|
| 398 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/link.sh.in |
---|
| 399 | @echo "*** update $@" |
---|
| 400 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/link.sh /bin/sh ./config.status -q |
---|
| 401 | |
---|
| 402 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/pyinst.sh : \ |
---|
| 403 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/pyinst.sh.in |
---|
| 404 | @echo "*** update $@" |
---|
| 405 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/pyinst.sh /bin/sh ./config.status -q |
---|
| 406 | |
---|
| 407 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/python.sh : \ |
---|
| 408 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/python.sh.in |
---|
| 409 | @echo "*** update $@" |
---|
| 410 | @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/python.sh /bin/sh ./config.status -q |
---|
| 411 | |
---|
| 412 | |
---|
| 413 | ## This rule shall ensure that ANTLR_NET is up-to-date. The rule is a |
---|
| 414 | ## double colon rule, ie. further rules with the same target may be |
---|
| 415 | ## added. For unknown reasons, double colon rules are always phony,ie. |
---|
| 416 | ## getting executed even in case target exists. We break the infinite |
---|
| 417 | ## loop, we only jump into subdir "lib/csharp/src" if we are not |
---|
| 418 | ## already in. It is very important that each Makefile[.in] sets the |
---|
| 419 | ## variable $(subdir) proper. |
---|
| 420 | |
---|
| 421 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.runtime.dll :: |
---|
| 422 | @ subdir="lib/csharp/antlr.runtime" ; \ |
---|
| 423 | case $(subdir) in \ |
---|
| 424 | $$subdir ) ;; \ |
---|
| 425 | * ) d="/usr/neuro/local/yao/yao9/share/antlr-2.7.7/$$subdir" ; \ |
---|
| 426 | test -f "$$d/Makefile" && { \ |
---|
| 427 | /usr/bin/make -C "$$d" $@ ; \ |
---|
| 428 | } \ |
---|
| 429 | ;; \ |
---|
| 430 | esac |
---|
| 431 | |
---|
| 432 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.astframe.dll :: |
---|
| 433 | @ subdir="lib/csharp/antlr.astframe" ; \ |
---|
| 434 | case $(subdir) in \ |
---|
| 435 | $$subdir ) ;; \ |
---|
| 436 | * ) d="/usr/neuro/local/yao/yao9/share/antlr-2.7.7/$$subdir" ; \ |
---|
| 437 | test -f "$$d/Makefile" && { \ |
---|
| 438 | /usr/bin/make -C "$$d" $@ ; \ |
---|
| 439 | } \ |
---|
| 440 | ;; \ |
---|
| 441 | esac |
---|
| 442 | |
---|
| 443 | |
---|
| 444 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/antlr/antlr.jar :: |
---|
| 445 | @ subdir="antlr" ; \ |
---|
| 446 | case $(subdir) in \ |
---|
| 447 | $$subdir ) ;; \ |
---|
| 448 | * ) d="/usr/neuro/local/yao/yao9/share/antlr-2.7.7/$$subdir" ; \ |
---|
| 449 | test -f "$$d/Makefile" && { \ |
---|
| 450 | /usr/bin/make -C "$$d" $@ ; \ |
---|
| 451 | } \ |
---|
| 452 | ;; \ |
---|
| 453 | esac |
---|
| 454 | |
---|
| 455 | |
---|
| 456 | /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/cpp/src/libantlr.a :: |
---|
| 457 | @ subdir="lib/cpp/src" ; \ |
---|
| 458 | case $(subdir) in \ |
---|
| 459 | $$subdir ) ;; \ |
---|
| 460 | * ) d="/usr/neuro/local/yao/yao9/share/antlr-2.7.7/$$subdir" ; \ |
---|
| 461 | test -f "$$d/Makefile" && { \ |
---|
| 462 | /usr/bin/make -C "$$d" $@ ; \ |
---|
| 463 | } \ |
---|
| 464 | ;; \ |
---|
| 465 | esac |
---|
| 466 | |
---|
| 467 | |
---|
| 468 | .PHONY: compile |
---|
| 469 | .PHONY: test1 |
---|