1 |
# Makefile.am - builds jscoverage |
# Makefile.am - builds jscoverage |
2 |
# Copyright (C) 2007 siliconforks.com |
# Copyright (C) 2007, 2008 siliconforks.com |
3 |
# |
# |
4 |
# This program is free software; you can redistribute it and/or modify |
# 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 |
# it under the terms of the GNU General Public License as published by |
20 |
AM_CFLAGS = -Ijs/src -DXP_UNIX |
AM_CFLAGS = -Ijs/src -DXP_UNIX |
21 |
|
|
22 |
resources = help.txt \ |
resources = help.txt \ |
23 |
sh_main.js sh_javascript.min.js sh_nedit.css \ |
jscoverage-sh_main.js jscoverage-sh_javascript.js jscoverage-sh_nedit.css \ |
24 |
jscoverage.html jscoverage.css jscoverage.js jscoverage-throbber.gif |
jscoverage.html jscoverage.css jscoverage.js jscoverage-throbber.gif |
25 |
|
|
26 |
bin_PROGRAMS = jscoverage |
bin_PROGRAMS = jscoverage |
30 |
resource-manager.c resource-manager.h \ |
resource-manager.c resource-manager.h \ |
31 |
util.c util.h \ |
util.c util.h \ |
32 |
$(resources) |
$(resources) |
33 |
jscoverage_LDADD = js/.libs/libjs.a -lm |
jscoverage_LDFLAGS = -static |
34 |
|
jscoverage_LDADD = js/libjs.la -lm |
35 |
|
|
36 |
noinst_PROGRAMS = generate-resources |
noinst_PROGRAMS = generate-resources |
37 |
generate_resources_SOURCES = generate-resources.c |
generate_resources_SOURCES = generate-resources.c |
49 |
example-inverted: jscoverage |
example-inverted: jscoverage |
50 |
$(srcdir)/jscoverage --exclude=.svn doc/example-inverted doc/instrumented-inverted |
$(srcdir)/jscoverage --exclude=.svn doc/example-inverted doc/instrumented-inverted |
51 |
|
|
52 |
|
example-jsunit: jscoverage |
53 |
|
$(srcdir)/jscoverage --exclude=.svn --no-instrument=jsunit doc/example-jsunit doc/instrumented-jsunit |
54 |
|
|
55 |
|
# override default install target so as not to recursively install subpackages |
56 |
|
install: install-am |