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

Annotation of /trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 136 - (hide annotations)
Thu Jun 19 05:55:14 2008 UTC (11 years, 4 months ago) by siliconforks
File size: 2961 byte(s)
Add man pages.

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     SUBDIRS = js
19    
20     AM_CFLAGS = -Ijs/src -DXP_UNIX
21    
22 siliconforks 116 resources = help.txt jscoverage-server-help.txt \
23 siliconforks 67 jscoverage-sh_main.js jscoverage-sh_javascript.js jscoverage-sh_nedit.css \
24 siliconforks 116 jscoverage.html jscoverage.css jscoverage.js jscoverage-throbber.gif report.js
25 siliconforks 2
26 siliconforks 116 bin_PROGRAMS = jscoverage jscoverage-server
27 siliconforks 2 jscoverage_SOURCES = instrument.c instrument.h \
28     instrument-js.c instrument-js.h \
29     main.c \
30     resource-manager.c resource-manager.h \
31 siliconforks 92 stream.c stream.h \
32 siliconforks 2 util.c util.h \
33     $(resources)
34 siliconforks 82 jscoverage_LDFLAGS = -static
35     jscoverage_LDADD = js/libjs.la -lm
36 siliconforks 116 jscoverage_server_SOURCES = http-connection.c \
37     http-exchange.c \
38     http-host.c \
39     http-message.c \
40     http-server.c http-server.h \
41     http-url.c \
42     instrument-js.c instrument-js.h \
43     jscoverage-server.c \
44     resource-manager.c resource-manager.h \
45     stream.c stream.h \
46     util.c util.h \
47     $(resources)
48     jscoverage_server_LDFLAGS = -static
49 siliconforks 125 jscoverage_server_LDADD = js/libjs.la -lm @EXTRA_SOCKET_LIBS@ @EXTRA_THREAD_LIBS@
50 siliconforks 116
51 siliconforks 2 noinst_PROGRAMS = generate-resources
52     generate_resources_SOURCES = generate-resources.c
53    
54     BUILT_SOURCES = resources.c
55    
56     resources.c: generate-resources $(resources)
57     $(srcdir)/generate-resources $(resources) > $@
58    
59 siliconforks 136 dist_man_MANS = jscoverage.1 jscoverage-server.1
60    
61 siliconforks 2 CLEANFILES = *.gcno *.exe resources.c *~
62    
63     example: jscoverage
64     $(srcdir)/jscoverage --exclude=.svn doc/example doc/instrumented
65 siliconforks 14
66     example-inverted: jscoverage
67     $(srcdir)/jscoverage --exclude=.svn doc/example-inverted doc/instrumented-inverted
68    
69 siliconforks 30 example-jsunit: jscoverage
70     $(srcdir)/jscoverage --exclude=.svn --no-instrument=jsunit doc/example-jsunit doc/instrumented-jsunit
71 siliconforks 83
72     # override default install target so as not to recursively install subpackages
73     install: install-am

  ViewVC Help
Powered by ViewVC 1.1.24