PageRenderTime 143ms CodeModel.GetById 80ms app.highlight 4ms RepoModel.GetById 36ms app.codeStats 20ms

/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/Makefile.am

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
Makefile | 81 lines | 50 code | 14 blank | 17 comment | 0 complexity | 9023b260a026f68feb0b5fe64362f803 MD5 | raw file
 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
18ACLOCAL_AMFLAGS = -I m4
19
20SUBDIRS = js
21
22AM_CFLAGS = -Ijs -Ijs/obj @XP_DEF@
23AM_CXXFLAGS = -Ijs -Ijs/obj @XP_DEF@
24
25resources = jscoverage-help.txt jscoverage-server-help.txt \
26            jscoverage.jsm jscoverage.manifest jscoverage.xul jscoverage-overlay.js \
27            jscoverage.html \
28            jscoverage.css jscoverage-ie.css jscoverage-highlight.css \
29            jscoverage.js report.js \
30            jscoverage-throbber.gif
31
32bin_PROGRAMS = jscoverage jscoverage-server
33jscoverage_SOURCES = encoding.c encoding.h \
34                     highlight.c highlight.h \
35                     instrument.c instrument.h \
36                     instrument-js.cpp instrument-js.h \
37                     jscoverage.c global.h \
38                     resource-manager.c resource-manager.h \
39                     stream.c stream.h \
40                     util.c util.h \
41                     $(resources)
42jscoverage_LDADD = js/obj/libjs.a -lm @LIBICONV@ @EXTRA_TIMER_LIBS@
43jscoverage_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                            encoding.c encoding.h \
50                            highlight.c highlight.h \
51                            instrument-js.cpp instrument-js.h \
52                            jscoverage-server.c global.h \
53                            resource-manager.c resource-manager.h \
54                            stream.c stream.h \
55                            util.c util.h \
56                            $(resources)
57jscoverage_server_LDADD = js/obj/libjs.a -lm @EXTRA_SOCKET_LIBS@ @EXTRA_THREAD_LIBS@ @LIBICONV@ @EXTRA_TIMER_LIBS@
58
59noinst_PROGRAMS = generate-resources
60generate_resources_SOURCES = generate-resources.c
61
62BUILT_SOURCES = resources.c
63
64resources.c: generate-resources $(resources)
65	$(srcdir)/generate-resources $(resources) > $@
66
67dist_man_MANS = jscoverage.1 jscoverage-server.1
68
69CLEANFILES = *.gcno *.exe resources.c *~
70
71example: jscoverage
72	$(srcdir)/jscoverage --exclude=.svn doc/example doc/instrumented
73
74example-inverted: jscoverage
75	$(srcdir)/jscoverage --exclude=.svn doc/example-inverted doc/instrumented-inverted
76
77example-jsunit: jscoverage
78	$(srcdir)/jscoverage --exclude=.svn --no-instrument=jsunit doc/example-jsunit doc/instrumented-jsunit
79
80# override default install target so as not to recursively install subpackages
81install: install-am