/[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 1181 by chpe, Sat Oct 27 18:04:36 2012 UTC revision 1225 by ph10, Sat Nov 24 11:29:45 2012 UTC
# Line 36  dist_html_DATA = \ Line 36  dist_html_DATA = \
36    doc/html/pcre_get_stringtable_entries.html \    doc/html/pcre_get_stringtable_entries.html \
37    doc/html/pcre_get_substring.html \    doc/html/pcre_get_substring.html \
38    doc/html/pcre_get_substring_list.html \    doc/html/pcre_get_substring_list.html \
39      doc/html/pcre_jit_exec.html \
40    doc/html/pcre_jit_stack_alloc.html \    doc/html/pcre_jit_stack_alloc.html \
41    doc/html/pcre_jit_stack_free.html \    doc/html/pcre_jit_stack_free.html \
42    doc/html/pcre_maketables.html \    doc/html/pcre_maketables.html \
# Line 100  EXTRA_DIST = Line 101  EXTRA_DIST =
101    
102  # These files contain additional m4 macros that are used by autoconf.  # These files contain additional m4 macros that are used by autoconf.
103  EXTRA_DIST += \  EXTRA_DIST += \
104    m4/ax_pthread.m4    m4/ax_pthread.m4 m4/pcre_visibility.m4
105    
106  # These files contain maintenance information  # These files contain maintenance information
107  EXTRA_DIST += \  EXTRA_DIST += \
# Line 140  pcre.h.generic: pcre.h.in configure.ac Line 141  pcre.h.generic: pcre.h.in configure.ac
141    
142  # 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
143  # 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
144  # temporary directory. It has to be entirely done using files in that  # temporary directory. However, some trickery is needed,
145  # directory, because the source directory may already be configured. If you  # because the source directory may already be configured. If you
146  # 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,
147  # directory is already configured.  # we move config.status out of the way while doing the default configuration.
148    # The resulting config.h is munged by perl to put #ifdefs round any #defines
149    # and to get rid of any gcc-specific visibility settings. Make sure that
150    # PCRE_EXP_DEFN is unset (in case it has visibility settings).
151  config.h.generic: configure.ac  config.h.generic: configure.ac
152          rm -rf $@ _generic          rm -rf $@ _generic
153          mkdir _generic          mkdir _generic
# Line 151  config.h.generic: configure.ac Line 155  config.h.generic: configure.ac
155          cd _generic && $(abs_top_srcdir)/configure || :          cd _generic && $(abs_top_srcdir)/configure || :
156          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
157          test -f _generic/config.h          test -f _generic/config.h
158          perl -pe 'if(/^#define\s(?!PACKAGE)(\w+)/){print"#ifndef $$1\n$$_#endif\n";$$_="";}' _generic/config.h >$@          perl -n \
159              -e 'BEGIN{$$blank=0;}' \
160              -e 'if(/PCRE_EXP_DEFN/){print"/* #undef PCRE_EXP_DEFN */\n";$$blank=0;next;}' \
161              -e 'if(/to make a symbol visible/){next;}' \
162              -e 'if(/__attribute__ \(\(visibility/){next;}' \
163              -e 'if(/^#define\s(?!PACKAGE)(\w+)/){print"#ifndef $$1\n$$_#endif\n";$$blank=0;}' \
164              -e 'else {if(/^\s*$$/){print unless $$blank; $$blank=1;} else{print;$$blank=0;}}' \
165              _generic/config.h >$@
166          rm -rf _generic          rm -rf _generic
167    
168  MAINTAINERCLEANFILES += pcre.h.generic config.h.generic  MAINTAINERCLEANFILES += pcre.h.generic config.h.generic
# Line 206  BUILT_SOURCES = pcre_chartables.c Line 217  BUILT_SOURCES = pcre_chartables.c
217  # Build the 8 bit library if it is enabled.  # Build the 8 bit library if it is enabled.
218  if WITH_PCRE8  if WITH_PCRE8
219  lib_LTLIBRARIES += libpcre.la  lib_LTLIBRARIES += libpcre.la
220    
221  libpcre_la_SOURCES = \  libpcre_la_SOURCES = \
222    pcre_byte_order.c \    pcre_byte_order.c \
223    pcre_compile.c \    pcre_compile.c \
# Line 231  libpcre_la_SOURCES = \ Line 243  libpcre_la_SOURCES = \
243    ucp.h    ucp.h
244    
245  libpcre_la_CFLAGS = \  libpcre_la_CFLAGS = \
246      $(VISIBILITY_CFLAGS) \
247    $(AM_CFLAGS)    $(AM_CFLAGS)
248    
249  libpcre_la_LIBADD =  libpcre_la_LIBADD =
# Line 269  libpcre16_la_SOURCES = \ Line 282  libpcre16_la_SOURCES = \
282    pcre16_xclass.c    pcre16_xclass.c
283    
284  libpcre16_la_CFLAGS = \  libpcre16_la_CFLAGS = \
285      $(VISIBILITY_CFLAGS) \
286    $(AM_CFLAGS)    $(AM_CFLAGS)
287    
288  libpcre16_la_LIBADD =  libpcre16_la_LIBADD =
# Line 307  libpcre32_la_SOURCES = \ Line 321  libpcre32_la_SOURCES = \
321    pcre32_xclass.c    pcre32_xclass.c
322    
323  libpcre32_la_CFLAGS = \  libpcre32_la_CFLAGS = \
324      $(VISIBILITY_CFLAGS) \
325    $(AM_CFLAGS)    $(AM_CFLAGS)
326    
327  libpcre32_la_LIBADD =  libpcre32_la_LIBADD =
328    
329  ## 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 351  EXTRA_DIST += \
351    sljit/sljitNativePPC_32.c \    sljit/sljitNativePPC_32.c \
352    sljit/sljitNativePPC_64.c \    sljit/sljitNativePPC_64.c \
353    sljit/sljitNativePPC_common.c \    sljit/sljitNativePPC_common.c \
354      sljit/sljitNativeSPARC_32.c \
355      sljit/sljitNativeSPARC_common.c \
356    sljit/sljitNativeX86_32.c \    sljit/sljitNativeX86_32.c \
357    sljit/sljitNativeX86_64.c \    sljit/sljitNativeX86_64.c \
358    sljit/sljitNativeX86_common.c \    sljit/sljitNativeX86_common.c \
# Line 404  if WITH_PCRE8 Line 422  if WITH_PCRE8
422  lib_LTLIBRARIES += libpcreposix.la  lib_LTLIBRARIES += libpcreposix.la
423  libpcreposix_la_SOURCES = \  libpcreposix_la_SOURCES = \
424    pcreposix.c    pcreposix.c
425  libpcreposix_la_CFLAGS = $(AM_CFLAGS)  libpcreposix_la_CFLAGS = $(VISIBILITY_CFLAGS) $(AM_CFLAGS)
426  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)
427  libpcreposix_la_LIBADD = libpcre.la  libpcreposix_la_LIBADD = libpcre.la
428    
# Line 423  libpcrecpp_la_SOURCES = \ Line 441  libpcrecpp_la_SOURCES = \
441    pcrecpp.cc \    pcrecpp.cc \
442    pcre_scanner.cc \    pcre_scanner.cc \
443    pcre_stringpiece.cc    pcre_stringpiece.cc
444  libpcrecpp_la_CXXFLAGS = $(AM_CXXFLAGS)  libpcrecpp_la_CXXFLAGS = $(VISIBILITY_CXXFLAGS) $(AM_CXXFLAGS)
445  libpcrecpp_la_LDFLAGS = $(EXTRA_LIBPCRECPP_LDFLAGS)  libpcrecpp_la_LDFLAGS = $(EXTRA_LIBPCRECPP_LDFLAGS)
446  libpcrecpp_la_LIBADD = libpcre.la  libpcrecpp_la_LIBADD = libpcre.la
447    
# Line 663  dist_man_MANS = \ Line 681  dist_man_MANS = \
681    doc/pcre_get_stringtable_entries.3 \    doc/pcre_get_stringtable_entries.3 \
682    doc/pcre_get_substring.3 \    doc/pcre_get_substring.3 \
683    doc/pcre_get_substring_list.3 \    doc/pcre_get_substring_list.3 \
684      doc/pcre_jit_exec.3 \
685    doc/pcre_jit_stack_alloc.3 \    doc/pcre_jit_stack_alloc.3 \
686    doc/pcre_jit_stack_free.3 \    doc/pcre_jit_stack_free.3 \
687    doc/pcre_maketables.3 \    doc/pcre_maketables.3 \
# Line 710  install-data-hook: Line 729  install-data-hook:
729          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
730          ln -sf pcre_get_substring.3              $(DESTDIR)$(man3dir)/pcre16_get_substring.3          ln -sf pcre_get_substring.3              $(DESTDIR)$(man3dir)/pcre16_get_substring.3
731          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
732            ln -sf pcre_jit_exec.3                   $(DESTDIR)$(man3dir)/pcre16_jit_exec.3
733          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
734          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
735          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 755  install-data-hook:
755          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
756          ln -sf pcre_get_substring.3              $(DESTDIR)$(man3dir)/pcre32_get_substring.3          ln -sf pcre_get_substring.3              $(DESTDIR)$(man3dir)/pcre32_get_substring.3
757          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
758            ln -sf pcre_jit_exec.3                   $(DESTDIR)$(man3dir)/pcre32_jit_exec.3
759          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
760          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
761          ln -sf pcre_maketables.3                 $(DESTDIR)$(man3dir)/pcre32_maketables.3          ln -sf pcre_maketables.3                 $(DESTDIR)$(man3dir)/pcre32_maketables.3

Legend:
Removed from v.1181  
changed lines
  Added in v.1225

  ViewVC Help
Powered by ViewVC 1.1.5