source: trunk/yao/share/antlr-2.7.7/lib/cpp/Makefile @ 1

Last change on this file since 1 was 1, checked in by lnalod, 15 years ago

Initial import of YAO sources

  • Property svn:eol-style set to native
File size: 13.7 KB
Line 
1###############################################################################
2# $Id:$
3###############################################################################
4## do not change this value
5subdir=lib/cpp
6
7## get configured autoconf variables
8
9## --*- Makefile -*--
10SUBDIRS         := 
11
12## helper utilities ..
13INSTALL         = /usr/bin/install -c
14MKDIR           = /bin/mkdir
15RM              = /bin/rm -r -f
16RMF             = /bin/rm -r -f
17TAR             = /bin/tar
18TOUCH           = /bin/touch
19CHMOD           = /bin/chmod
20SED             = /bin/sed
21GREP            = /bin/grep
22CAT             = /bin/cat
23CHMOD           = /bin/chmod
24CP              = /bin/cp
25ECHO            = /bin/echo
26
27# usual dribble
28exec_prefix     = ${prefix}
29prefix          = /usr/local
30program_transform_name = s,x,x,
31bindir          = ${exec_prefix}/bin
32sbindir         = ${exec_prefix}/sbin
33libexecdir      = ${exec_prefix}/libexec
34datadir         = ${prefix}/share
35sysconfdir      = ${prefix}/etc
36sharedstatedir  = ${prefix}/com
37localstatedir   = ${prefix}/var
38libdir          = ${exec_prefix}/lib
39includedir      = ${prefix}/include
40oldincludedir   = /usr/include
41infodir         = ${prefix}/info
42mandir          = ${prefix}/man
43build_alias     = 
44host_alias      = 
45target_alias    = 
46build           = x86_64-unknown-linux-gnu
47build_cpu       = x86_64
48build_vendor    = unknown
49build_os        = linux-gnu
50host            = x86_64-unknown-linux-gnu
51host_cpu        = x86_64
52host_vendor     = unknown
53host_os         = linux-gnu
54just_make       = /usr/bin/make
55
56# Version stuff...
57VERSION         = 2
58SUBVERSION      = 7
59PATCHLEVEL      = 7
60PACKAGE_NAME    = antlr
61PACKAGE_VERSION = 2.7.7
62versioneddir    = antlr-2.7.7
63
64# navigation
65builddir        = /usr/neuro/local/yao/yao9/share/antlr-2.7.7
66buildtree       = /usr/neuro/local/yao/yao9/share/antlr-2.7.7
67sourcetree      = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/..
68
69## Two abbrevs to shorten things. $(thisdir) shall be the current
70## working  directory  as  absolute  name  and $(_srcdir) is it's
71## source dir companion. That means that  $(thisdir)/Makefile has
72## been generated by $(_srcdir)/Makefile.in.
73_srcdir         = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../$(subdir)
74thisdir         = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/$(subdir)
75
76# variable 'srcdir' is deprecated - use sourcetree
77srcdir          = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/..
78# variable 'objdir' is deprecated - use buildtree
79objdir          = /usr/neuro/local/yao/yao9/share/antlr-2.7.7
80
81# other
82verbose         = 0
83
84## SUBDIRS you want to exclude (separate them by using "|").
85SUBDIRS_NOT    := .
86
87CLR            = /usr/bin/mono
88
89ANTLR_JAR      = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/antlr/antlr.jar
90ANTLR_LIB      = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/cpp/src/libantlr.a
91ANTLR_NET      = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.runtime.dll
92ANTLR_PY       = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/python/antlr/python.py
93ASTFRAME_NET   = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.astframe.dll
94
95antlr_jar      = antlr.jar
96antlr_lib      = libantlr.a
97antlr_net      = antlr.runtime.dll
98antlr_py       = python.py
99astframe_net   = antlr.astframe.dll
100
101## Your own variables shall go here ..
102
103# Docs
104DOXY_TARGET=doxygen.cfg
105DOXY_GENDIR=gendoc/html
106
107
108##xxxxxxxxxxxxxxxxxxxxxx --*- Makefile -*-- xxxxxxxxxxxxxxxx>>> config.make
109## By default, make will jump into any sub directory that contains a   file
110## named "Makefile". This is done  in the order implied by "/bin/ls"  which
111## is in almost  all  cases  correct  (note  that  you  should  not  design
112## Makefiles which depend on a specific invocation order). You can override
113## specific  behaviour  by  using  variable SUBDIRS. If given and not empty,
114## "/bin/ls" is not used. Also,  if you want to disable jumping subdirs you
115## may  use  either ".", ".."  as  value for SUBDIRS. Note that SUBDIRS may
116## contain any directory (except "." and "..).
117
118## This is very much  GNU specific, sigh.  Variable SUBDIRS is used to tell
119## make which  subdirectory to jump. It's  value is normally preset or just
120## empty, in which case /bin/ls is used as discussed above. However, I also
121## want that a user can say
122##
123##  make SUBDIRS="d1 d2 .. dn"
124##
125## That means, ignore defaults and go ahead and make exactly this director-
126## ies mentioned. Of course, this should only have  an  impact  on Makefile
127## being used  by  "make"  but not for any makefils in d1 .. dn, right? For
128## example, if di  needs  to  make directories a,b and c, then they need to
129## be made of course. So all burns down to the question how to prevent a
130## variable from being passed to submakes. Below you can see the answer. If
131## you believe that there's a simpler answer to the problem don't hesistate
132## to try it out. If  it  works, send me an email: ora dot et dot labora at
133## web dot de. But be warned - you need to try all variations.
134##
135## Here is in short what  I  found  and how  it  works.  Variables given on
136## command line  are  saved  in  variable  MAKEOVERRIDES. This  variable is
137## exported  and  passed down. On  invocation  of a submake file, make will
138## have a  look  into MAKEOVERRIDES  and unpack each variable found therein.
139## Therefore I'm just going to  remove  every (?) occurance of SUBDIRS from
140## this variable.
141MAKEOVERRIDES := $(patsubst SUBDIRS=%,,$(MAKEOVERRIDES))
142
143
144## The actuall rule on how to make a recursive target.
145all clean distclean test install force-target clean-target :: 
146        @dirs="$(SUBDIRS)" ; \
147        test -z "$${dirs}" && { \
148                dirs=`/bin/ls` ; \
149  } ; \
150        for d in . $${dirs} ; do \
151                case $${d} in \
152                . | .. ) ;; \
153          $(SUBDIRS_NOT) ) ;; \
154                *) \
155                if test -f "$${d}/Makefile" ; then \
156                  echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" ; \
157                  echo ">> /usr/bin/make -C $(subdir)/$${d} $@                          " ; \
158                        echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" ; \
159                        /usr/bin/make -C "$$d" $@ || exit 1 ;\
160                fi ; \
161                ;; \
162                esac ; \
163        done
164
165## For historical  reasons only you can make local targets as "this-*" or
166## "*-this" rules. The  default is to do nothing. Although this targets
167## exists, it is recommended to define further "all", "clean" etc. double
168## colon rules.
169 
170all       :: this-all all-this
171clean     :: this-clean clean-this
172distclean :: this-distclean distclean-this
173test      :: this-test test-this
174install   :: this-install install-this
175
176this-all ::
177this-clean ::
178this-distclean ::
179this-test ::
180this-install ::
181
182all-this ::
183clean-this ::
184distclean-this ::
185test-this ::
186install-this ::
187
188force-target :: clean-target all
189
190distclean :: clean
191
192distclean ::
193        $(RM) Makefile
194
195## xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<< config.make
196
197
198
199## --*- Makefile -*--
200## Make listed targets even in case a file with same name exists.
201.PHONY: \
202 this \
203 all clean install test distclean \
204 this-all this-clean this-install this-test this-distclean \
205 all-this clean-this install-this test-this distclean-this \
206 $(eof)
207
208## delete suffix rules - shortens output when using -d and is not
209## used anyway (and should not be used).
210.SUFFIXES:
211
212Makefile :: /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../$(subdir)/Makefile.in  \
213            /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.deps \
214                                          /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.make \
215                                          /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.vars \
216            /usr/neuro/local/yao/yao9/share/antlr-2.7.7/config.status
217        @echo "*** update $(subdir)/Makefile"
218        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES="$(subdir)/Makefile" /bin/sh ./config.status -q
219
220/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.deps : \
221        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/config.deps.in
222        @echo "*** update $@"
223        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/config.deps /bin/sh ./config.status -q
224
225/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.make : \
226        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/config.make.in
227        @echo "*** update $@"
228        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/config.make /bin/sh ./config.status -q
229
230/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/config.vars : \
231        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/config.vars.in
232        @echo "*** update $@"
233        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/config.vars /bin/sh ./config.status -q
234
235/usr/neuro/local/yao/yao9/share/antlr-2.7.7/config.status : \
236        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../configure
237        @echo "*** reconfigure $@ - stay tuned .."
238        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && /bin/sh ./config.status -q --recheck
239        @echo "*** update all configured files .."
240        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && /bin/sh ./config.status -q
241
242### In a pure devel mode there should be also a dependency listed on how
243### to make configure out of  configure.in.  This  requires that usr has
244### m4  and  autoconf (proper version) installed. Appropriate checks are
245### not done in configure. If so, then uncomment next lines:
246###
247###   @rule_configure_configure_in@
248###
249
250/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/antlr.sh : \
251        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/antlr.sh.in
252        @echo "*** update $@"
253        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/antlr.sh /bin/sh ./config.status -q
254
255/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/cpp.sh : \
256        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/cpp.sh.in
257        @echo "*** update $@"
258        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/cpp.sh /bin/sh ./config.status -q
259
260/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/csc.sh : \
261        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/csc.sh.in
262        @echo "*** update $@"
263        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/csc.sh /bin/sh ./config.status -q
264
265/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/cxx.sh : \
266        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/cxx.sh.in
267        @echo "*** update $@"
268        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/cxx.sh /bin/sh ./config.status -q
269
270/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/jar.sh : \
271        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/jar.sh.in
272        @echo "*** update $@"
273        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/jar.sh /bin/sh ./config.status -q
274
275/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/javac.sh : \
276        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/javac.sh.in
277        @echo "*** update $@"
278        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/javac.sh /bin/sh ./config.status -q
279
280/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/java.sh : \
281        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/java.sh.in
282        @echo "*** update $@"
283        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/java.sh /bin/sh ./config.status -q
284
285/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/lib.sh : \
286        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/lib.sh.in
287        @echo "*** update $@"
288        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/lib.sh /bin/sh ./config.status -q
289
290/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/link.sh : \
291        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/link.sh.in
292        @echo "*** update $@"
293        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/link.sh /bin/sh ./config.status -q
294
295/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/pyinst.sh : \
296        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/pyinst.sh.in
297        @echo "*** update $@"
298        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/pyinst.sh /bin/sh ./config.status -q
299
300/usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/python.sh : \
301        /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/../scripts/python.sh.in
302        @echo "*** update $@"
303        @cd /usr/neuro/local/yao/yao9/share/antlr-2.7.7 && CONFIG_FILES=scripts/python.sh /bin/sh ./config.status -q
304
305
306## This rule shall ensure that ANTLR_NET is up-to-date. The rule is a
307## double colon rule, ie. further  rules  with the same target may be
308## added. For unknown reasons, double colon rules are always phony,ie.
309## getting executed even in case target exists. We break the infinite
310## loop,  we only  jump  into  subdir  "lib/csharp/src" if we are not
311## already in. It is very important that  each Makefile[.in] sets the
312## variable $(subdir) proper.
313
314/usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.runtime.dll :: 
315        @ subdir="lib/csharp/antlr.runtime" ; \
316    case $(subdir) in \
317          $$subdir ) ;; \
318          * ) d="/usr/neuro/local/yao/yao9/share/antlr-2.7.7/$$subdir" ; \
319        test -f "$$d/Makefile" && {  \
320         /usr/bin/make -C "$$d" $@ ; \
321        }       \
322        ;; \
323    esac
324
325/usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.astframe.dll :: 
326        @ subdir="lib/csharp/antlr.astframe" ; \
327    case $(subdir) in \
328          $$subdir ) ;; \
329          * ) d="/usr/neuro/local/yao/yao9/share/antlr-2.7.7/$$subdir" ; \
330        test -f "$$d/Makefile" && {  \
331         /usr/bin/make -C "$$d" $@ ; \
332        }       \
333        ;; \
334    esac
335
336
337/usr/neuro/local/yao/yao9/share/antlr-2.7.7/antlr/antlr.jar ::
338        @ subdir="antlr" ; \
339    case $(subdir) in \
340          $$subdir ) ;; \
341          * ) d="/usr/neuro/local/yao/yao9/share/antlr-2.7.7/$$subdir" ; \
342        test -f "$$d/Makefile" && {  \
343         /usr/bin/make -C "$$d" $@ ; \
344        }       \
345        ;; \
346    esac
347
348
349/usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/cpp/src/libantlr.a ::
350        @ subdir="lib/cpp/src" ; \
351    case $(subdir) in \
352          $$subdir ) ;; \
353          * ) d="/usr/neuro/local/yao/yao9/share/antlr-2.7.7/$$subdir" ; \
354        test -f "$$d/Makefile" && {  \
355         /usr/bin/make -C "$$d" $@ ; \
356        }       \
357        ;; \
358    esac
359
Note: See TracBrowser for help on using the repository browser.