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

Diff of /trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 82 by siliconforks, Tue Nov 27 22:40:17 2007 UTC revision 174 by siliconforks, Sat Sep 20 23:27:14 2008 UTC
# Line 1  Line 1 
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
# Line 15  Line 15 
15  #    with this program; if not, write to the Free Software Foundation, Inc.,  #    with this program; if not, write to the Free Software Foundation, Inc.,
16  #    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.  #    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17    
18    ACLOCAL_AMFLAGS = -I m4
19    
20  SUBDIRS = js  SUBDIRS = js
21    
22  AM_CFLAGS = -Ijs/src -DXP_UNIX  AM_CFLAGS = -Ijs/src -DXP_UNIX
23    
24  resources = help.txt \  resources = help.txt jscoverage-server-help.txt \
25              jscoverage-sh_main.js jscoverage-sh_javascript.js jscoverage-sh_nedit.css \              jscoverage-sh_main.js jscoverage-sh_javascript.js jscoverage-sh_nedit.css \
26              jscoverage.html jscoverage.css jscoverage.js jscoverage-throbber.gif              jscoverage.html jscoverage.css jscoverage-ie.css jscoverage.js jscoverage-throbber.gif report.js
27    
28  bin_PROGRAMS = jscoverage  bin_PROGRAMS = jscoverage jscoverage-server
29  jscoverage_SOURCES = instrument.c instrument.h \  jscoverage_SOURCES = encoding.c encoding.h \
30                         instrument.c instrument.h \
31                       instrument-js.c instrument-js.h \                       instrument-js.c instrument-js.h \
32                       main.c \                       main.c global.h \
33                       resource-manager.c resource-manager.h \                       resource-manager.c resource-manager.h \
34                         stream.c stream.h \
35                       util.c util.h \                       util.c util.h \
36                       $(resources)                       $(resources)
37  jscoverage_LDFLAGS = -static  jscoverage_LDFLAGS = -static
38  jscoverage_LDADD = js/libjs.la -lm  jscoverage_LDADD = js/libjs.la -lm @LIBICONV@
39    jscoverage_server_SOURCES = http-connection.c \
40                                http-exchange.c \
41                                http-host.c \
42                                http-message.c \
43                                http-server.c http-server.h \
44                                http-url.c \
45                                encoding.c encoding.h \
46                                instrument-js.c instrument-js.h \
47                                jscoverage-server.c global.h \
48                                resource-manager.c resource-manager.h \
49                                stream.c stream.h \
50                                util.c util.h \
51                                $(resources)
52    jscoverage_server_LDFLAGS = -static
53    jscoverage_server_LDADD = js/libjs.la -lm @EXTRA_SOCKET_LIBS@ @EXTRA_THREAD_LIBS@ @LIBICONV@
54    
55  noinst_PROGRAMS = generate-resources  noinst_PROGRAMS = generate-resources
56  generate_resources_SOURCES = generate-resources.c  generate_resources_SOURCES = generate-resources.c
# Line 41  Line 60 
60  resources.c: generate-resources $(resources)  resources.c: generate-resources $(resources)
61          $(srcdir)/generate-resources $(resources) > $@          $(srcdir)/generate-resources $(resources) > $@
62    
63    dist_man_MANS = jscoverage.1 jscoverage-server.1
64    
65  CLEANFILES = *.gcno *.exe resources.c *~  CLEANFILES = *.gcno *.exe resources.c *~
66    
67  example: jscoverage  example: jscoverage
# Line 51  Line 72 
72    
73  example-jsunit: jscoverage  example-jsunit: jscoverage
74          $(srcdir)/jscoverage --exclude=.svn --no-instrument=jsunit doc/example-jsunit doc/instrumented-jsunit          $(srcdir)/jscoverage --exclude=.svn --no-instrument=jsunit doc/example-jsunit doc/instrumented-jsunit
75    
76    # override default install target so as not to recursively install subpackages
77    install: install-am

Legend:
Removed from v.82  
changed lines
  Added in v.174

  ViewVC Help
Powered by ViewVC 1.1.24