/[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 982 by ph10, Wed Jun 20 15:15:27 2012 UTC revision 1151 by chpe, Sun Oct 21 16:53:46 2012 UTC
# Line 64  dist_html_DATA = \ Line 64  dist_html_DATA = \
64    doc/html/pcretest.html \    doc/html/pcretest.html \
65    doc/html/pcreunicode.html    doc/html/pcreunicode.html
66    
67    #   doc/html/pcre32.html \
68    #   doc/html/pcre_utf32_to_host_byte_order.html \
69    #
70    
71  pcrecpp_html = doc/html/pcrecpp.html  pcrecpp_html = doc/html/pcrecpp.html
72  dist_noinst_DATA = $(pcrecpp_html)  dist_noinst_DATA = $(pcrecpp_html)
73    
# Line 81  check_SCRIPTS = Line 85  check_SCRIPTS =
85  dist_noinst_SCRIPTS =  dist_noinst_SCRIPTS =
86    
87  # 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
88  # (non-user-visible) helper programs needed to build libpcre or libpcre16.  # (non-user-visible) helper programs needed to build libpcre, libpcre16
89    # or libpcre32.
90  bin_PROGRAMS =  bin_PROGRAMS =
91  noinst_PROGRAMS =  noinst_PROGRAMS =
92    
# Line 93  MAINTAINERCLEANFILES = Line 98  MAINTAINERCLEANFILES =
98  # the Autotools include by default.  # the Autotools include by default.
99  EXTRA_DIST =  EXTRA_DIST =
100    
101    # These files contain additional m4 macros that are used by autoconf.
102    EXTRA_DIST += \
103      m4/ax_pthread.m4
104    
105  # These files contain maintenance information  # These files contain maintenance information
106  EXTRA_DIST += \  EXTRA_DIST += \
107    doc/perltest.txt \    doc/perltest.txt \
# Line 203  libpcre_la_SOURCES = \ Line 212  libpcre_la_SOURCES = \
212    pcre_xclass.c \    pcre_xclass.c \
213    ucp.h    ucp.h
214    
215    libpcre_la_CFLAGS = \
216      $(AM_CFLAGS)
217    
218    libpcre_la_LIBADD =
219    
220  ## 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.
221  nodist_libpcre_la_SOURCES = \  nodist_libpcre_la_SOURCES = \
222    pcre_chartables.c    pcre_chartables.c
# Line 236  libpcre16_la_SOURCES = \ Line 250  libpcre16_la_SOURCES = \
250    pcre16_version.c \    pcre16_version.c \
251    pcre16_xclass.c    pcre16_xclass.c
252    
253    libpcre16_la_CFLAGS = \
254      $(AM_CFLAGS)
255    
256    libpcre16_la_LIBADD =
257    
258  ## 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.
259  nodist_libpcre16_la_SOURCES = \  nodist_libpcre16_la_SOURCES = \
260    pcre_chartables.c    pcre_chartables.c
261    
262  endif # WITH_PCRE16  endif # WITH_PCRE16
263    
264    # Build the 32 bit library if it is enabled.
265    if WITH_PCRE32
266    lib_LTLIBRARIES += libpcre32.la
267    libpcre32_la_SOURCES = \
268      pcre32_byte_order.c \
269      pcre32_chartables.c \
270      pcre32_compile.c \
271      pcre32_config.c \
272      pcre32_dfa_exec.c \
273      pcre32_exec.c \
274      pcre32_fullinfo.c \
275      pcre32_get.c \
276      pcre32_globals.c \
277      pcre32_jit_compile.c \
278      pcre32_maketables.c \
279      pcre32_newline.c \
280      pcre32_ord2utf32.c \
281      pcre32_refcount.c \
282      pcre32_string_utils.c \
283      pcre32_study.c \
284      pcre32_tables.c \
285      pcre32_ucd.c \
286      pcre32_utf32_utils.c \
287      pcre32_valid_utf32.c \
288      pcre32_version.c \
289      pcre32_xclass.c
290    
291    libpcre32_la_CFLAGS = \
292      $(AM_CFLAGS)
293    libpcre32_la_LIBADD =
294    
295    ## This file is generated as part of the building process, so don't distribute.
296    nodist_libpcre32_la_SOURCES = \
297      pcre_chartables.c
298    
299    endif # WITH_PCRE32
300    
301  # The pcre_chartables.c.dist file is the default version of pcre_chartables.c,  # The pcre_chartables.c.dist file is the default version of pcre_chartables.c,
302  # used unless --enable-rebuild-chartables is specified.  # used unless --enable-rebuild-chartables is specified.
303  EXTRA_DIST += pcre_chartables.c.dist  EXTRA_DIST += pcre_chartables.c.dist
# Line 272  endif # WITH_PCRE8 Line 328  endif # WITH_PCRE8
328  if WITH_PCRE16  if WITH_PCRE16
329  libpcre16_la_LDFLAGS = $(EXTRA_LIBPCRE16_LDFLAGS)  libpcre16_la_LDFLAGS = $(EXTRA_LIBPCRE16_LDFLAGS)
330  endif # WITH_PCRE16  endif # WITH_PCRE16
331    if WITH_PCRE32
332    libpcre32_la_LDFLAGS = $(EXTRA_LIBPCRE32_LDFLAGS)
333    endif # WITH_PCRE32
334    
335    if WITH_VALGRIND
336    if WITH_PCRE8
337    libpcre_la_CFLAGS += $(VALGRIND_CFLAGS)
338    endif # WITH_PCRE8
339    if WITH_PCRE16
340    libpcre16_la_CFLAGS += $(VALGRIND_CFLAGS)
341    endif # WITH_PCRE16
342    if WITH_PCRE32
343    libpcre32_la_CFLAGS += $(VALGRIND_CFLAGS)
344    endif # WITH_PCRE32
345    endif # WITH_VALGRIND
346    
347  CLEANFILES += pcre_chartables.c  CLEANFILES += pcre_chartables.c
348    
# Line 287  endif # WITH_PCRE8 Line 358  endif # WITH_PCRE8
358  if WITH_PCRE16  if WITH_PCRE16
359  pcre_jit_test_LDADD += libpcre16.la  pcre_jit_test_LDADD += libpcre16.la
360  endif # WITH_PCRE16  endif # WITH_PCRE16
361    if WITH_PCRE32
362    pcre_jit_test_LDADD += libpcre32.la
363    endif # WITH_PCRE32
364  endif # WITH_JIT  endif # WITH_JIT
365    
366  ## 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.
# Line 337  dist_noinst_SCRIPTS += RunTest Line 411  dist_noinst_SCRIPTS += RunTest
411  EXTRA_DIST += RunTest.bat  EXTRA_DIST += RunTest.bat
412  bin_PROGRAMS += pcretest  bin_PROGRAMS += pcretest
413  pcretest_SOURCES = pcretest.c  pcretest_SOURCES = pcretest.c
414    pcretest_CFLAGS = $(AM_CFLAGS)
415  pcretest_LDADD = $(LIBREADLINE)  pcretest_LDADD = $(LIBREADLINE)
416  if WITH_PCRE8  if WITH_PCRE8
417  pcretest_SOURCES += pcre_printint.c  pcretest_SOURCES += pcre_printint.c
# Line 346  if WITH_PCRE16 Line 421  if WITH_PCRE16
421  pcretest_SOURCES += pcre16_printint.c  pcretest_SOURCES += pcre16_printint.c
422  pcretest_LDADD += libpcre16.la  pcretest_LDADD += libpcre16.la
423  endif # WITH_PCRE16  endif # WITH_PCRE16
424    if WITH_PCRE32
425    pcretest_SOURCES += pcre32_printint.c
426    pcretest_LDADD += libpcre32.la
427    endif # WITH_PCRE32
428    if WITH_VALGRIND
429    pcretest_CFLAGS += $(VALGRIND_CFLAGS)
430    endif # WITH_VALGRIND
431    
432  if WITH_PCRE8  if WITH_PCRE8
433  TESTS += RunGrepTest  TESTS += RunGrepTest
# Line 374  EXTRA_DIST += \ Line 456  EXTRA_DIST += \
456    testdata/saved16BE-2 \    testdata/saved16BE-2 \
457    testdata/saved16LE-1 \    testdata/saved16LE-1 \
458    testdata/saved16LE-2 \    testdata/saved16LE-2 \
459      testdata/saved32 \
460      testdata/saved32BE-1 \
461      testdata/saved32BE-2 \
462      testdata/saved32LE-1 \
463      testdata/saved32LE-2 \
464    testdata/saved8 \    testdata/saved8 \
465    testdata/testinput1 \    testdata/testinput1 \
466    testdata/testinput2 \    testdata/testinput2 \
# Line 397  EXTRA_DIST += \ Line 484  EXTRA_DIST += \
484    testdata/testinput20 \    testdata/testinput20 \
485    testdata/testinput21 \    testdata/testinput21 \
486    testdata/testinput22 \    testdata/testinput22 \
487      testdata/testinputEBC \
488    testdata/testoutput1 \    testdata/testoutput1 \
489    testdata/testoutput2 \    testdata/testoutput2 \
490    testdata/testoutput3 \    testdata/testoutput3 \
# Line 420  EXTRA_DIST += \ Line 508  EXTRA_DIST += \
508    testdata/testoutput20 \    testdata/testoutput20 \
509    testdata/testoutput21 \    testdata/testoutput21 \
510    testdata/testoutput22 \    testdata/testoutput22 \
511      testdata/testoutputEBC \
512    testdata/wintestinput3 \    testdata/wintestinput3 \
513    testdata/wintestoutput3 \    testdata/wintestoutput3 \
514    perltest.pl    perltest.pl
# Line 427  EXTRA_DIST += \ Line 516  EXTRA_DIST += \
516  CLEANFILES += \  CLEANFILES += \
517          testsavedregex \          testsavedregex \
518          teststderr \          teststderr \
519            testtemp* \
520          testtry \          testtry \
521          testNinput          testNinput
522    
# Line 470  pkgconfig_DATA = libpcre.pc libpcreposix Line 560  pkgconfig_DATA = libpcre.pc libpcreposix
560  if WITH_PCRE16  if WITH_PCRE16
561  pkgconfig_DATA += libpcre16.pc  pkgconfig_DATA += libpcre16.pc
562  endif  endif
563    if WITH_PCRE32
564    pkgconfig_DATA += libpcre32.pc
565    endif
566  if WITH_PCRE_CPP  if WITH_PCRE_CPP
567  pkgconfig_DATA += libpcrecpp.pc  pkgconfig_DATA += libpcrecpp.pc
568  endif  endif
# Line 477  endif Line 570  endif
570  dist_man_MANS = \  dist_man_MANS = \
571    doc/pcre.3 \    doc/pcre.3 \
572    doc/pcre16.3 \    doc/pcre16.3 \
573      doc/pcre32.3 \
574    doc/pcre-config.1 \    doc/pcre-config.1 \
575    doc/pcre_assign_jit_stack.3 \    doc/pcre_assign_jit_stack.3 \
576    doc/pcre_compile.3 \    doc/pcre_compile.3 \
# Line 502  dist_man_MANS = \ Line 596  dist_man_MANS = \
596    doc/pcre_refcount.3 \    doc/pcre_refcount.3 \
597    doc/pcre_study.3 \    doc/pcre_study.3 \
598    doc/pcre_utf16_to_host_byte_order.3 \    doc/pcre_utf16_to_host_byte_order.3 \
599      doc/pcre_utf32_to_host_byte_order.3 \
600    doc/pcre_version.3 \    doc/pcre_version.3 \
601    doc/pcreapi.3 \    doc/pcreapi.3 \
602    doc/pcrebuild.3 \    doc/pcrebuild.3 \
# Line 522  dist_man_MANS = \ Line 617  dist_man_MANS = \
617    doc/pcretest.1 \    doc/pcretest.1 \
618    doc/pcreunicode.3    doc/pcreunicode.3
619    
620  # Arrange for the per-function man pages to have 16-bit names as well.  # Arrange for the per-function man pages to have 16- and 32-bit names as well.
621  install-data-hook:  install-data-hook:
622          ln -sf pcre_assign_jit_stack.3           $(DESTDIR)$(man3dir)/pcre16_assign_jit_stack.3          ln -sf pcre_assign_jit_stack.3           $(DESTDIR)$(man3dir)/pcre16_assign_jit_stack.3
623          ln -sf pcre_compile.3                    $(DESTDIR)$(man3dir)/pcre16_compile.3          ln -sf pcre_compile.3                    $(DESTDIR)$(man3dir)/pcre16_compile.3
# Line 549  install-data-hook: Line 644  install-data-hook:
644          ln -sf pcre_study.3                      $(DESTDIR)$(man3dir)/pcre16_study.3          ln -sf pcre_study.3                      $(DESTDIR)$(man3dir)/pcre16_study.3
645          ln -sf pcre_utf16_to_host_byte_order.3   $(DESTDIR)$(man3dir)/pcre16_utf16_to_host_byte_order.3          ln -sf pcre_utf16_to_host_byte_order.3   $(DESTDIR)$(man3dir)/pcre16_utf16_to_host_byte_order.3
646          ln -sf pcre_version.3                    $(DESTDIR)$(man3dir)/pcre16_version.3          ln -sf pcre_version.3                    $(DESTDIR)$(man3dir)/pcre16_version.3
647            ln -sf pcre_assign_jit_stack.3           $(DESTDIR)$(man3dir)/pcre32_assign_jit_stack.3
648            ln -sf pcre_compile.3                    $(DESTDIR)$(man3dir)/pcre32_compile.3
649            ln -sf pcre_compile2.3                   $(DESTDIR)$(man3dir)/pcre32_compile2.3
650            ln -sf pcre_config.3                     $(DESTDIR)$(man3dir)/pcre32_config.3
651            ln -sf pcre_copy_named_substring.3       $(DESTDIR)$(man3dir)/pcre32_copy_named_substring.3
652            ln -sf pcre_copy_substring.3             $(DESTDIR)$(man3dir)/pcre32_copy_substring.3
653            ln -sf pcre_dfa_exec.3                   $(DESTDIR)$(man3dir)/pcre32_dfa_exec.3
654            ln -sf pcre_exec.3                       $(DESTDIR)$(man3dir)/pcre32_exec.3
655            ln -sf pcre_free_study.3                 $(DESTDIR)$(man3dir)/pcre32_free_study.3
656            ln -sf pcre_free_substring.3             $(DESTDIR)$(man3dir)/pcre32_free_substring.3
657            ln -sf pcre_free_substring_list.3        $(DESTDIR)$(man3dir)/pcre32_free_substring_list.3
658            ln -sf pcre_fullinfo.3                   $(DESTDIR)$(man3dir)/pcre32_fullinfo.3
659            ln -sf pcre_get_named_substring.3        $(DESTDIR)$(man3dir)/pcre32_get_named_substring.3
660            ln -sf pcre_get_stringnumber.3           $(DESTDIR)$(man3dir)/pcre32_get_stringnumber.3
661            ln -sf pcre_get_stringtable_entries.3    $(DESTDIR)$(man3dir)/pcre32_get_stringtable_entries.3
662            ln -sf pcre_get_substring.3              $(DESTDIR)$(man3dir)/pcre32_get_substring.3
663            ln -sf pcre_get_substring_list.3         $(DESTDIR)$(man3dir)/pcre32_get_substring_list.3
664            ln -sf pcre_jit_stack_alloc.3            $(DESTDIR)$(man3dir)/pcre32_jit_stack_alloc.3
665            ln -sf pcre_jit_stack_free.3             $(DESTDIR)$(man3dir)/pcre32_jit_stack_free.3
666            ln -sf pcre_maketables.3                 $(DESTDIR)$(man3dir)/pcre32_maketables.3
667            ln -sf pcre_pattern_to_host_byte_order.3 $(DESTDIR)$(man3dir)/pcre32_pattern_to_host_byte_order.3
668            ln -sf pcre_refcount.3                   $(DESTDIR)$(man3dir)/pcre32_refcount.3
669            ln -sf pcre_study.3                      $(DESTDIR)$(man3dir)/pcre32_study.3
670            ln -sf pcre_utf32_to_host_byte_order.3   $(DESTDIR)$(man3dir)/pcre32_utf32_to_host_byte_order.3
671            ln -sf pcre_version.3                    $(DESTDIR)$(man3dir)/pcre32_version.3
672    
673  pcrecpp_man = doc/pcrecpp.3  pcrecpp_man = doc/pcrecpp.3
674  EXTRA_DIST += $(pcrecpp_man)  EXTRA_DIST += $(pcrecpp_man)

Legend:
Removed from v.982  
changed lines
  Added in v.1151

  ViewVC Help
Powered by ViewVC 1.1.5