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

Annotation of /trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 608 - (hide annotations)
Fri Sep 24 05:40:28 2010 UTC (9 years ago) by siliconforks
File size: 3407 byte(s)
Allow "make check" to work from the top-level directory.

1 siliconforks 2 # Makefile.am - builds jscoverage
2 siliconforks 505 # Copyright (C) 2007, 2008, 2009, 2010 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 608 SUBDIRS = js tests
21 siliconforks 2
22 siliconforks 405 AM_CFLAGS = -Ijs -Ijs/obj @XP_DEF@
23 siliconforks 514 AM_CXXFLAGS = -Ijs -Ijs/obj -funit-at-a-time @XP_DEF@
24 siliconforks 2
25 siliconforks 385 resources = jscoverage-help.txt jscoverage-server-help.txt \
26 siliconforks 361 jscoverage.jsm jscoverage.manifest jscoverage.xul jscoverage-overlay.js \
27 siliconforks 179 jscoverage.html \
28     jscoverage.css jscoverage-ie.css jscoverage-highlight.css \
29 siliconforks 494 jscoverage.js header.js report.js \
30 siliconforks 179 jscoverage-throbber.gif
31 siliconforks 2
32 siliconforks 116 bin_PROGRAMS = jscoverage jscoverage-server
33 siliconforks 174 jscoverage_SOURCES = encoding.c encoding.h \
34 siliconforks 459 highlight.cpp highlight.h \
35 siliconforks 174 instrument.c instrument.h \
36 siliconforks 399 instrument-js.cpp instrument-js.h \
37 siliconforks 382 jscoverage.c global.h \
38 siliconforks 2 resource-manager.c resource-manager.h \
39 siliconforks 92 stream.c stream.h \
40 siliconforks 2 util.c util.h \
41     $(resources)
42 siliconforks 463 jscoverage_LDADD = @SPIDERMONKEY_LIBS@ -lm @LIBICONV@ @EXTRA_TIMER_LIBS@
43 siliconforks 116 jscoverage_server_SOURCES = http-connection.c \
44     http-exchange.c \
45     http-host.c \
46     http-message.c \
47     http-server.c http-server.h \
48     http-url.c \
49 siliconforks 174 encoding.c encoding.h \
50 siliconforks 459 highlight.cpp highlight.h \
51 siliconforks 399 instrument-js.cpp instrument-js.h \
52 siliconforks 174 jscoverage-server.c global.h \
53 siliconforks 116 resource-manager.c resource-manager.h \
54     stream.c stream.h \
55     util.c util.h \
56     $(resources)
57 siliconforks 463 jscoverage_server_LDADD = @SPIDERMONKEY_LIBS@ -lm @EXTRA_SOCKET_LIBS@ @EXTRA_THREAD_LIBS@ @LIBICONV@ @EXTRA_TIMER_LIBS@
58 siliconforks 116
59 siliconforks 2 noinst_PROGRAMS = generate-resources
60     generate_resources_SOURCES = generate-resources.c
61    
62     BUILT_SOURCES = resources.c
63    
64     resources.c: generate-resources $(resources)
65     $(srcdir)/generate-resources $(resources) > $@
66    
67 siliconforks 136 dist_man_MANS = jscoverage.1 jscoverage-server.1
68    
69 siliconforks 2 CLEANFILES = *.gcno *.exe resources.c *~
70    
71     example: jscoverage
72     $(srcdir)/jscoverage --exclude=.svn doc/example doc/instrumented
73 siliconforks 14
74     example-inverted: jscoverage
75     $(srcdir)/jscoverage --exclude=.svn doc/example-inverted doc/instrumented-inverted
76    
77 siliconforks 30 example-jsunit: jscoverage
78     $(srcdir)/jscoverage --exclude=.svn --no-instrument=jsunit doc/example-jsunit doc/instrumented-jsunit
79 siliconforks 83
80     # override default install target so as not to recursively install subpackages
81     install: install-am

  ViewVC Help
Powered by ViewVC 1.1.24