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

Contents of /trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 336 - (show annotations)
Thu Oct 23 20:08:29 2008 UTC (9 years, 9 months ago) by siliconforks
File size: 3150 byte(s)
Update to work with SpiderMonkey 1.8.

1 # Makefile.am - builds jscoverage
2 # Copyright (C) 2007, 2008 siliconforks.com
3 #
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 ACLOCAL_AMFLAGS = -I m4
19
20 SUBDIRS = js
21
22 AM_CFLAGS = -Ijs -DXP_UNIX
23
24 resources = help.txt jscoverage-server-help.txt \
25 jscoverage.html \
26 jscoverage.css jscoverage-ie.css jscoverage-highlight.css \
27 jscoverage.js report.js \
28 jscoverage-throbber.gif
29
30 bin_PROGRAMS = jscoverage jscoverage-server
31 jscoverage_SOURCES = encoding.c encoding.h \
32 highlight.c highlight.h \
33 instrument.c instrument.h \
34 instrument-js.c instrument-js.h \
35 main.c global.h \
36 resource-manager.c resource-manager.h \
37 stream.c stream.h \
38 util.c util.h \
39 $(resources)
40 jscoverage_LDADD = js/libjs.a -lm @LIBICONV@
41 jscoverage_server_SOURCES = http-connection.c \
42 http-exchange.c \
43 http-host.c \
44 http-message.c \
45 http-server.c http-server.h \
46 http-url.c \
47 encoding.c encoding.h \
48 highlight.c highlight.h \
49 instrument-js.c instrument-js.h \
50 jscoverage-server.c global.h \
51 resource-manager.c resource-manager.h \
52 stream.c stream.h \
53 util.c util.h \
54 $(resources)
55 jscoverage_server_LDADD = js/libjs.a -lm @EXTRA_SOCKET_LIBS@ @EXTRA_THREAD_LIBS@ @LIBICONV@
56
57 noinst_PROGRAMS = generate-resources
58 generate_resources_SOURCES = generate-resources.c
59
60 BUILT_SOURCES = resources.c
61
62 resources.c: generate-resources $(resources)
63 $(srcdir)/generate-resources $(resources) > $@
64
65 dist_man_MANS = jscoverage.1 jscoverage-server.1
66
67 CLEANFILES = *.gcno *.exe resources.c *~
68
69 example: jscoverage
70 $(srcdir)/jscoverage --exclude=.svn doc/example doc/instrumented
71
72 example-inverted: jscoverage
73 $(srcdir)/jscoverage --exclude=.svn doc/example-inverted doc/instrumented-inverted
74
75 example-jsunit: jscoverage
76 $(srcdir)/jscoverage --exclude=.svn --no-instrument=jsunit doc/example-jsunit doc/instrumented-jsunit
77
78 # override default install target so as not to recursively install subpackages
79 install: install-am

  ViewVC Help
Powered by ViewVC 1.1.24