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

Diff of /trunk/Makefile.am

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

revision 30 by siliconforks, Sun Aug 19 04:45:14 2007 UTC revision 403 by siliconforks, Tue Dec 9 23:37:53 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 @XP_DEF@
23    AM_CXXFLAGS = -Ijs @XP_DEF@
24    
25  resources = help.txt \  resources = jscoverage-help.txt jscoverage-server-help.txt \
26              sh_main.js sh_javascript.js sh_nedit.css \              jscoverage.jsm jscoverage.manifest jscoverage.xul jscoverage-overlay.js \
27              jscoverage.html jscoverage.css jscoverage.js jscoverage-throbber.gif              jscoverage.html \
28                jscoverage.css jscoverage-ie.css jscoverage-highlight.css \
29  bin_PROGRAMS = jscoverage              jscoverage.js report.js \
30  jscoverage_SOURCES = instrument.c instrument.h \              jscoverage-throbber.gif
31                       instrument-js.c instrument-js.h \  
32                       main.c \  bin_PROGRAMS = jscoverage jscoverage-server
33    jscoverage_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 \                       resource-manager.c resource-manager.h \
39                         stream.c stream.h \
40                       util.c util.h \                       util.c util.h \
41                       $(resources)                       $(resources)
42  jscoverage_LDADD = js/.libs/libjs.a -lm  jscoverage_LDADD = js/libmozjs.a -lm @LIBICONV@ @EXTRA_TIMER_LIBS@
43    jscoverage_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)
57    jscoverage_server_LDADD = js/libmozjs.a -lm @EXTRA_SOCKET_LIBS@ @EXTRA_THREAD_LIBS@ @LIBICONV@ @EXTRA_TIMER_LIBS@
58    
59  noinst_PROGRAMS = generate-resources  noinst_PROGRAMS = generate-resources
60  generate_resources_SOURCES = generate-resources.c  generate_resources_SOURCES = generate-resources.c
# Line 40  Line 64 
64  resources.c: generate-resources $(resources)  resources.c: generate-resources $(resources)
65          $(srcdir)/generate-resources $(resources) > $@          $(srcdir)/generate-resources $(resources) > $@
66    
67    dist_man_MANS = jscoverage.1 jscoverage-server.1
68    
69  CLEANFILES = *.gcno *.exe resources.c *~  CLEANFILES = *.gcno *.exe resources.c *~
70    
71  example: jscoverage  example: jscoverage
# Line 50  Line 76 
76    
77  example-jsunit: jscoverage  example-jsunit: jscoverage
78          $(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
79    
80    # override default install target so as not to recursively install subpackages
81    install: install-am

Legend:
Removed from v.30  
changed lines
  Added in v.403

  ViewVC Help
Powered by ViewVC 1.1.24