/[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 667 by ph10, Mon Aug 22 14:57:32 2011 UTC revision 851 by ph10, Thu Jan 5 17:57:28 2012 UTC
# Line 17  dist_doc_DATA = \ Line 17  dist_doc_DATA = \
17  dist_html_DATA = \  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 \
21    doc/html/pcre-config.html \    doc/html/pcre-config.html \
22      doc/html/pcre_assign_jit_stack.html \
23    doc/html/pcre_compile.html \    doc/html/pcre_compile.html \
24    doc/html/pcre_compile2.html \    doc/html/pcre_compile2.html \
25    doc/html/pcre_config.html \    doc/html/pcre_config.html \
# Line 25  dist_html_DATA = \ Line 27  dist_html_DATA = \
27    doc/html/pcre_copy_substring.html \    doc/html/pcre_copy_substring.html \
28    doc/html/pcre_dfa_exec.html \    doc/html/pcre_dfa_exec.html \
29    doc/html/pcre_exec.html \    doc/html/pcre_exec.html \
30      doc/html/pcre_free_study.html \
31    doc/html/pcre_free_substring.html \    doc/html/pcre_free_substring.html \
32    doc/html/pcre_free_substring_list.html \    doc/html/pcre_free_substring_list.html \
33    doc/html/pcre_fullinfo.html \    doc/html/pcre_fullinfo.html \
# Line 33  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_info.html \    doc/html/pcre_jit_stack_alloc.html \
40      doc/html/pcre_jit_stack_free.html \
41    doc/html/pcre_maketables.html \    doc/html/pcre_maketables.html \
42    doc/html/pcre_refcount.html \    doc/html/pcre_refcount.html \
43    doc/html/pcre_study.html \    doc/html/pcre_study.html \
# Line 44  dist_html_DATA = \ Line 48  dist_html_DATA = \
48    doc/html/pcrecompat.html \    doc/html/pcrecompat.html \
49    doc/html/pcredemo.html \    doc/html/pcredemo.html \
50    doc/html/pcregrep.html \    doc/html/pcregrep.html \
51      doc/html/pcrejit.html \
52      doc/html/pcrelimits.html \
53    doc/html/pcrematching.html \    doc/html/pcrematching.html \
54    doc/html/pcrepartial.html \    doc/html/pcrepartial.html \
55    doc/html/pcrepattern.html \    doc/html/pcrepattern.html \
# Line 53  dist_html_DATA = \ Line 59  dist_html_DATA = \
59    doc/html/pcresample.html \    doc/html/pcresample.html \
60    doc/html/pcrestack.html \    doc/html/pcrestack.html \
61    doc/html/pcresyntax.html \    doc/html/pcresyntax.html \
62    doc/html/pcretest.html    doc/html/pcretest.html \
63      doc/html/pcreunicode.html
64    
65  pcrecpp_html = doc/html/pcrecpp.html  pcrecpp_html = doc/html/pcrecpp.html
66  dist_noinst_DATA = $(pcrecpp_html)  dist_noinst_DATA = $(pcrecpp_html)
# Line 72  check_SCRIPTS = Line 79  check_SCRIPTS =
79  dist_noinst_SCRIPTS =  dist_noinst_SCRIPTS =
80    
81  # Some of the binaries we make are to be installed, and others are  # Some of the binaries we make are to be installed, and others are
82  # (non-user-visible) helper programs needed to build libpcre.  # (non-user-visible) helper programs needed to build libpcre or libpcre16.
83  bin_PROGRAMS =  bin_PROGRAMS =
84  noinst_PROGRAMS =  noinst_PROGRAMS =
85    
# Line 93  EXTRA_DIST += \ Line 100  EXTRA_DIST += \
100  # These files are used in the preparation of a release  # These files are used in the preparation of a release
101  EXTRA_DIST += \  EXTRA_DIST += \
102    PrepareRelease \    PrepareRelease \
103      CheckMan \
104    CleanTxt \    CleanTxt \
105    Detrail \    Detrail \
106    132html \    132html \
# Line 161  pcre_chartables.c: $(srcdir)/pcre_charta Line 169  pcre_chartables.c: $(srcdir)/pcre_charta
169    
170  endif # WITH_REBUILD_CHARTABLES  endif # WITH_REBUILD_CHARTABLES
171    
172    BUILT_SOURCES = pcre_chartables.c
173    
174  ## The main pcre library  ## The main pcre library
175    
176    # Build the 8 bit library if it is enabled.
177    if WITH_PCRE8
178  lib_LTLIBRARIES += libpcre.la  lib_LTLIBRARIES += libpcre.la
179  libpcre_la_SOURCES = \  libpcre_la_SOURCES = \
180      pcre_byte_order.c \
181    pcre_compile.c \    pcre_compile.c \
182    pcre_config.c \    pcre_config.c \
183    pcre_dfa_exec.c \    pcre_dfa_exec.c \
# Line 172  libpcre_la_SOURCES = \ Line 185  libpcre_la_SOURCES = \
185    pcre_fullinfo.c \    pcre_fullinfo.c \
186    pcre_get.c \    pcre_get.c \
187    pcre_globals.c \    pcre_globals.c \
   pcre_info.c \  
188    pcre_internal.h \    pcre_internal.h \
189    pcre_jit_compile.c \    pcre_jit_compile.c \
190    pcre_maketables.c \    pcre_maketables.c \
191    pcre_newline.c \    pcre_newline.c \
192    pcre_ord2utf8.c \    pcre_ord2utf8.c \
193    pcre_refcount.c \    pcre_refcount.c \
194      pcre_string_utils.c \
195    pcre_study.c \    pcre_study.c \
196    pcre_tables.c \    pcre_tables.c \
   pcre_try_flipped.c \  
197    pcre_ucd.c \    pcre_ucd.c \
198    pcre_valid_utf8.c \    pcre_valid_utf8.c \
199    pcre_version.c \    pcre_version.c \
# Line 192  libpcre_la_SOURCES = \ Line 204  libpcre_la_SOURCES = \
204  nodist_libpcre_la_SOURCES = \  nodist_libpcre_la_SOURCES = \
205    pcre_chartables.c    pcre_chartables.c
206    
207  # The pcre_printint.src file is #included by some source files, so it must be  endif # WITH_PCRE8
208  # distributed. The pcre_chartables.c.dist file is the default version of  
209  # pcre_chartables.c, used unless --enable-rebuild-chartables is specified.  # Build the 16 bit library if it is enabled.
210  EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist  if WITH_PCRE16
211    lib_LTLIBRARIES += libpcre16.la
212    libpcre16_la_SOURCES = \
213      pcre16_byte_order.c \
214      pcre16_chartables.c \
215      pcre16_compile.c \
216      pcre16_config.c \
217      pcre16_dfa_exec.c \
218      pcre16_exec.c \
219      pcre16_fullinfo.c \
220      pcre16_get.c \
221      pcre16_globals.c \
222      pcre16_jit_compile.c \
223      pcre16_maketables.c \
224      pcre16_newline.c \
225      pcre16_ord2utf16.c \
226      pcre16_refcount.c \
227      pcre16_string_utils.c \
228      pcre16_study.c \
229      pcre16_tables.c \
230      pcre16_ucd.c \
231      pcre16_utf16_utils.c \
232      pcre16_valid_utf16.c \
233      pcre16_version.c \
234      pcre16_xclass.c
235    
236    ## This file is generated as part of the building process, so don't distribute.
237    nodist_libpcre16_la_SOURCES = \
238      pcre_chartables.c
239    
240    endif # WITH_PCRE16
241    
242    # The pcre_chartables.c.dist file is the default version of pcre_chartables.c,
243    # used unless --enable-rebuild-chartables is specified.
244    EXTRA_DIST += pcre_chartables.c.dist
245    
246  # The JIT compiler lives in a separate directory, but its files are #included  # The JIT compiler lives in a separate directory, but its files are #included
247  # when pcre_jit_compile.c is processed, so they must be distributed.  # when pcre_jit_compile.c is processed, so they must be distributed.
# Line 217  EXTRA_DIST += \ Line 263  EXTRA_DIST += \
263    sljit/sljitNativeX86_common.c \    sljit/sljitNativeX86_common.c \
264    sljit/sljitUtils.c    sljit/sljitUtils.c
265    
266    if WITH_PCRE8
267  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)
268    endif # WITH_PCRE8
269    if WITH_PCRE16
270    libpcre16_la_LDFLAGS = $(EXTRA_LIBPCRE16_LDFLAGS)
271    endif # WITH_PCRE16
272    
273  CLEANFILES += pcre_chartables.c  CLEANFILES += pcre_chartables.c
274    
# Line 226  if WITH_JIT Line 277  if WITH_JIT
277  TESTS += pcre_jit_test  TESTS += pcre_jit_test
278  noinst_PROGRAMS += pcre_jit_test  noinst_PROGRAMS += pcre_jit_test
279  pcre_jit_test_SOURCES = pcre_jit_test.c  pcre_jit_test_SOURCES = pcre_jit_test.c
280  pcre_jit_test_LDADD = libpcre.la  pcre_jit_test_LDADD =
281    if WITH_PCRE8
282    pcre_jit_test_LDADD += libpcre.la
283    endif # WITH_PCRE8
284    if WITH_PCRE16
285    pcre_jit_test_LDADD += libpcre16.la
286    endif # WITH_PCRE16
287  endif # WITH_JIT  endif # WITH_JIT
288    
289  ## A version of the main pcre library that has a posix re API.  ## A version of the main pcre library that has a posix re API.
290    if WITH_PCRE8
291  lib_LTLIBRARIES += libpcreposix.la  lib_LTLIBRARIES += libpcreposix.la
292  libpcreposix_la_SOURCES = \  libpcreposix_la_SOURCES = \
293    pcreposix.c    pcreposix.c
294  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)
295  libpcreposix_la_LIBADD = libpcre.la  libpcreposix_la_LIBADD = libpcre.la
296    endif # WITH_PCRE8
297    
298  ## There's a C++ library as well.  ## There's a C++ library as well.
299  if WITH_PCRE_CPP  if WITH_PCRE_CPP
# Line 275  dist_noinst_SCRIPTS += RunTest Line 334  dist_noinst_SCRIPTS += RunTest
334  EXTRA_DIST += RunTest.bat  EXTRA_DIST += RunTest.bat
335  bin_PROGRAMS += pcretest  bin_PROGRAMS += pcretest
336  pcretest_SOURCES = pcretest.c  pcretest_SOURCES = pcretest.c
337  pcretest_LDADD = libpcreposix.la $(LIBREADLINE)  pcretest_LDADD = $(LIBREADLINE)
338    if WITH_PCRE8
339    pcretest_SOURCES += pcre_printint.c
340    pcretest_LDADD += libpcreposix.la
341    endif # WITH_PCRE8
342    if WITH_PCRE16
343    pcretest_SOURCES += pcre16_printint.c
344    pcretest_LDADD += libpcre16.la
345    endif # WITH_PCRE16
346    
347    if WITH_PCRE8
348  TESTS += RunGrepTest  TESTS += RunGrepTest
349  dist_noinst_SCRIPTS += RunGrepTest  dist_noinst_SCRIPTS += RunGrepTest
350  bin_PROGRAMS += pcregrep  bin_PROGRAMS += pcregrep
351  pcregrep_SOURCES = pcregrep.c  pcregrep_SOURCES = pcregrep.c
352  pcregrep_LDADD = libpcreposix.la $(LIBZ) $(LIBBZ2)  pcregrep_LDADD = $(LIBZ) $(LIBBZ2)
353    pcregrep_LDADD += libpcreposix.la
354    endif # WITH_PCRE8
355    
356  EXTRA_DIST += \  EXTRA_DIST += \
357    testdata/grepinput \    testdata/grepinput \
# Line 293  EXTRA_DIST += \ Line 363  EXTRA_DIST += \
363    testdata/grepoutput \    testdata/grepoutput \
364    testdata/grepoutput8 \    testdata/grepoutput8 \
365    testdata/grepoutputN \    testdata/grepoutputN \
366      testdata/greppatN4 \
367      testdata/saved16 \
368      testdata/saved16BE-1 \
369      testdata/saved16BE-2 \
370      testdata/saved16LE-1 \
371      testdata/saved16LE-2 \
372      testdata/saved8 \
373    testdata/testinput1 \    testdata/testinput1 \
374    testdata/testinput2 \    testdata/testinput2 \
375    testdata/testinput3 \    testdata/testinput3 \
# Line 306  EXTRA_DIST += \ Line 383  EXTRA_DIST += \
383    testdata/testinput11 \    testdata/testinput11 \
384    testdata/testinput12 \    testdata/testinput12 \
385    testdata/testinput13 \    testdata/testinput13 \
386      testdata/testinput14 \
387      testdata/testinput15 \
388      testdata/testinput16 \
389      testdata/testinput17 \
390      testdata/testinput18 \
391      testdata/testinput19 \
392      testdata/testinput20 \
393    testdata/testoutput1 \    testdata/testoutput1 \
394    testdata/testoutput2 \    testdata/testoutput2 \
395    testdata/testoutput3 \    testdata/testoutput3 \
# Line 316  EXTRA_DIST += \ Line 400  EXTRA_DIST += \
400    testdata/testoutput8 \    testdata/testoutput8 \
401    testdata/testoutput9 \    testdata/testoutput9 \
402    testdata/testoutput10 \    testdata/testoutput10 \
403    testdata/testoutput11 \    testdata/testoutput11-16 \
404      testdata/testoutput11-8 \
405    testdata/testoutput12 \    testdata/testoutput12 \
406    testdata/testoutput13 \    testdata/testoutput13 \
407      testdata/testoutput14 \
408      testdata/testoutput15 \
409      testdata/testoutput16 \
410      testdata/testoutput17 \
411      testdata/testoutput18 \
412      testdata/testoutput19 \
413      testdata/testoutput20 \
414    testdata/wintestinput3 \    testdata/wintestinput3 \
415    testdata/wintestoutput3 \    testdata/wintestoutput3 \
416    perltest.pl    perltest.pl
# Line 348  test: check ; Line 440  test: check ;
440  # A PCRE user submitted the following addition, saying that it "will allow  # A PCRE user submitted the following addition, saying that it "will allow
441  # anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a  # anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a
442  # nice DLL for Windows use". (It is used by the pcre.dll target.)  # nice DLL for Windows use". (It is used by the pcre.dll target.)
443  DLL_OBJS= pcre_compile.o pcre_config.o \  DLL_OBJS= pcre_byte_order.o pcre_compile.o pcre_config.o \
444          pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o \          pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o \
445          pcre_globals.o pcre_info.o pcre_jit_compile.o pcre_maketables.o \          pcre_globals.o pcre_jit_compile.o pcre_maketables.o \
446          pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \          pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \
447          pcre_study.o pcre_tables.o pcre_try_flipped.o \          pcre_study.o pcre_tables.o pcre_ucd.o \
448          pcre_ucd.o pcre_valid_utf8.o pcre_version.o \          pcre_valid_utf8.o pcre_version.o pcre_chartables.o \
         pcre_chartables.o \  
