/[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 1194 by ph10, Wed Oct 31 17:42:29 2012 UTC revision 1235 by ph10, Mon Dec 10 13:36:29 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 44  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 65  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 101  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 138  pcre.h.generic: pcre.h.in configure.ac
138          cp -p pcre.h $@          cp -p pcre.h $@
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 so as to get all the default values for PCRE
142  # temporary directory. It has to be entirely done using files in that  # configuration macros such as MATCH_LIMIT and NEWLINE. We can get this by
143  # directory, because the source directory may already be configured. If you  # doing a configure in a temporary directory. However, some trickery is needed,
144  # just try running configure in a new directory, it complains that the source  # because the source directory may already be configured. If you just try
145  # directory is already configured.  # running configure in a new directory, it complains. For this reason, we move
146    # config.status out of the way while doing the default configuration. The
147    # resulting config.h is munged by perl to put #ifdefs round any #defines for
148    # macros with values, and to #undef all boolean macros such as HAVE_xxx and
149    # SUPPORT_xxx. We also get rid of any gcc-specific visibility settings. Make
150    # sure that 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 152  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(/LT_OBJDIR/){print"/* This is ignored unless you are using libtool. */\n";}' \
164              -e 'if(/^#define\s((?:HAVE|SUPPORT|STDC)_\w+)/){print"/* #undef $$1 */\n";$$blank=0;next;}' \
165              -e 'if(/^#define\s(?!PACKAGE|VERSION)(\w+)/){print"#ifndef $$1\n$$_#endif\n";$$blank=0;next;}' \
166              -e 'if(/^\s*$$/){print unless $$blank; $$blank=1;} else{print;$$blank=0;}' \
167              _generic/config.h >$@
168          rm -rf _generic          rm -rf _generic
169    
170  MAINTAINERCLEANFILES += pcre.h.generic config.h.generic  MAINTAINERCLEANFILES += pcre.h.generic config.h.generic
# Line 207  BUILT_SOURCES = pcre_chartables.c Line 219  BUILT_SOURCES = pcre_chartables.c
219  # Build the 8 bit library if it is enabled.  # Build the 8 bit library if it is enabled.
220  if WITH_PCRE8  if WITH_PCRE8
221  lib_LTLIBRARIES += libpcre.la  lib_LTLIBRARIES += libpcre.la
222    
223  libpcre_la_SOURCES = \  libpcre_la_SOURCES = \
224    pcre_byte_order.c \    pcre_byte_order.c \
225    pcre_compile.c \    pcre_compile.c \
# Line 232  libpcre_la_SOURCES = \ Line 245  libpcre_la_SOURCES = \
245    ucp.h    ucp.h
246    
247  libpcre_la_CFLAGS = \  libpcre_la_CFLAGS = \
248      $(VISIBILITY_CFLAGS) \
249    $(AM_CFLAGS)    $(AM_CFLAGS)
250    
251  libpcre_la_LIBADD =  libpcre_la_LIBADD =
# Line 270  libpcre16_la_SOURCES = \ Line 284  libpcre16_la_SOURCES = \
284    pcre16_xclass.c    pcre16_xclass.c
285    
286  libpcre16_la_CFLAGS = \  libpcre16_la_CFLAGS = \
287      $(VISIBILITY_CFLAGS) \
288    $(AM_CFLAGS)    $(AM_CFLAGS)
289    
290  libpcre16_la_LIBADD =  libpcre16_la_LIBADD =
# Line 308  libpcre32_la_SOURCES = \ Line 323  libpcre32_la_SOURCES = \
323    pcre32_xclass.c    pcre32_xclass.c
324    
325  libpcre32_la_CFLAGS = \  libpcre32_la_CFLAGS = \
326      $(VISIBILITY_CFLAGS) \
327    $(AM_CFLAGS)    $(AM_CFLAGS)
328    
329  libpcre32_la_LIBADD =  libpcre32_la_LIBADD =
330    
331  ## 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 336  EXTRA_DIST += \ Line 353  EXTRA_DIST += \
353    sljit/sljitNativePPC_32.c \    sljit/sljitNativePPC_32.c \
354    sljit/sljitNativePPC_64.c \    sljit/sljitNativePPC_64.c \
355    sljit/sljitNativePPC_common.c \    sljit/sljitNativePPC_common.c \
356      sljit/sljitNativeSPARC_32.c \
357      sljit/sljitNativeSPARC_common.c \
358    sljit/sljitNativeX86_32.c \    sljit/sljitNativeX86_32.c \
359    sljit/sljitNativeX86_64.c \    sljit/sljitNativeX86_64.c \
360    sljit/sljitNativeX86_common.c \    sljit/sljitNativeX86_common.c \
# Line 405  if WITH_PCRE8 Line 424  if WITH_PCRE8
424  lib_LTLIBRARIES += libpcreposix.la  lib_LTLIBRARIES += libpcreposix.la
425  libpcreposix_la_SOURCES = \  libpcreposix_la_SOURCES = \
426    pcreposix.c    pcreposix.c
427  libpcreposix_la_CFLAGS = $(AM_CFLAGS)  libpcreposix_la_CFLAGS = $(VISIBILITY_CFLAGS) $(AM_CFLAGS)
428  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)
429  libpcreposix_la_LIBADD = libpcre.la  libpcreposix_la_LIBADD = libpcre.la
430    
# Line 424  libpcrecpp_la_SOURCES = \ Line 443  libpcrecpp_la_SOURCES = \
443    pcrecpp.cc \    pcrecpp.cc \
444    pcre_scanner.cc \    pcre_scanner.cc \
445    pcre_stringpiece.cc    pcre_stringpiece.cc
446  libpcrecpp_la_CXXFLAGS = $(AM_CXXFLAGS)  libpcrecpp_la_CXXFLAGS = $(VISIBILITY_CXXFLAGS) $(AM_CXXFLAGS)
447  libpcrecpp_la_LDFLAGS = $(EXTRA_LIBPCRECPP_LDFLAGS)  libpcrecpp_la_LDFLAGS = $(EXTRA_LIBPCRECPP_LDFLAGS)
448  libpcrecpp_la_LIBADD = libpcre.la  libpcrecpp_la_LIBADD = libpcre.la
449    

Legend:
Removed from v.1194  
changed lines
  Added in v.1235

  ViewVC Help
Powered by ViewVC 1.1.5