1 # Generated automatically from Makefile.in by configure.
2 # Makefile.in generated automatically by automake 1.3 from Makefile.am
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 # Automakefile for JavaScript JavaScript compiler.
16 # Copyright (c) 1998 New Generation Software (NGS) Oy
18 # Author: Markku Rossi <mtr@ngs.fi>
22 # This library is free software; you can redistribute it and/or
23 # modify it under the terms of the GNU Library General Public
24 # License as published by the Free Software Foundation; either
25 # version 2 of the License, or (at your option) any later version.
27 # This library is distributed in the hope that it will be useful,
28 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30 # Library General Public License for more details.
32 # You should have received a copy of the GNU Library General Public
33 # License along with this library; if not, write to the Free
34 # Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
43 prefix = /usr
/local
/js-0.2
.5
44 exec_prefix = ${prefix}
46 bindir = ${exec_prefix}/bin
47 sbindir
= ${exec_prefix}/sbin
48 libexecdir
= ${exec_prefix}/libexec
49 datadir = ${prefix}/share
50 sysconfdir
= ${prefix}/etc
51 sharedstatedir
= ${prefix}/com
52 localstatedir
= ${prefix}/var
53 libdir = ${exec_prefix}/lib
54 infodir = ${prefix}/info
55 mandir = ${prefix}/man
56 includedir = ${prefix}/include
57 oldincludedir = /usr
/include
61 pkgdatadir
= $(datadir)/js
62 pkglibdir
= $(libdir)/js
63 pkgincludedir
= $(includedir)/js
70 AUTOHEADER
= autoheader
72 INSTALL
= /usr
/bin
/install -c
73 INSTALL_PROGRAM
= ${INSTALL}
74 INSTALL_DATA
= ${INSTALL} -m
644
75 INSTALL_SCRIPT
= ${INSTALL_PROGRAM}
84 host_alias
= i686-pc-linux-gnu
85 host_triplet
= i686-pc-linux-gnu
86 ACLOCAL_FLAGS_FOR_LIBTOOL
=
89 EXTENSIONS
= dl_open.lo xjs.lo xmd5.lo md5c.lo
90 EXTENSIONS_LIBS
= -ldl
91 INTERPRETER_FEATURES
= r_std.lo
93 LIBTOOL
= $(SHELL
) $(top_builddir
)/libtool
106 JSCOMPILER
= ..
/src
/js
107 JSCOMPILER_FLAGS
= -Wpedantic
-O2
109 JSS
= defs.js lexer.js parser.js gram.js namespace.js \
110 streams.js asm.js entry.js
111 JSCS
= defs.jsc lexer.jsc parser.jsc gram.jsc namespace.jsc \
112 streams.jsc asm.jsc entry.jsc
114 EXTRA_DIST
= $(JSS
) $(JSCS
) bs.js bs.jsc compiler.js compiler.jsc
117 mkinstalldirs
= $(SHELL
) $(top_srcdir
)/mkinstalldirs
118 CONFIG_HEADER
= ..
/jsconfig.h
120 DIST_COMMON
= ChangeLog Makefile.am Makefile.in TODO
123 DISTFILES
= $(DIST_COMMON
) $(SOURCES
) $(HEADERS
) $(TEXINFOS
) $(EXTRA_DIST
)
127 all: all-recursive all-am
131 $(srcdir)/Makefile.in
: Makefile.am
$(top_srcdir
)/configure.in
$(ACLOCAL_M4
)
132 cd
$(top_srcdir
) && $(AUTOMAKE
) --gnu
--include-deps jsc
/Makefile
134 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
136 && CONFIG_FILES
=$(subdir
)/$@ CONFIG_HEADERS
= $(SHELL
) .
/config.status
139 # This directory's subdirectories are mostly independent; you can cd
140 # into them and run `make' without going through this Makefile.
141 # To change the values of `make' variables: instead of editing Makefiles,
142 # (1) if the variable is set in `config.status', edit `config.status'
143 # (which will cause the Makefiles to be regenerated when you run `make');
144 # (2) otherwise, pass the desired values on the `make' command line.
148 all-recursive install-data-recursive install-exec-recursive \
149 installdirs-recursive install-recursive uninstall-recursive \
150 check-recursive installcheck-recursive info-recursive dvi-recursive
:
151 @set fnord
$(MAKEFLAGS
); amf
=$$2; \
152 list
='$(SUBDIRS)'; for subdir in
$$list; do \
153 target
=`echo $@ | sed s/-recursive//`; \
154 echo
"Making $$target in $$subdir"; \
155 (cd
$$subdir && $(MAKE
) $$target) \
156 || case
"$$amf" in
*=*) exit
1;; *k
*) fail
=yes
;; *) exit
1;; esac
; \
157 done
&& test -z
"$$fail"
159 mostlyclean-recursive clean-recursive distclean-recursive \
160 maintainer-clean-recursive
:
161 @set fnord
$(MAKEFLAGS
); amf
=$$2; \
162 rev
=''; list
='$(SUBDIRS)'; for subdir in
$$list; do \
163 rev
="$$subdir $$rev"; \
165 for subdir in
$$rev; do \
166 target
=`echo $@ | sed s/-recursive//`; \
167 echo
"Making $$target in $$subdir"; \
168 (cd
$$subdir && $(MAKE
) $$target) \
169 || case
"$$amf" in
*=*) exit
1;; *k
*) fail
=yes
;; *) exit
1;; esac
; \
170 done
&& test -z
"$$fail"
172 list
='$(SUBDIRS)'; for subdir in
$$list; do \
173 (cd
$$subdir && $(MAKE
) tags); \
178 ID
: $(HEADERS
) $(SOURCES
) $(LISP
)
179 here
=`pwd` && cd
$(srcdir) \
180 && mkid
-f
$$here/ID
$(SOURCES
) $(HEADERS
) $(LISP
)
182 TAGS
: tags-recursive
$(HEADERS
) $(SOURCES
) $(TAGS_DEPENDENCIES
) $(LISP
)
185 list
='$(SUBDIRS)'; for subdir in
$$list; do \
186 test -f
$$subdir/TAGS
&& tags="$$tags -i $$here/$$subdir/TAGS"; \
188 list
='$(SOURCES) $(HEADERS)'; \
189 unique
=`for i in $$list; do echo $$i; done | \
190 awk ' { files[$$0] = 1; } \
191 END { for (i in files) print i; }'`; \
192 test -z
"$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
193 ||
(cd
$(srcdir) && etags
$(ETAGS_ARGS
) $$tags $$unique $(LISP
) -o
$$here/TAGS
)
202 maintainer-clean-tags
:
204 distdir
= $(top_builddir
)/$(PACKAGE
)-$(VERSION
)/$(subdir
)
208 distdir
: $(DISTFILES
)
209 @for file in
$(DISTFILES
); do \
211 test -f
$(distdir
)/$$file \
212 || ln
$$d/$$file $(distdir
)/$$file 2> /dev
/null \
213 || cp
-p
$$d/$$file $(distdir
)/$$file; \
215 for subdir in
$(SUBDIRS
); do \
216 test -d
$(distdir
)/$$subdir \
217 || mkdir
$(distdir
)/$$subdir \
219 chmod
777 $(distdir
)/$$subdir; \
220 (cd
$$subdir && $(MAKE
) top_distdir
=..
/$(top_distdir
) distdir
=..
/$(distdir
)/$$subdir distdir
) \
226 $(MAKE
) check-recursive
227 installcheck: installcheck-recursive
230 install-exec
: install-exec-recursive
233 install-data
: install-data-recursive
236 install: install-recursive
239 uninstall: uninstall-recursive
242 $(MAKE
) INSTALL_PROGRAM
='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT
='$(INSTALL_PROGRAM)' install
243 installdirs: installdirs-recursive
247 -test -z
"$(MOSTLYCLEANFILES)" ||
rm -f
$(MOSTLYCLEANFILES
)
250 -test -z
"$(CLEANFILES)" ||
rm -f
$(CLEANFILES
)
253 -rm -f Makefile
$(DISTCLEANFILES
)
254 -rm -f config.cache config.log stamp-h stamp-h
[0-9]*
255 -test -z
"$(CONFIG_CLEAN_FILES)" ||
rm -f
$(CONFIG_CLEAN_FILES
)
257 maintainer-clean-generic
:
258 -test -z
"$(MAINTAINERCLEANFILES)" ||
rm -f
$(MAINTAINERCLEANFILES
)
259 -test -z
"$(BUILT_SOURCES)" ||
rm -f
$(BUILT_SOURCES
)
260 mostlyclean-am
: mostlyclean-tags mostlyclean-generic
262 clean-am
: clean-tags clean-generic mostlyclean-am
264 distclean-am
: distclean-tags distclean-generic clean-am
266 maintainer-clean-am
: maintainer-clean-tags maintainer-clean-generic \
269 mostlyclean: mostlyclean-recursive mostlyclean-am
271 clean: clean-recursive clean-am
273 distclean: distclean-recursive distclean-am
277 maintainer-clean
: maintainer-clean-recursive maintainer-clean-am
278 @echo
"This command is intended for maintainers to use;"
279 @echo
"it deletes files that may require special tools to rebuild."
281 .PHONY
: install-data-recursive uninstall-data-recursive \
282 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
283 uninstalldirs-recursive all-recursive check-recursive \
284 installcheck-recursive info-recursive dvi-recursive \
285 mostlyclean-recursive distclean-recursive clean-recursive \
286 maintainer-clean-recursive
tags tags-recursive mostlyclean-tags \
287 distclean-tags clean-tags maintainer-clean-tags distdir
info dvi \
288 installcheck all-am install-exec install-data
install uninstall all \
289 installdirs mostlyclean-generic distclean-generic clean-generic \
290 maintainer-clean-generic
clean mostlyclean distclean maintainer-clean
293 compile
: $(JSCS
) bs.jsc
295 compiler
: compiler.jsc
297 compiler.jsc
: compiler.js
298 $(JSCOMPILER
) $(JSCOMPILER_FLAGS
) -c
$<
299 cp compiler.jsc bak
/compiler-
`date | sed 's/ /-/g'`.jsc || true
302 cat
$(JSS
) >compiler.js
305 $(JSCOMPILER
) --load
$(JSCS
) --file bs.jsc
314 $(JSCOMPILER
) $(JSCOMPILER_FLAGS
) -g
-c
$<
316 # Tell versions [3.59,3.63) of GNU make to not export all variables.
317 # Otherwise a system limit (for SysV at least) may be exceeded.