/[pcre]/code/trunk/Makefile.am
ViewVC logotype

Diff of /code/trunk/Makefile.am

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

revision 1180 by chpe, Sat Oct 27 17:58:43 2012 UTC revision 1230 by ph10, Fri Dec 7 10:22:16 2012 UTC
# Line 18  dist_html_DATA = \ Line 18  dist_html_DATA = \
18    doc/html/index.html \    doc/html/index.html \
19    doc/html/pcre.html \    doc/html/pcre.html \
20    doc/html/pcre16.html \    doc/html/pcre16.html \
21      doc/html/pcre32.html \
22    doc/html/pcre-config.html \    doc/html/pcre-config.html \
23    doc/html/pcre_assign_jit_stack.html \    doc/html/pcre_assign_jit_stack.html \
24    doc/html/pcre_compile.html \    doc/html/pcre_compile.html \
# Line 36  dist_html_DATA = \ Line 37  dist_html_DATA = \
37    doc/html/pcre_get_stringtable_entries.html \    doc/html/pcre_get_stringtable_entries.html \
38    doc/html/pcre_get_substring.html \    doc/html/pcre_get_substring.html \
39    doc/html/pcre_get_substring_list.html \    doc/html/pcre_get_substring_list.html \
40      doc/html/pcre_jit_exec.html \
41    doc/html/pcre_jit_stack_alloc.html \    doc/html/pcre_jit_stack_alloc.html \
42    doc/html/pcre_jit_stack_free.html \    doc/html/pcre_jit_stack_free.html \
43    doc/html/pcre_maketables.html \    doc/html/pcre_maketables.html \
# Line 43  dist_html_DATA = \ Line 45  dist_html_DATA = \
45    doc/html/pcre_refcount.html \    doc/html/pcre_refcount.html \
46    doc/html/pcre_study.html \    doc/html/pcre_study.html \
47    doc/html/pcre_utf16_to_host_byte_order.html \    doc/html/pcre_utf16_to_host_byte_order.html \
48      doc/html/pcre_utf32_to_host_byte_order.html \
49    doc/html/pcre_version.html \    doc/html/pcre_version.html \
50    doc/html/pcreapi.html \    doc/html/pcreapi.html \
51    doc/html/pcrebuild.html \    doc/html/pcrebuild.html \
# Line 64  dist_html_DATA = \ Line 67  dist_html_DATA = \
67    doc/html/pcretest.html \    doc/html/pcretest.html \
68    doc/html/pcreunicode.html    doc/html/pcreunicode.html
69    
 #   doc/html/pcre32.html \  
 #   doc/html/pcre_utf32_to_host_byte_order.html \  
 #  
   
