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

Diff of /trunk/Makefile.am

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

revision 14 by siliconforks, Tue Aug 14 14:46:04 2007 UTC revision 136 by siliconforks, Thu Jun 19 05:55: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 19  Line 19 
19    
20  AM_CFLAGS = -Ijs/src -DXP_UNIX  AM_CFLAGS = -Ijs/src -DXP_UNIX
21    
22  resources = help.txt \  resources = help.txt jscoverage-server-help.txt \
23              sh_main.js sh_javascript.min.js sh_nedit.css \              jscoverage-sh_main.js jscoverage-sh_javascript.js jscoverage-sh_nedit.css \
24              jscoverage.html jscoverage.css jscoverage.js jscoverage-throbber.gif              jscoverage.html jscoverage.css jscoverage.js jscoverage-throbber.gif report.js
25    
26  bin_PROGRAMS = jscoverage  bin_PROGRAMS = jscoverage jscoverage-server
27  jscoverage_SOURCES = instrument.c instrument.h \  jscoverage_SOURCES = instrument.c instrument.h \
28                       instrument-js.c instrument-js.h \                       instrument-js.c instrument-js.h \
29                       main.c \                       main.c \
30                       resource-manager.c resource-manager.h \                       resource-manager.c resource-manager.h \
31                         stream.c stream.h \
32                       util.c util.h \                       util.c util.h \
33                       $(resources)                       $(resources)
34  jscoverage_LDADD = js/.libs/libjs.a -lm  jscoverage_LDFLAGS = -static
35    jscoverage_LDADD = js/libjs.la -lm
36    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    jscoverage_server_LDADD = js/libjs.la -lm @EXTRA_SOCKET_LIBS@ @EXTRA_THREAD_LIBS@
50    
51  noinst_PROGRAMS = generate-resources  noinst_PROGRAMS = generate-resources
52  generate_resources_SOURCES = generate-resources.c  generate_resources_SOURCES = generate-resources.c
# Line 40  Line 56 
56  resources.c: generate-resources $(resources)  resources.c: generate-resources $(resources)
57          $(srcdir)/generate-resources $(resources) > $@          $(srcdir)/generate-resources $(resources) > $@
58    
59    dist_man_MANS = jscoverage.1 jscoverage-server.1
60    
61  CLEANFILES = *.gcno *.exe resources.c *~  CLEANFILES = *.gcno *.exe resources.c *~
62    
63  example: jscoverage  example: jscoverage
# Line 48  Line 66 
66  example-inverted: jscoverage  example-inverted: jscoverage
67          $(srcdir)/jscoverage --exclude=.svn doc/example-inverted doc/instrumented-inverted          $(srcdir)/jscoverage --exclude=.svn doc/example-inverted doc/instrumented-inverted
68    
69    example-jsunit: jscoverage
70            $(srcdir)/jscoverage --exclude=.svn --no-instrument=jsunit doc/example-jsunit doc/instrumented-jsunit
71    
72    # override default install target so as not to recursively install subpackages
73    install: install-am

Legend:
Removed from v.14  
changed lines
  Added in v.136

  ViewVC Help
Powered by ViewVC 1.1.24