/[jscoverage]/trunk/Makefile.am
ViewVC logotype

Annotation of /trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 361 - (hide annotations)
Sun Oct 26 05:28:03 2008 UTC (11 years ago) by siliconforks
File size: 3259 byte(s)
Add --mozilla option, and make SpiderMonkey use the same build directory for all platforms.
1 siliconforks 2 # Makefile.am - builds jscoverage
2 siliconforks 87 # Copyright (C) 2007, 2008 siliconforks.com
3 siliconforks 2 #
4     # This program is free software; you can redistribute it and/or modify
5     # it under the terms of the GNU General Public License as published by
6     # the Free Software Foundation; either version 2 of the License, or
7     # (at your option) any later version.
8     #
9     # This program is distributed in the hope that it will be useful,
10     # but WITHOUT ANY WARRANTY; without even the implied warranty of
11     # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12     # GNU General Public License for more details.
13     #
14     # You should have received a copy of the GNU General Public License along
15     # with this program; if not, write to the Free Software Foundation, Inc.,
16     # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17    
18 siliconforks 174 ACLOCAL_AMFLAGS = -I m4
19    
20 siliconforks 2 SUBDIRS = js
21    
22 siliconforks 361 AM_CFLAGS = -Ijs -Ijs/build -DXP_UNIX
23 siliconforks 2
24 siliconforks 116 resources = help.txt jscoverage-server-help.txt \
25 siliconforks 361 jscoverage.jsm jscoverage.manifest jscoverage.xul jscoverage-overlay.js \
26 siliconforks 179 jscoverage.html \
27     jscoverage.css jscoverage-ie.css jscoverage-highlight.css \
28     jscoverage.js report.js \
29     jscoverage-throbber.gif
30 siliconforks 2
31 siliconforks 116 bin_PROGRAMS = jscoverage jscoverage-server
32 siliconforks 174 jscoverage_SOURCES = encoding.c encoding.h \
33 siliconforks 179 highlight.c highlight.h \
34 siliconforks 174 instrument.c instrument.h \
35 siliconforks 2 instrument-js.c instrument-js.h \
36 siliconforks 174 main.c global.h \
37 siliconforks 2 resource-manager.c resource-manager.h \
38 siliconforks 92 stream.c stream.h \
39 siliconforks 2 util.c util.h \
40     $(resources)
41 siliconforks 361 jscoverage_LDADD = js/build/libjs.a -lm @LIBICONV@
42 siliconforks 116 jscoverage_server_SOURCES = http-connection.c \
43     http-exchange.c \
44     http-host.c \
45     http-message.c \
46     http-server.c http-server.h \
47     http-url.c \
48 siliconforks 174 encoding.c encoding.h \
49 siliconforks 179 highlight.c highlight.h \
50 siliconforks 116 instrument-js.c instrument-js.h \
51 siliconforks 174 jscoverage-server.c global.h \
52 siliconforks 116 resource-manager.c resource-manager.h \
53     stream.c stream.h \
54     util.c util.h \
55     $(resources)
56 siliconforks 361 jscoverage_server_LDADD = js/build/libjs.a -lm @EXTRA_SOCKET_LIBS@ @EXTRA_THREAD_LIBS@ @LIBICONV@
57 siliconforks 116
58 siliconforks 2 noinst_PROGRAMS = generate-resources
59     generate_resources_SOURCES = generate-resources.c
60    
61     BUILT_SOURCES = resources.c
62    
63     resources.c: generate-resources $(resources)
64     $(srcdir)/generate-resources $(resources) > $@
65    
66 siliconforks 136 dist_man_MANS = jscoverage.1 jscoverage-server.1
67    
68 siliconforks 2 CLEANFILES = *.gcno *.exe resources.c *~
69    
70     example: jscoverage
71     $(srcdir)/jscoverage --exclude=.svn doc/example doc/instrumented
72 siliconforks 14
73     example-inverted: jscoverage
74     $(srcdir)/jscoverage --exclude=.svn doc/example-inverted doc/instrumented-inverted
75    
76 siliconforks 30 example-jsunit: jscoverage
77     $(srcdir)/jscoverage --exclude=.svn --no-instrument=jsunit doc/example-jsunit doc/instrumented-jsunit
78 siliconforks 83
79     # override default install target so as not to recursively install subpackages
80     install: install-am

  ViewVC Help
Powered by ViewVC 1.1.24