/[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 382 by siliconforks, Thu Oct 30 03:12:18 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  SUBDIRS = js  ACLOCAL_AMFLAGS = -I m4
19    
20  AM_CFLAGS = -Ijs/src -DXP_UNIX  SUBDIRS = js
21    
22  resources = help.txt \  AM_CFLAGS = -Ijs -Ijs/build -DXP_UNIX
             jscoverage-sh_main.js jscoverage-sh_javascript.js jscoverage-sh_nedit.css \  
             jscoverage.html jscoverage.css jscoverage.js jscoverage-throbber.gif  
23    
24  bin_PROGRAMS = jscoverage  resources = help.txt jscoverage-server-help.txt \
25  jscoverage_SOURCES = instrument.c instrument.h \              jscoverage.jsm jscoverage.manifest jscoverage.xul jscoverage-overlay.js \
26                jscoverage.html \
27                jscoverage.css jscoverage-ie.css jscoverage-highlight.css \
28                jscoverage.js report.js \
29                jscoverage-throbber.gif
30    
31    bin_PROGRAMS = jscoverage jscoverage-server
32    jscoverage_SOURCES = encoding.c encoding.h \
33                         highlight.c highlight.h \
34                         instrument.c instrument.h \
35                       instrument-js.c instrument-js.h \                       instrument-js.c instrument-js.h \
36                       main.c \                       jscoverage.c global.h \
37                       resource-manager.c resource-manager.h \                       resource-manager.c resource-manager.h \
38                         stream.c stream.h \
39                       util.c util.h \                       util.c util.h \
40                       $(resources)                       $(resources)
41  jscoverage_LDFLAGS = -static  jscoverage_LDADD = js/build/libjs.a -lm @LIBICONV@ @EXTRA_TIMER_LIBS@
42  jscoverage_LDADD = js/libjs.la -lm  jscoverage_server_SOURCES = http-connection.c \
43                                http-exchange.c \
44                                http-host.c \
45                                http-message.c \
46                                http-server.c http-server.h \
47                                http-url.c \
48                                encoding.c encoding.h \
49                                highlight.c highlight.h \
50                                instrument-js.c instrument-js.h \
51                                jscoverage-server.c global.h \
52                                resource-manager.c resource-manager.h \
53                                stream.c stream.h \
54                                util.c util.h \
55                                $(resources)
56    jscoverage_server_LDADD = js/build/libjs.a -lm @EXTRA_SOCKET_LIBS@ @EXTRA_THREAD_LIBS@ @LIBICONV@ @EXTRA_TIMER_LIBS@
57    
58  noinst_PROGRAMS = generate-resources  noinst_PROGRAMS = generate-resources
59  generate_resources_SOURCES = generate-resources.c  generate_resources_SOURCES = generate-resources.c
# Line 41  Line 63 
63  resources.c: generate-resources $(resources)  resources.c: generate-resources $(resources)
64          $(srcdir)/generate-resources $(resources) > $@          $(srcdir)/generate-resources $(resources) > $@
65    
66    dist_man_MANS = jscoverage.1 jscoverage-server.1
67    
68  CLEANFILES = *.gcno *.exe resources.c *~  CLEANFILES = *.gcno *.exe resources.c *~
69    
70  example: jscoverage  example: jscoverage
# Line 51  Line 75 
75    
76  example-jsunit: jscoverage  example-jsunit: jscoverage
77          $(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
78    
79    # override default install target so as not to recursively install subpackages
80    install: install-am

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

  ViewVC Help
Powered by ViewVC 1.1.24