449          pcre_xclass.o          pcre_xclass.o
450    
451  # A PCRE user submitted the following addition, saying that it "will allow  # A PCRE user submitted the following addition, saying that it "will allow
# Line 367  pcre.dll: $(DLL_OBJS) Line 458  pcre.dll: $(DLL_OBJS)
458  # We have .pc files for pkg-config users.  # We have .pc files for pkg-config users.
459  pkgconfigdir = $(libdir)/pkgconfig  pkgconfigdir = $(libdir)/pkgconfig
460  pkgconfig_DATA = libpcre.pc libpcreposix.pc  pkgconfig_DATA = libpcre.pc libpcreposix.pc
461    if WITH_PCRE16
462    pkgconfig_DATA += libpcre16.pc
463    endif
464  if WITH_PCRE_CPP  if WITH_PCRE_CPP
465  pkgconfig_DATA += libpcrecpp.pc  pkgconfig_DATA += libpcrecpp.pc
466  endif  endif
467    
468  dist_man_MANS = \  dist_man_MANS = \
469    doc/pcre.3 \    doc/pcre.3 \
470      doc/pcre16.3 \
471    doc/pcre-config.1 \    doc/pcre-config.1 \
472      doc/pcre_assign_jit_stack.3 \
473    doc/pcre_compile.3 \    doc/pcre_compile.3 \
474    doc/pcre_compile2.3 \    doc/pcre_compile2.3 \
475    doc/pcre_config.3 \    doc/pcre_config.3 \
# Line 381  dist_man_MANS = \ Line 477  dist_man_MANS = \
477    doc/pcre_copy_substring.3 \    doc/pcre_copy_substring.3 \
478    doc/pcre_dfa_exec.3 \    doc/pcre_dfa_exec.3 \
479    doc/pcre_exec.3 \    doc/pcre_exec.3 \
480      doc/pcre_free_study.3 \
481    doc/pcre_free_substring.3 \    doc/pcre_free_substring.3 \
482    doc/pcre_free_substring_list.3 \    doc/pcre_free_substring_list.3 \
483    doc/pcre_fullinfo.3 \    doc/pcre_fullinfo.3 \
# Line 389  dist_man_MANS = \ Line 486  dist_man_MANS = \
486    doc/pcre_get_stringtable_entries.3 \    doc/pcre_get_stringtable_entries.3 \
487    doc/pcre_get_substring.3 \    doc/pcre_get_substring.3 \
488    doc/pcre_get_substring_list.3 \    doc/pcre_get_substring_list.3 \
489    doc/pcre_info.3 \    doc/pcre_jit_stack_alloc.3 \
490      doc/pcre_jit_stack_free.3 \
491    doc/pcre_maketables.3 \    doc/pcre_maketables.3 \
492    doc/pcre_refcount.3 \    doc/pcre_refcount.3 \
493    doc/pcre_study.3 \    doc/pcre_study.3 \
# Line 399  dist_man_MANS = \ Line 497  dist_man_MANS = \
497    doc/pcrecallout.3 \    doc/pcrecallout.3 \
498    doc/pcrecompat.3 \    doc/pcrecompat.3 \
499    doc/pcregrep.1 \    doc/pcregrep.1 \
500      doc/pcrejit.3 \
501      doc/pcrelimits.3 \
502    doc/pcrematching.3 \    doc/pcrematching.3 \
503    doc/pcrepartial.3 \    doc/pcrepartial.3 \
504    doc/pcrepattern.3 \    doc/pcrepattern.3 \
# Line 408  dist_man_MANS = \ Line 508  dist_man_MANS = \
508    doc/pcresample.3 \    doc/pcresample.3 \
509    doc/pcrestack.3 \    doc/pcrestack.3 \
510    doc/pcresyntax.3 \    doc/pcresyntax.3 \
511    doc/pcretest.1    doc/pcretest.1 \
512      doc/pcreunicode.3
513    
514  pcrecpp_man = doc/pcrecpp.3  pcrecpp_man = doc/pcrecpp.3
515  EXTRA_DIST += $(pcrecpp_man)  EXTRA_DIST += $(pcrecpp_man)

Legend:
Removed from v.667  
changed lines
  Added in v.851

  ViewVC Help
Powered by ViewVC 1.1.5