/[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 957 by ph10, Wed Apr 4 16:18:29 2012 UTC revision 1055 by chpe, Tue Oct 16 15:53:30 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 \
108    NON-UNIX-USE \    NON-UNIX-USE \
109      NON-AUTOTOOLS-BUILD \
110    HACKING    HACKING
111    
112  # These files are used in the preparation of a release  # These files are used in the preparation of a release
# Line 241  nodist_libpcre16_la_SOURCES = \ Line 251  nodist_libpcre16_la_SOURCES = \
251    
252  endif # WITH_PCRE16  endif # WITH_PCRE16
253    
254    # Build the 32 bit library if it is enabled.
255    if WITH_PCRE32
256    lib_LTLIBRARIES += libpcre32.la
257    libpcre32_la_SOURCES = \
258      pcre32_byte_order.c \
259      pcre32_chartables.c \
260      pcre32_compile.c \
261      pcre32_config.c \
262      pcre32_dfa_exec.c \
263      pcre32_exec.c \
264      pcre32_fullinfo.c \
265      pcre32_get.c \
266      pcre32_globals.c \
267      pcre32_jit_compile.c \
268      pcre32_maketables.c \
269      pcre32_newline.c \
270      pcre32_ord2utf32.c \
271      pcre32_refcount.c \
272      pcre32_string_utils.c \
273      pcre32_study.c \
274      pcre32_tables.c \
275      pcre32_ucd.c \
276      pcre32_utf32_utils.c \
277      pcre32_valid_utf32.c \
278      pcre32_version.c \
279      pcre32_xclass.c
280    
281    ## This file is generated as part of the building process, so don't distribute.
282    nodist_libpcre32_la_SOURCES = \
283      pcre_chartables.c
284    
285    endif # WITH_PCRE32
286    
287  # 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,
288  # used unless --enable-rebuild-chartables is specified.  # used unless --enable-rebuild-chartables is specified.
289  EXTRA_DIST += pcre_chartables.c.dist  EXTRA_DIST += pcre_chartables.c.dist
# Line 271  endif # WITH_PCRE8 Line 314  endif # WITH_PCRE8
314  if WITH_PCRE16  if WITH_PCRE16
315  libpcre16_la_LDFLAGS = $(EXTRA_LIBPCRE16_LDFLAGS)  libpcre16_la_LDFLAGS = $(EXTRA_LIBPCRE16_LDFLAGS)
316  endif # WITH_PCRE16  endif # WITH_PCRE16
317    if WITH_PCRE32
318    libpcre32_la_LDFLAGS = $(EXTRA_LIBPCRE32_LDFLAGS)
319    endif # WITH_PCRE32
320    
321  CLEANFILES += pcre_chartables.c  CLEANFILES += pcre_chartables.c
322    
# Line 286  endif # WITH_PCRE8 Line 332  endif # WITH_PCRE8
332  if WITH_PCRE16  if WITH_PCRE16
333  pcre_jit_test_LDADD += libpcre16.la  pcre_jit_test_LDADD += libpcre16.la
334  endif # WITH_PCRE16  endif # WITH_PCRE16
335    if WITH_PCRE32
336    pcre_jit_test_LDADD += libpcre32.la
337    endif # WITH_PCRE32
338  endif # WITH_JIT  endif # WITH_JIT
339    
340  ## 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 339  pcretest_SOURCES = pcretest.c Line 388  pcretest_SOURCES = pcretest.c
388  pcretest_LDADD = $(LIBREADLINE)  pcretest_LDADD = $(LIBREADLINE)
389  if WITH_PCRE8  if WITH_PCRE8
390  pcretest_SOURCES += pcre_printint.c  pcretest_SOURCES += pcre_printint.c
391  pcretest_LDADD += libpcreposix.la  pcretest_LDADD += libpcre.la libpcreposix.la
392  endif # WITH_PCRE8  endif # WITH_PCRE8
393  if WITH_PCRE16  if WITH_PCRE16
394  pcretest_SOURCES += pcre16_printint.c  pcretest_SOURCES += pcre16_printint.c
395  pcretest_LDADD += libpcre16.la  pcretest_LDADD += libpcre16.la
396  endif # WITH_PCRE16  endif # WITH_PCRE16
397    if WITH_PCRE32
398    pcretest_SOURCES += pcre32_printint.c
399    pcretest_LDADD += libpcre32.la
400    endif # WITH_PCRE32
401    
402  if WITH_PCRE8  if WITH_PCRE8
403  TESTS += RunGrepTest  TESTS += RunGrepTest
# Line 352  dist_noinst_SCRIPTS += RunGrepTest Line 405  dist_noinst_SCRIPTS += RunGrepTest
405  bin_PROGRAMS += pcregrep  bin_PROGRAMS += pcregrep
406  pcregrep_SOURCES = pcregrep.c  pcregrep_SOURCES = pcregrep.c
407  pcregrep_LDADD = $(LIBZ) $(LIBBZ2)  pcregrep_LDADD = $(LIBZ) $(LIBBZ2)
408  pcregrep_LDADD += libpcreposix.la  pcregrep_LDADD += libpcre.la libpcreposix.la
409  endif # WITH_PCRE8  endif # WITH_PCRE8
410    
411  EXTRA_DIST += \  EXTRA_DIST += \
412      testdata/grepbinary \
413      testdata/grepfilelist \
414    testdata/grepinput \    testdata/grepinput \
415    testdata/grepinput3 \    testdata/grepinput3 \
416    testdata/grepinput8 \    testdata/grepinput8 \
# Line 371  EXTRA_DIST += \ Line 426  EXTRA_DIST += \
426    testdata/saved16BE-2 \    testdata/saved16BE-2 \
427    testdata/saved16LE-1 \    testdata/saved16LE-1 \
428    testdata/saved16LE-2 \    testdata/saved16LE-2 \
429      testdata/saved32 \
430      testdata/saved32BE-1 \
431      testdata/saved32BE-2 \
432      testdata/saved32LE-1 \
433      testdata/saved32LE-2 \
434    testdata/saved8 \    testdata/saved8 \
435    testdata/testinput1 \    testdata/testinput1 \
436    testdata/testinput2 \    testdata/testinput2 \
# Line 394  EXTRA_DIST += \ Line 454  EXTRA_DIST += \
454    testdata/testinput20 \    testdata/testinput20 \
455    testdata/testinput21 \    testdata/testinput21 \
456    testdata/testinput22 \    testdata/testinput22 \
457      testdata/testinputEBC \
458    testdata/testoutput1 \    testdata/testoutput1 \
459    testdata/testoutput2 \    testdata/testoutput2 \
460    testdata/testoutput3 \    testdata/testoutput3 \
# Line 417  EXTRA_DIST += \ Line 478  EXTRA_DIST += \
478    testdata/testoutput20 \    testdata/testoutput20 \
479    testdata/testoutput21 \    testdata/testoutput21 \
480    testdata/testoutput22 \    testdata/testoutput22 \
481      testdata/testoutputEBC \
482    testdata/wintestinput3 \    testdata/wintestinput3 \
483    testdata/wintestoutput3 \    testdata/wintestoutput3 \
484    perltest.pl    perltest.pl
# Line 424  EXTRA_DIST += \ Line 486  EXTRA_DIST += \
486  CLEANFILES += \  CLEANFILES += \
487          testsavedregex \          testsavedregex \
488          teststderr \          teststderr \
489            testtemp* \
490          testtry \          testtry \
491          testNinput          testNinput
492    
# Line 467  pkgconfig_DATA = libpcre.pc libpcreposix Line 530  pkgconfig_DATA = libpcre.pc libpcreposix
530  if WITH_PCRE16  if WITH_PCRE16
531  pkgconfig_DATA += libpcre16.pc  pkgconfig_DATA += libpcre16.pc
532  endif  endif
533    if WITH_PCRE32
534    pkgconfig_DATA += libpcre32.pc
535    endif
536  if WITH_PCRE_CPP  if WITH_PCRE_CPP
537  pkgconfig_DATA += libpcrecpp.pc  pkgconfig_DATA += libpcrecpp.pc
538  endif  endif
# Line 474  endif Line 540  endif
540  dist_man_MANS = \  dist_man_MANS = \
541    doc/pcre.3 \    doc/pcre.3 \
542    doc/pcre16.3 \    doc/pcre16.3 \
543      doc/pcre32.3 \
544    doc/pcre-config.1 \    doc/pcre-config.1 \
545    doc/pcre_assign_jit_stack.3 \    doc/pcre_assign_jit_stack.3 \
546    doc/pcre_compile.3 \    doc/pcre_compile.3 \
# Line 499  dist_man_MANS = \ Line 566  dist_man_MANS = \
566    doc/pcre_refcount.3 \    doc/pcre_refcount.3 \
567    doc/pcre_study.3 \    doc/pcre_study.3 \
568    doc/pcre_utf16_to_host_byte_order.3 \    doc/pcre_utf16_to_host_byte_order.3 \
569      doc/pcre_utf32_to_host_byte_order.3 \
570    doc/pcre_version.3 \    doc/pcre_version.3 \
571    doc/pcreapi.3 \    doc/pcreapi.3 \
572    doc/pcrebuild.3 \    doc/pcrebuild.3 \
# Line 519  dist_man_MANS = \ Line 587  dist_man_MANS = \
587    doc/pcretest.1 \    doc/pcretest.1 \
588    doc/pcreunicode.3    doc/pcreunicode.3
589    
590  # 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.
591  install-data-hook:  install-data-hook:
592          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
593          ln -sf pcre_compile.3                    $(DESTDIR)$(man3dir)/pcre16_compile.3          ln -sf pcre_compile.3                    $(DESTDIR)$(man3dir)/pcre16_compile.3
# Line 546  install-data-hook: Line 614  install-data-hook:
614          ln -sf pcre_study.3                      $(DESTDIR)$(man3dir)/pcre16_study.3          ln -sf pcre_study.3                      $(DESTDIR)$(man3dir)/pcre16_study.3
615          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
616          ln -sf pcre_version.3                    $(DESTDIR)$(man3dir)/pcre16_version.3          ln -sf pcre_version.3                    $(DESTDIR)$(man3dir)/pcre16_version.3
617            ln -sf pcre_assign_jit_stack.3           $(DESTDIR)$(man3dir)/pcre32_assign_jit_stack.3
618            ln -sf pcre_compile.3                    $(DESTDIR)$(man3dir)/pcre32_compile.3
619            ln -sf pcre_compile2.3                   $(DESTDIR)$(man3dir)/pcre32_compile2.3
620            ln -sf pcre_config.3                     $(DESTDIR)$(man3dir)/pcre32_config.3
621            ln -sf pcre_copy_named_substring.3       $(DESTDIR)$(man3dir)/pcre32_copy_named_substring.3
622            ln -sf pcre_copy_substring.3             $(DESTDIR)$(man3dir)/pcre32_copy_substring.3
623            ln -sf pcre_dfa_exec.3                   $(DESTDIR)$(man3dir)/pcre32_dfa_exec.3
624            ln -sf pcre_exec.3                       $(DESTDIR)$(man3dir)/pcre32_exec.3
625            ln -sf pcre_free_study.3                 $(DESTDIR)$(man3dir)/pcre32_free_study.3
626            ln -sf pcre_free_substring.3             $(DESTDIR)$(man3dir)/pcre32_free_substring.3
627            ln -sf pcre_free_substring_list.3        $(DESTDIR)$(man3dir)/pcre32_free_substring_list.3
628            ln -sf pcre_fullinfo.3                   $(DESTDIR)$(man3dir)/pcre32_fullinfo.3
629            ln -sf pcre_get_named_substring.3        $(DESTDIR)$(man3dir)/pcre32_get_named_substring.3
630            ln -sf pcre_get_stringnumber.3           $(DESTDIR)$(man3dir)/pcre32_get_stringnumber.3
631            ln -sf pcre_get_stringtable_entries.3    $(DESTDIR)$(man3dir)/pcre32_get_stringtable_entries.3
632            ln -sf pcre_get_substring.3              $(DESTDIR)$(man3dir)/pcre32_get_substring.3
633            ln -sf pcre_get_substring_list.3         $(DESTDIR)$(man3dir)/pcre32_get_substring_list.3
634            ln -sf pcre_jit_stack_alloc.3            $(DESTDIR)$(man3dir)/pcre32_jit_stack_alloc.3
635            ln -sf pcre_jit_stack_free.3             $(DESTDIR)$(man3dir)/pcre32_jit_stack_free.3
636            ln -sf pcre_maketables.3                 $(DESTDIR)$(man3dir)/pcre32_maketables.3
637            ln -sf pcre_pattern_to_host_byte_order.3 $(DESTDIR)$(man3dir)/pcre32_pattern_to_host_byte_order.3
638            ln -sf pcre_refcount.3                   $(DESTDIR)$(man3dir)/pcre32_refcount.3
639            ln -sf pcre_study.3                      $(DESTDIR)$(man3dir)/pcre32_study.3
640            ln -sf pcre_utf32_to_host_byte_order.3   $(DESTDIR)$(man3dir)/pcre32_utf32_to_host_byte_order.3
641            ln -sf pcre_version.3                    $(DESTDIR)$(man3dir)/pcre32_version.3
642    
643  pcrecpp_man = doc/pcrecpp.3  pcrecpp_man = doc/pcrecpp.3
644  EXTRA_DIST += $(pcrecpp_man)  EXTRA_DIST += $(pcrecpp_man)

Legend:
Removed from v.957  
changed lines
  Added in v.1055

  ViewVC Help
Powered by ViewVC 1.1.5