/[jscoverage]/trunk/js/Makefile.in
ViewVC logotype

Annotation of /trunk/js/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Wed Aug 1 13:51:53 2007 UTC (13 years, 8 months ago) by siliconforks
File size: 8564 byte(s)
Initial import.

1 siliconforks 2 ##
2     ## OSSP js - JavaScript Engine
3     ## Copyright (c) 1998-2006 Mozilla <http://www.mozilla.org/>
4     ##
5     ## This file is part of OSSP js, a distribution of the Mozilla JavaScript
6     ## reference implementation, which can found at http://www.ossp.org/pkg/lib/js/
7     ##
8     ## Permission to use, copy, modify, and distribute this software for
9     ## any purpose with or without fee is hereby granted, provided that
10     ## the above copyright notice and this permission notice appear in all
11     ## copies.
12     ##
13     ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
14     ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
15     ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16     ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
17     ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
18     ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
19     ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
20     ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21     ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22     ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
23     ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24     ## SUCH DAMAGE.
25     ##
26     ## Makefile.in: make(1) build procedure
27     ##
28    
29     @SET_MAKE@
30    
31     VPATH = @srcdir@
32     srcdir = @srcdir@
33     top_srcdir = @top_srcdir@
34    
35     DESTDIR =
36     prefix = @prefix@
37     exec_prefix = @exec_prefix@
38     datarootdir = @datarootdir@
39     bindir = @bindir@
40     libdir = @libdir@
41     includedir = @includedir@
42     mandir = @mandir@
43    
44     CC = @CC@
45     CPPFLAGS = @CPPFLAGS@ @DEFS@ -Isrc
46     CFLAGS = @CFLAGS@
47     LDFLAGS = @LDFLAGS@
48     LIBS = @LIBS@
49    
50     CLI_CFLAGS = @CLI_CFLAGS@
51     CLI_CPPFLAGS = @CLI_CPPFLAGS@
52     CLI_LDFLAGS = @CLI_LDFLAGS@
53     CLI_LIBS = @CLI_LIBS@
54    
55     RM = rm -f
56     CP = cp
57     RMDIR = rmdir
58     SHTOOL = ./shtool
59     LIBTOOL = ./libtool
60     PERL = @PERL@
61     TRUE = true
62    
63     LIB_OBJS = src/jsapi.lo \
64     src/jsarena.lo \
65     src/jsarray.lo \
66     src/jsatom.lo \
67     src/jsbool.lo \
68     src/jscntxt.lo \
69     src/jsdate.lo \
70     src/jsdbgapi.lo \
71     src/jsdhash.lo \
72     src/jsdtoa.lo \
73     src/jsemit.lo \
74     src/jsexn.lo \
75     src/jsfile.lo \
76     src/jsfun.lo \
77     src/jsgc.lo \
78     src/jshash.lo \
79     src/jsinterp.lo \
80     src/jslock.lo \
81     src/jslog2.lo \
82     src/jslong.lo \
83     src/jsmath.lo \
84     src/jsnum.lo \
85     src/jsobj.lo \
86     src/jsopcode.lo \
87     src/jsparse.lo \
88     src/jsprf.lo \
89     src/jsregexp.lo \
90     src/jsscan.lo \
91     src/jsscope.lo \
92     src/jsscript.lo \
93     src/jsstr.lo \
94     src/jsutil.lo \
95     src/jsxdrapi.lo \
96     src/jsxml.lo \
97     src/prmjtime.lo \
98     src/jsdso.lo \
99     src/fdlibm/e_acos.lo \
100     src/fdlibm/e_asin.lo \
101     src/fdlibm/e_atan2.lo \
102     src/fdlibm/e_exp.lo \
103     src/fdlibm/e_fmod.lo \
104     src/fdlibm/e_log.lo \
105     src/fdlibm/e_pow.lo \
106     src/fdlibm/e_rem_pio2.lo \
107     src/fdlibm/s_scalbn.lo \
108     src/fdlibm/e_sqrt.lo \
109     src/fdlibm/k_cos.lo \
110     src/fdlibm/k_sin.lo \
111     src/fdlibm/k_rem_pio2.lo \
112     src/fdlibm/k_tan.lo \
113     src/fdlibm/s_atan.lo \
114     src/fdlibm/s_ceil.lo \
115     src/fdlibm/s_copysign.lo \
116     src/fdlibm/s_cos.lo \
117     src/fdlibm/s_fabs.lo \
118     src/fdlibm/s_finite.lo \
119     src/fdlibm/s_floor.lo \
120     src/fdlibm/s_isnan.lo \
121     src/fdlibm/s_lib_version.lo \
122     src/fdlibm/s_sin.lo \
123     src/fdlibm/s_tan.lo \
124     src/fdlibm/w_acos.lo \
125     src/fdlibm/w_asin.lo \
126     src/fdlibm/w_atan2.lo \
127     src/fdlibm/w_exp.lo \
128     src/fdlibm/w_fmod.lo \
129     src/fdlibm/w_log.lo \
130     src/fdlibm/w_pow.lo \
131     src/fdlibm/w_sqrt.lo
132     LIB_NAME = libjs.la
133    
134     CLI_OBJS = src/js.o @CLI_OBJS@
135     CLI_NAME = js
136    
137     WITH_PERL = @WITH_PERL@
138    
139     TARGETS = $(LIB_NAME) $(CLI_NAME)
140    
141     .SUFFIXES:
142     .SUFFIXES: .c .o .lo
143    
144     all: $(TARGETS) subdirs
145    
146     subdirs:
147     @if [ ".$(WITH_PERL)" = ".yes" ]; then \
148     (cd src/perlconnect; $(PERL) Makefile.PL; $(MAKE) $(MFLAGS)); \
149     fi
150    
151     .c.o:
152     $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
153    
154     .c.lo:
155     @$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
156    
157     $(LIB_NAME): $(LIB_OBJS)
158     @$(LIBTOOL) --mode=link $(CC) -o $(LIB_NAME) $(LIB_OBJS) -rpath $(libdir) -version-info 1:6
159    
160     $(CLI_NAME): $(CLI_OBJS) $(LIB_NAME)
161     @$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(CLI_LDFLAGS) -o $(CLI_NAME) $(CLI_OBJS) $(LIB_NAME) $(LIBS) $(CLI_LIBS)
162     src/js.o: src/js.c
163     $(CC) $(CPPFLAGS) $(CLI_CPPFLAGS) $(CFLAGS) $(CLI_CFLAGS) -o $@ -c $<
164     src/perlconnect/jsperl.o: src/perlconnect/jsperl.c
165     $(CC) $(CPPFLAGS) $(CLI_CPPFLAGS) $(CFLAGS) $(CLI_CFLAGS) -o $@ -c $<
166    
167     $(LIB_OBJS): src/jsautocfg.h
168     src/jsautocfg.h: jscpucfg
169     -rm -f $@ src/jsautocfg.h
170     $(LIBTOOL) --mode=execute ./jscpucfg >src/jsautocfg.h
171     jscpucfg.o: src/jscpucfg.c
172     $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
173     jscpucfg: jscpucfg.o
174     @$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o jscpucfg jscpucfg.o $(LIBS)
175     src/jsopcode.h src/jsopcode.c: src/jsopcode.tbl
176    
177     .PHONY: install
178     install: all
179     $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix)
180     $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
181     $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1
182     $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man3
183     $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir)/js
184     $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir)/pkgconfig
185     $(SHTOOL) install -c -m 644 js.1 $(DESTDIR)$(mandir)/man1/
186     $(SHTOOL) install -c -m 644 js-config.1 $(DESTDIR)$(mandir)/man1/
187     $(SHTOOL) install -c -m 644 js.3 $(DESTDIR)$(mandir)/man3/
188     $(SHTOOL) install -c -m 644 src/js*.h $(DESTDIR)$(includedir)/js/
189     @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 $(LIB_NAME) $(DESTDIR)$(libdir)/
190     $(SHTOOL) install -c -m 644 js.pc $(DESTDIR)$(libdir)/pkgconfig/
191     $(SHTOOL) install -c -m 755 js-config.sh $(DESTDIR)$(bindir)/js-config
192     @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 755 js $(DESTDIR)$(bindir)/
193     $(SHTOOL) install -e 's;#!\./js;#!$(bindir)/js;' -c -m 755 jslint.js $(DESTDIR)$(bindir)/jslint
194     $(SHTOOL) install -e 's;#!\./js;#!$(bindir)/js;' -c -m 755 jspack.js $(DESTDIR)$(bindir)/jspack
195     @if [ ".$(WITH_PERL)" = ".yes" ]; then \
196     (cd src/perlconnect; $(MAKE) $(MFLAGS) install DESTDIR=$(DESTDIR)); \
197     fi
198    
199     .PHONY: clean
200     clean:
201     -$(RM) jscpucfg $(LIB_NAME) $(LIB_OBJS)
202     -$(RM) js src/js.o
203     -$(RM) -r .libs >/dev/null 2>&1 || $(TRUE)
204     -$(RM) -r src/.libs src/fdlibm/.libs >/dev/null 2>&1 || $(TRUE)
205     -$(RM) *.o *.lo
206     @if [ ".$(WITH_PERL)" = ".yes" ]; then \
207     ( cd src/perlconnect; \
208     if [ -f Makefile ]; then $(MAKE) $(MFLAGS) clean || $(TRUE); fi; \
209     if [ -f Makefile.old ]; then mv Makefile.old Makefile; fi; \
210     ); \
211     fi
212    
213     distclean: clean
214     -$(RM) config.log config.status config.cache
215     -$(RM) Makefile config.h js.pc js-config.sh
216     -$(RM) libtool
217     -$(RM) src/perlconnect/Makefile.PL
218     @if [ ".$(WITH_PERL)" = ".yes" ]; then \
219     ( cd src/perlconnect; \
220     if [ -f Makefile ]; then $(MAKE) $(MFLAGS) distclean || $(TRUE); fi; \
221     $(RM) -f Makefile Makefile.old || $(TRUE); \
222     ); \
223     fi
224    
225     realclean: distclean
226     -$(RM) configure config.h.in config.h.in~
227     -$(RM) shtool
228     -$(RM) ltmain.sh libtool.m4 config.guess config.sub
229    

  ViewVC Help
Powered by ViewVC 1.1.24