70  pcrecpp_html = doc/html/pcrecpp.html  pcrecpp_html = doc/html/pcrecpp.html
71  dist_noinst_DATA = $(pcrecpp_html)  dist_noinst_DATA = $(pcrecpp_html)
72    
# Line 100  EXTRA_DIST = Line 99  EXTRA_DIST =
99    
100  # These files contain additional m4 macros that are used by autoconf.  # These files contain additional m4 macros that are used by autoconf.
101  EXTRA_DIST += \  EXTRA_DIST += \
102    m4/ax_pthread.m4    m4/ax_pthread.m4 m4/pcre_visibility.m4
103    
104  # These files contain maintenance information  # These files contain maintenance information
105  EXTRA_DIST += \  EXTRA_DIST += \
# Line 140  pcre.h.generic: pcre.h.in configure.ac Line 139  pcre.h.generic: pcre.h.in configure.ac
139    
140  # It is more complicated for config.h.generic. We need the version that results  # It is more complicated for config.h.generic. We need the version that results
141  # from a default configuration. We can get this by doing a configure in a  # from a default configuration. We can get this by doing a configure in a
142  # temporary directory. It has to be entirely done using files in that  # temporary directory. However, some trickery is needed,
143  # directory, because the source directory may already be configured. If you  # because the source directory may already be configured. If you
144  # just try running configure in a new directory, it complains that the source  # just try running configure in a new directory, it complains. For this reason,
145  # directory is already configured.  # we move config.status out of the way while doing the default configuration.
146    # The resulting config.h is munged by perl to put #ifdefs round any #defines
147    # and to get rid of any gcc-specific visibility settings. Make sure that
148    # PCRE_EXP_DEFN is unset (in case it has visibility settings).
149  config.h.generic: configure.ac  config.h.generic: configure.ac
150          rm -rf $@ _generic          rm -rf $@ _generic
151          mkdir _generic          mkdir _generic
# Line 151  config.h.generic: configure.ac Line 153  config.h.generic: configure.ac
153          cd _generic && $(abs_top_srcdir)/configure || :          cd _generic && $(abs_top_srcdir)/configure || :
154          cs=$(srcdir)/config.status; test ! -f $$cs.aside || mv -f $$cs.aside $$cs          cs=$(srcdir)/config.status; test ! -f $$cs.aside || mv -f $$cs.aside $$cs
155          test -f _generic/config.h          test -f _generic/config.h
156          perl -pe 'if(/^#define\s(?!PACKAGE)(\w+)/){print"#ifndef $$1\n$$_#endif\n";$$_="";}' _generic/config.h >$@          perl -n \
157              -e 'BEGIN{$$blank=0;}' \
158              -e 'if(/PCRE_EXP_DEFN/){print"/* #undef PCRE_EXP_DEFN */\n";$$blank=0;next;}' \
159              -e 'if(/to make a symbol visible/){next;}' \
160              -e 'if(/__attribute__ \(\(visibility/){next;}' \
161              -e 'if(/^#define\s(?!PACKAGE)(\w+)/){print"#ifndef $$1\n$$_#endif\n";$$blank=0;}' \
162              -e 'else {if(/^\s*$$/){print unless $$blank; $$blank=1;} else{print;$$blank=0;}}' \
163              _generic/config.h >$@
164          rm -rf _generic          rm -rf _generic
165    
166  MAINTAINERCLEANFILES += pcre.h.generic config.h.generic  MAINTAINERCLEANFILES += pcre.h.generic config.h.generic
# Line 206  BUILT_SOURCES = pcre_chartables.c Line 215  BUILT_SOURCES = pcre_chartables.c
215  # Build the 8 bit library if it is enabled.  # Build the 8 bit library if it is enabled.
216  if WITH_PCRE8  if WITH_PCRE8
217  lib_LTLIBRARIES += libpcre.la  lib_LTLIBRARIES += libpcre.la
218    
219  libpcre_la_SOURCES = \  libpcre_la_SOURCES = \
220    pcre_byte_order.c \    pcre_byte_order.c \
221    pcre_compile.c \    pcre_compile.c \
# Line 231  libpcre_la_SOURCES = \ Line 241  libpcre_la_SOURCES = \
241    ucp.h    ucp.h
242    
243  libpcre_la_CFLAGS = \  libpcre_la_CFLAGS = \
244      $(VISIBILITY_CFLAGS) \
245    $(AM_CFLAGS)    $(AM_CFLAGS)
246    
247  libpcre_la_LIBADD =  libpcre_la_LIBADD =
# Line 269  libpcre16_la_SOURCES = \ Line 280  libpcre16_la_SOURCES = \
280    pcre16_xclass.c    pcre16_xclass.c
281    
282  libpcre16_la_CFLAGS = \  libpcre16_la_CFLAGS = \
283      $(VISIBILITY_CFLAGS) \
284    $(AM_CFLAGS)    $(AM_CFLAGS)
285    
286  libpcre16_la_LIBADD =  libpcre16_la_LIBADD =
# Line 307  libpcre32_la_SOURCES = \ Line 319  libpcre32_la_SOURCES = \
319    pcre32_xclass.c    pcre32_xclass.c
320    
321  libpcre32_la_CFLAGS = \  libpcre32_la_CFLAGS = \
322      $(VISIBILITY_CFLAGS) \
323    $(AM_CFLAGS)    $(AM_CFLAGS)
324    
325  libpcre32_la_LIBADD =  libpcre32_la_LIBADD =
326    
327  ## This file is generated as part of the building process, so don't distribute.  ## This file is generated as part of the building process, so don't distribute.
# Line 335  EXTRA_DIST += \ Line 349  EXTRA_DIST += \
349    sljit/sljitNativePPC_32.c \    sljit/sljitNativePPC_32.c \
350    sljit/sljitNativePPC_64.c \    sljit/sljitNativePPC_64.c \
351    sljit/sljitNativePPC_common.c \    sljit/sljitNativePPC_common.c \
352      sljit/sljitNativeSPARC_32.c \
353      sljit/sljitNativeSPARC_common.c \
354    sljit/sljitNativeX86_32.c \    sljit/sljitNativeX86_32.c \
355    sljit/sljitNativeX86_64.c \    sljit/sljitNativeX86_64.c \
356    sljit/sljitNativeX86_common.c \    sljit/sljitNativeX86_common.c \
# Line 404  if WITH_PCRE8 Line 420  if WITH_PCRE8
420  lib_LTLIBRARIES += libpcreposix.la  lib_LTLIBRARIES += libpcreposix.la
421  libpcreposix_la_SOURCES = \  libpcreposix_la_SOURCES = \
422    pcreposix.c    pcreposix.c
423  libpcreposix_la_CFLAGS = $(AM_CFLAGS)  libpcreposix_la_CFLAGS = $(VISIBILITY_CFLAGS) $(AM_CFLAGS)
424  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)
425  libpcreposix_la_LIBADD = libpcre.la  libpcreposix_la_LIBADD = libpcre.la
426    
# Line 423  libpcrecpp_la_SOURCES = \ Line 439  libpcrecpp_la_SOURCES = \
439    pcrecpp.cc \    pcrecpp.cc \
440    pcre_scanner.cc \    pcre_scanner.cc \
441    pcre_stringpiece.cc    pcre_stringpiece.cc
442  libpcrecpp_la_CXXFLAGS = $(AM_CXXFLAGS)  libpcrecpp_la_CXXFLAGS = $(VISIBILITY_CXXFLAGS) $(AM_CXXFLAGS)
443  libpcrecpp_la_LDFLAGS = $(EXTRA_LIBPCRECPP_LDFLAGS)  libpcrecpp_la_LDFLAGS = $(EXTRA_LIBPCRECPP_LDFLAGS)
444  libpcrecpp_la_LIBADD = libpcre.la  libpcrecpp_la_LIBADD = libpcre.la
445    
# Line 663  dist_man_MANS = \ Line 679  dist_man_MANS = \
679    doc/pcre_get_stringtable_entries.3 \    doc/pcre_get_stringtable_entries.3 \
680    doc/pcre_get_substring.3 \    doc/pcre_get_substring.3 \
681    doc/pcre_get_substring_list.3 \    doc/pcre_get_substring_list.3 \
682      doc/pcre_jit_exec.3 \
683    doc/pcre_jit_stack_alloc.3 \    doc/pcre_jit_stack_alloc.3 \
684    doc/pcre_jit_stack_free.3 \    doc/pcre_jit_stack_free.3 \
685    doc/pcre_maketables.3 \    doc/pcre_maketables.3 \
# Line 710  install-data-hook: Line 727  install-data-hook:
727          ln -sf pcre_get_stringtable_entries.3    $(DESTDIR)$(man3dir)/pcre16_get_stringtable_entries.3          ln -sf pcre_get_stringtable_entries.3    $(DESTDIR)$(man3dir)/pcre16_get_stringtable_entries.3
728          ln -sf pcre_get_substring.3              $(DESTDIR)$(man3dir)/pcre16_get_substring.3          ln -sf pcre_get_substring.3              $(DESTDIR)$(man3dir)/pcre16_get_substring.3
729          ln -sf pcre_get_substring_list.3         $(DESTDIR)$(man3dir)/pcre16_get_substring_list.3          ln -sf pcre_get_substring_list.3         $(DESTDIR)$(man3dir)/pcre16_get_substring_list.3
730            ln -sf pcre_jit_exec.3                   $(DESTDIR)$(man3dir)/pcre16_jit_exec.3
731          ln -sf pcre_jit_stack_alloc.3            $(DESTDIR)$(man3dir)/pcre16_jit_stack_alloc.3          ln -sf pcre_jit_stack_alloc.3            $(DESTDIR)$(man3dir)/pcre16_jit_stack_alloc.3
732          ln -sf pcre_jit_stack_free.3             $(DESTDIR)$(man3dir)/pcre16_jit_stack_free.3          ln -sf pcre_jit_stack_free.3             $(DESTDIR)$(man3dir)/pcre16_jit_stack_free.3
733          ln -sf pcre_maketables.3                 $(DESTDIR)$(man3dir)/pcre16_maketables.3          ln -sf pcre_maketables.3                 $(DESTDIR)$(man3dir)/pcre16_maketables.3
# Line 735  install-data-hook: Line 753  install-data-hook:
753          ln -sf pcre_get_stringtable_entries.3    $(DESTDIR)$(man3dir)/pcre32_get_stringtable_entries.3          ln -sf pcre_get_stringtable_entries.3    $(DESTDIR)$(man3dir)/pcre32_get_stringtable_entries.3
754          ln -sf pcre_get_substring.3              $(DESTDIR)$(man3dir)/pcre32_get_substring.3          ln -sf pcre_get_substring.3              $(DESTDIR)$(man3dir)/pcre32_get_substring.3
755          ln -sf pcre_get_substring_list.3         $(DESTDIR)$(man3dir)/pcre32_get_substring_list.3          ln -sf pcre_get_substring_list.3         $(DESTDIR)$(man3dir)/pcre32_get_substring_list.3
756            ln -sf pcre_jit_exec.3                   $(DESTDIR)$(man3dir)/pcre32_jit_exec.3
757          ln -sf pcre_jit_stack_alloc.3            $(DESTDIR)$(man3dir)/pcre32_jit_stack_alloc.3          ln -sf pcre_jit_stack_alloc.3            $(DESTDIR)$(man3dir)/pcre32_jit_stack_alloc.3
758          ln -sf pcre_jit_stack_free.3             $(DESTDIR)$(man3dir)/pcre32_jit_stack_free.3          ln -sf pcre_jit_stack_free.3             $(DESTDIR)$(man3dir)/pcre32_jit_stack_free.3
759          ln -sf pcre_maketables.3                 $(DESTDIR)$(man3dir)/pcre32_maketables.3          ln -sf pcre_maketables.3                 $(DESTDIR)$(man3dir)/pcre32_maketables.3
# Line 763  if WITH_GCOV Line 782  if WITH_GCOV
782  # coverage-report: This creates the coverage report only  # coverage-report: This creates the coverage report only
783  # coverage-clean-report: This removes the generated coverage report  # coverage-clean-report: This removes the generated coverage report
784  #   without cleaning the coverage data itself  #   without cleaning the coverage data itself
785    # coverage-clean-data: This removes the captured coverage data without
786    #   removing the coverage files created at compile time (*.gcno)
787  # coverage-clean: This cleans all coverage data including the generated  # coverage-clean: This cleans all coverage data including the generated
788  #   coverage report.  #   coverage report.
789    
# Line 820  coverage-clean-report: Line 841  coverage-clean-report:
841          -rm -f "$(COVERAGE_OUTPUT_FILE)" "$(COVERAGE_OUTPUT_FILE).tmp"          -rm -f "$(COVERAGE_OUTPUT_FILE)" "$(COVERAGE_OUTPUT_FILE).tmp"
842          -rm -rf "$(COVERAGE_OUTPUT_DIR)"          -rm -rf "$(COVERAGE_OUTPUT_DIR)"
843    
844  coverage-clean: coverage-reset coverage-clean-report  coverage-clean-data:
845          -find $(top_builddir) -name "*.gcda" -or -name "*.gcno" -delete          -find $(top_builddir) -name "*.gcda" -delete
846    
847    coverage-clean: coverage-reset coverage-clean-report coverage-clean-data
848            -find $(top_builddir) -name "*.gcno" -delete
849    
850  coverage-distclean: coverage-clean  coverage-distclean: coverage-clean
851    
852  coverage: coverage-baseline coverage-check coverage-report  coverage: coverage-reset coverage-baseline coverage-check coverage-report
853  clean-local: coverage-clean  clean-local: coverage-clean
854  distclean-local: coverage-distclean  distclean-local: coverage-distclean
855    
856  .PHONY: coverage coverage-baseline coverage-check coverage-report coverage-reset coverage-clean-report coverage-clean coverage-distclean  .PHONY: coverage coverage-baseline coverage-check coverage-report coverage-reset coverage-clean-report coverage-clean-data coverage-clean coverage-distclean
857    
858  else  else
859    

Legend:
Removed from v.1180  
changed lines
  Added in v.1230

  ViewVC Help
Powered by ViewVC 1.1.5