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

Contents of /trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30 - (show annotations)
Sun Aug 19 04:45:14 2007 UTC (15 years, 9 months ago) by siliconforks
File size: 1941 byte(s)
Add jsunit example.

1 # Makefile.am - builds jscoverage
2 # Copyright (C) 2007 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 SUBDIRS = js
19
20 AM_CFLAGS = -Ijs/src -DXP_UNIX
21
22 resources = help.txt \
23 sh_main.js sh_javascript.js sh_nedit.css \
24 jscoverage.html jscoverage.css jscoverage.js jscoverage-throbber.gif
25
26 bin_PROGRAMS = jscoverage
27 jscoverage_SOURCES = instrument.c instrument.h \
28 instrument-js.c instrument-js.h \
29 main.c \
30 resource-manager.c resource-manager.h \
31 util.c util.h \
32 $(resources)
33 jscoverage_LDADD = js/.libs/libjs.a -lm
34
35 noinst_PROGRAMS = generate-resources
36 generate_resources_SOURCES = generate-resources.c
37
38 BUILT_SOURCES = resources.c
39
40 resources.c: generate-resources $(resources)
41 $(srcdir)/generate-resources $(resources) > $@
42
43 CLEANFILES = *.gcno *.exe resources.c *~
44
45 example: jscoverage
46 $(srcdir)/jscoverage --exclude=.svn doc/example doc/instrumented
47
48 example-inverted: jscoverage
49 $(srcdir)/jscoverage --exclude=.svn doc/example-inverted doc/instrumented-inverted
50
51 example-jsunit: jscoverage
52 $(srcdir)/jscoverage --exclude=.svn --no-instrument=jsunit doc/example-jsunit doc/instrumented-jsunit

  ViewVC Help
Powered by ViewVC 1.1.24