Generate proxy makefiles in output tree.
[reactos.git] / reactos / lib / kjs / jsdas / Makefile
1 # Generated automatically from Makefile.in by configure.
2 # Makefile.in generated automatically by automake 1.3 from Makefile.am
3
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.
8
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
12 # PARTICULAR PURPOSE.
13
14 #
15 # Automakefile for JavaScript disassembler.
16 # Copyright (c) 1998 New Generation Software (NGS) Oy
17 #
18 # Author: Markku Rossi <mtr@ngs.fi>
19 #
20
21 #
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.
26 #
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.
31 #
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,
35 # MA 02111-1307, USA
36 #
37
38
39 SHELL = /bin/sh
40
41 srcdir = .
42 top_srcdir = ..
43 prefix = /usr/local/js-0.2.5
44 exec_prefix = ${prefix}
45
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
58
59 DISTDIR =
60
61 pkgdatadir = $(datadir)/js
62 pkglibdir = $(libdir)/js
63 pkgincludedir = $(includedir)/js
64
65 top_builddir = ..
66
67 ACLOCAL = aclocal
68 AUTOCONF = autoconf
69 AUTOMAKE = automake
70 AUTOHEADER = autoheader
71
72 INSTALL = /usr/bin/install -c
73 INSTALL_PROGRAM = ${INSTALL}
74 INSTALL_DATA = ${INSTALL} -m 644
75 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
76 transform = s,x,x,
77
78 NORMAL_INSTALL = :
79 PRE_INSTALL = :
80 POST_INSTALL = :
81 NORMAL_UNINSTALL = :
82 PRE_UNINSTALL = :
83 POST_UNINSTALL = :
84 host_alias = i686-pc-linux-gnu
85 host_triplet = i686-pc-linux-gnu
86 ACLOCAL_FLAGS_FOR_LIBTOOL =
87 CC = gcc
88 CPP = gcc -E
89 EXTENSIONS = dl_open.lo xjs.lo xmd5.lo md5c.lo
90 EXTENSIONS_LIBS = -ldl
91 INTERPRETER_FEATURES = r_std.lo
92 LD = /usr/bin/ld
93 LIBTOOL = $(SHELL) $(top_builddir)/libtool
94 LN_S = ln -s
95 MAKEINFO = makeinfo
96 NM = /usr/bin/nm -B
97 PACKAGE = js
98 PGCC_BY_PROVENZANO =
99 RANLIB = ranlib
100 U =
101 VERSION = 0.2.5
102 XLC_R_AIX =
103
104 JSCOMPILER = ../src/js
105 JSCOMPILER_FLAGS = -Wpedantic -O2 -g
106
107 JSS = bc.js operands.js main.js
108 JSCS = bc.jsc operands.jsc main.jsc
109
110 EXTRA_DIST = $(JSS) extract-op-names.js jsdas.1
111
112 man_MANS = jsdas.1
113
114 bin_SCRIPTS = jsdas
115
116 CLEANFILES = jsdas $(JSCS)
117
118 SUFFIXES = .jsc .js
119 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
120 CONFIG_HEADER = ../jsconfig.h
121 CONFIG_CLEAN_FILES =
122 SCRIPTS = $(bin_SCRIPTS)
123
124 man1dir = $(mandir)/man1
125 MANS = $(man_MANS)
126
127 NROFF = nroff
128 DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO
129
130
131 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
132
133 TAR = tar
134 GZIP = --best
135 all: Makefile $(SCRIPTS) $(MANS)
136
137 .SUFFIXES:
138 .SUFFIXES: .js .jsc
139 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
140 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps jsdas/Makefile
141
142 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
143 cd $(top_builddir) \
144 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
145
146
147 install-binSCRIPTS: $(bin_SCRIPTS)
148 @$(NORMAL_INSTALL)
149 $(mkinstalldirs) $(DESTDIR)$(bindir)
150 @list='$(bin_SCRIPTS)'; for p in $$list; do \
151 if test -f $$p; then \
152 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
153 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
154 else if test -f $(srcdir)/$$p; then \
155 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
156 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
157 else :; fi; fi; \
158 done
159
160 uninstall-binSCRIPTS:
161 @$(NORMAL_UNINSTALL)
162 list='$(bin_SCRIPTS)'; for p in $$list; do \
163 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
164 done
165
166 install-man1:
167 $(mkinstalldirs) $(DESTDIR)$(man1dir)
168 @list='$(man1_MANS)'; \
169 l2='$(man_MANS)'; for i in $$l2; do \
170 case "$$i" in \
171 *.1*) list="$$list $$i" ;; \
172 esac; \
173 done; \
174 for i in $$list; do \
175 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
176 else file=$$i; fi; \
177 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
178 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
179 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
180 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
181 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
182 done
183
184 uninstall-man1:
185 @list='$(man1_MANS)'; \
186 l2='$(man_MANS)'; for i in $$l2; do \
187 case "$$i" in \
188 *.1*) list="$$list $$i" ;; \
189 esac; \
190 done; \
191 for i in $$list; do \
192 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
193 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
194 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
195 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
196 rm -f $(DESTDIR)$(man1dir)/$$inst; \
197 done
198 install-man: $(MANS)
199 @$(NORMAL_INSTALL)
200 $(MAKE) install-man1
201 uninstall-man:
202 @$(NORMAL_UNINSTALL)
203 $(MAKE) uninstall-man1
204 tags: TAGS
205 TAGS:
206
207
208 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
209
210 subdir = jsdas
211
212 distdir: $(DISTFILES)
213 @for file in $(DISTFILES); do \
214 d=$(srcdir); \
215 test -f $(distdir)/$$file \
216 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
217 || cp -p $$d/$$file $(distdir)/$$file; \
218 done
219 info:
220 dvi:
221 check: all
222 $(MAKE)
223 installcheck:
224 install-exec: install-binSCRIPTS
225 @$(NORMAL_INSTALL)
226
227 install-data: install-man
228 @$(NORMAL_INSTALL)
229
230 install: install-exec install-data all
231 @:
232
233 uninstall: uninstall-binSCRIPTS uninstall-man
234
235 install-strip:
236 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
237 installdirs:
238 $(mkinstalldirs) $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
239
240
241 mostlyclean-generic:
242 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
243
244 clean-generic:
245 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
246
247 distclean-generic:
248 -rm -f Makefile $(DISTCLEANFILES)
249 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
250 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
251
252 maintainer-clean-generic:
253 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
254 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
255 mostlyclean: mostlyclean-generic
256
257 clean: clean-generic mostlyclean
258
259 distclean: distclean-generic clean
260 -rm -f config.status
261 -rm -f libtool
262
263 maintainer-clean: maintainer-clean-generic distclean
264 @echo "This command is intended for maintainers to use;"
265 @echo "it deletes files that may require special tools to rebuild."
266
267 .PHONY: uninstall-binSCRIPTS install-binSCRIPTS install-man1 \
268 uninstall-man1 install-man uninstall-man tags distdir info dvi \
269 installcheck install-exec install-data install uninstall all \
270 installdirs mostlyclean-generic distclean-generic clean-generic \
271 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
272
273
274 compile: $(JSCS)
275
276 jsdas: $(JSS)
277 rm -f $@.js
278 for i in $(JSS); do cat $(srcdir)/$$i >> $@.js; done
279 $(JSCOMPILER) $(JSCOMPILER_FLAGS) -c $@.js
280 echo "#!$(bindir)/js --file" > $@
281 # echo "#!$(JSCOMPILER) --file" > $@
282 cat $@.jsc >> $@
283 chmod a+x $@
284
285 .js.jsc:
286 $(JSCOMPILER) $(JSCOMPILER_FLAGS) -c $<
287
288 # Tell versions [3.59,3.63) of GNU make to not export all variables.
289 # Otherwise a system limit (for SysV at least) may be exceeded.
290 .NOEXPORT: