582511c83e3b914e21a44d59107e69bc0590b2d9
[reactos.git] / reactos / lib / kjs / jswrap / 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 jswrap.
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 = process.js main.js
108 JSCS = process.jsc main.jsc
109
110 EXTRA_DIST = $(JSS)
111
112 bin_SCRIPTS = jswrap
113
114 CLEANFILES = jswrap $(JSCS)
115
116 SUFFIXES = .jsc .js
117 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
118 CONFIG_HEADER = ../jsconfig.h
119 CONFIG_CLEAN_FILES =
120 SCRIPTS = $(bin_SCRIPTS)
121
122 DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO
123
124
125 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
126
127 TAR = tar
128 GZIP = --best
129 all: Makefile $(SCRIPTS)
130
131 .SUFFIXES:
132 .SUFFIXES: .js .jsc
133 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
134 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps jswrap/Makefile
135
136 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
137 cd $(top_builddir) \
138 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
139
140
141 install-binSCRIPTS: $(bin_SCRIPTS)
142 @$(NORMAL_INSTALL)
143 $(mkinstalldirs) $(DESTDIR)$(bindir)
144 @list='$(bin_SCRIPTS)'; for p in $$list; do \
145 if test -f $$p; then \
146 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
147 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
148 else if test -f $(srcdir)/$$p; then \
149 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
150 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
151 else :; fi; fi; \
152 done
153
154 uninstall-binSCRIPTS:
155 @$(NORMAL_UNINSTALL)
156 list='$(bin_SCRIPTS)'; for p in $$list; do \
157 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
158 done
159 tags: TAGS
160 TAGS:
161
162
163 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
164
165 subdir = jswrap
166
167 distdir: $(DISTFILES)
168 @for file in $(DISTFILES); do \
169 d=$(srcdir); \
170 test -f $(distdir)/$$file \
171 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
172 || cp -p $$d/$$file $(distdir)/$$file; \
173 done
174 info:
175 dvi:
176 check: all
177 $(MAKE)
178 installcheck:
179 install-exec: install-binSCRIPTS
180 @$(NORMAL_INSTALL)
181
182 install-data:
183 @$(NORMAL_INSTALL)
184
185 install: install-exec install-data all
186 @:
187
188 uninstall: uninstall-binSCRIPTS
189
190 install-strip:
191 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
192 installdirs:
193 $(mkinstalldirs) $(DATADIR)$(bindir)
194
195
196 mostlyclean-generic:
197 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
198
199 clean-generic:
200 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
201
202 distclean-generic:
203 -rm -f Makefile $(DISTCLEANFILES)
204 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
205 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
206
207 maintainer-clean-generic:
208 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
209 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
210 mostlyclean: mostlyclean-generic
211
212 clean: clean-generic mostlyclean
213
214 distclean: distclean-generic clean
215 -rm -f config.status
216 -rm -f libtool
217
218 maintainer-clean: maintainer-clean-generic distclean
219 @echo "This command is intended for maintainers to use;"
220 @echo "it deletes files that may require special tools to rebuild."
221
222 .PHONY: uninstall-binSCRIPTS install-binSCRIPTS tags distdir info dvi \
223 installcheck install-exec install-data install uninstall all \
224 installdirs mostlyclean-generic distclean-generic clean-generic \
225 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
226
227
228 compile: $(JSCS)
229
230 jswrap: $(JSS)
231 rm -f $@.js
232 for i in $(JSS); do cat $(srcdir)/$$i >> $@.js; done
233 $(JSCOMPILER) $(JSCOMPILER_FLAGS) -c $@.js
234 echo "#!$(bindir)/js --file" > $@
235 # echo "#!$(JSCOMPILER) --file" > $@
236 cat $@.jsc >> $@
237 chmod a+x $@
238
239 .js.jsc:
240 $(JSCOMPILER) $(JSCOMPILER_FLAGS) -c $<
241
242 # Tell versions [3.59,3.63) of GNU make to not export all variables.
243 # Otherwise a system limit (for SysV at least) may be exceeded.
244 .NOEXPORT: