source: trunk/yao/share/antlr-2.7.7/lib/python/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: 11.5 KB
Line 
1## do not change this value
2subdir=lib/python
3
4##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
5
6## --*- Makefile -*--
7SUBDIRS         := 
8
9## helper utilities ..
10INSTALL         = /usr/bin/install -c
11MKDIR           = /bin/mkdir
12RM              = /bin/rm -r -f
13RMF             = /bin/rm -r -f
14TAR             = /bin/tar
15TOUCH           = /bin/touch
16CHMOD           = /bin/chmod
17SED             = /bin/sed
18GREP            = /bin/grep
19CAT             = /bin/cat
20CHMOD           = /bin/chmod
21CP              = /bin/cp
22ECHO            = /bin/echo
23
24# usual dribble
25exec_prefix     = ${prefix}
26prefix          = /usr/local
27program_transform_name = s,x,x,
28bindir          = ${exec_prefix}/bin
29sbindir         = ${exec_prefix}/sbin
30libexecdir      = ${exec_prefix}/libexec
31datadir         = ${prefix}/share
32sysconfdir      = ${prefix}/etc
33sharedstatedir  = ${prefix}/com
34localstatedir   = ${prefix}/var
35libdir          = ${exec_prefix}/lib
36includedir      = ${prefix}/include
37oldincludedir   = /usr/include
38infodir         = ${prefix}/info
39mandir          = ${prefix}/man
40build_alias     = 
41host_alias      = 
42target_alias    = 
43build           = x86_64-unknown-linux-gnu
44build_cpu       = x86_64
45build_vendor    = unknown
46build_os        = linux-gnu
47host            = x86_64-unknown-linux-gnu
48host_cpu        = x86_64
49host_vendor     = unknown
50host_os         = linux-gnu
51just_make       = /usr/bin/make
52
53# Version stuff...
54VERSION         = 2
55SUBVERSION      = 7
56PATCHLEVEL      = 7
57PACKAGE_NAME    = antlr
58PACKAGE_VERSION = 2.7.7
59versioneddir    = antlr-2.7.7
60
61# navigation
62builddir        = /usr/neuro/local/yao/yao9/share/antlr-2.7.7
63buildtree       = /usr/neuro/local/yao/yao9/share/antlr-2.7.7
64sourcetree      = /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)
71thisdir         = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/$(subdir)
72
73# variable 'srcdir' is deprecated - use sourcetree
74srcdir          = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/scripts/..
75# variable 'objdir' is deprecated - use buildtree
76objdir          = /usr/neuro/local/yao/yao9/share/antlr-2.7.7
77
78# other
79verbose         = 0
80
81## SUBDIRS you want to exclude (separate them by using "|").
82SUBDIRS_NOT    := .
83
84CLR            = /usr/bin/mono
85
86ANTLR_JAR      = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/antlr/antlr.jar
87ANTLR_LIB      = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/cpp/src/libantlr.a
88ANTLR_NET      = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.runtime.dll
89ANTLR_PY       = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/python/antlr/python.py
90ASTFRAME_NET   = /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/antlr.astframe.dll
91
92antlr_jar      = antlr.jar
93antlr_lib      = libantlr.a
94antlr_net      = antlr.runtime.dll
95antlr_py       = python.py
96astframe_net   = antlr.astframe.dll
97##xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
98
99
100PYTHON_SETUP = \
101 setup.py \
102 $(eol)
103
104antlr_python_FILES = \
105 $(eol)
106
107all : 
108
109test:
110
111install: install-this
112
113clean:
114
115distclean: clean
116        /bin/rm -r -f Makefile
117
118antlr_py_DIR   = \
119 $(datadir)/$(versioneddir)
120 $(eol)
121
122antlr_py_FILES = \
123 /usr/neuro/local/yao/yao9/share/antlr-2.7.7/lib/python/../../lib/python/antlr/antlr.py \
124 $(eol)
125
126antlr_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
131docdir   = $(datadir)/doc/$(versioneddir)
132extradir = $(datadir)/$(versioneddir)
133
134install-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
173Makefile :: /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
Note: See TracBrowser for help on using the repository browser.