/[pcre]/code/branches/pcre16/Makefile.am
ViewVC logotype

Diff of /code/branches/pcre16/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

code/trunk/Makefile.am revision 466 by ph10, Mon Oct 19 11:42:08 2009 UTC code/branches/pcre16/Makefile.am revision 785 by zherczeg, Mon Dec 5 20:12:24 2011 UTC
# Line 1  Line 1 
1  ## Process this file with automake to produce Makefile.in.  ## Process this file with automake to produce Makefile.in.
2    
3    ACLOCAL_AMFLAGS = -I m4
4    
5  dist_doc_DATA = \  dist_doc_DATA = \
6    doc/pcre.txt \    doc/pcre.txt \
7    doc/pcre-config.txt \    doc/pcre-config.txt \
# Line 16  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/pcre-config.html \    doc/html/pcre-config.html \
21      doc/html/pcre_assign_jit_stack.html \
22    doc/html/pcre_compile.html \    doc/html/pcre_compile.html \
23    doc/html/pcre_compile2.html \    doc/html/pcre_compile2.html \
24    doc/html/pcre_config.html \    doc/html/pcre_config.html \
# Line 23  dist_html_DATA = \ Line 26  dist_html_DATA = \
26    doc/html/pcre_copy_substring.html \    doc/html/pcre_copy_substring.html \
27    doc/html/pcre_dfa_exec.html \    doc/html/pcre_dfa_exec.html \
28    doc/html/pcre_exec.html \    doc/html/pcre_exec.html \
29      doc/html/pcre_free_study.html \
30    doc/html/pcre_free_substring.html \    doc/html/pcre_free_substring.html \
31    doc/html/pcre_free_substring_list.html \    doc/html/pcre_free_substring_list.html \
32    doc/html/pcre_fullinfo.html \    doc/html/pcre_fullinfo.html \
# Line 32  dist_html_DATA = \ Line 36  dist_html_DATA = \
36    doc/html/pcre_get_substring.html \    doc/html/pcre_get_substring.html \
37    doc/html/pcre_get_substring_list.html \    doc/html/pcre_get_substring_list.html \
38    doc/html/pcre_info.html \    doc/html/pcre_info.html \
39      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 42  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 51  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 70  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 161  endif # WITH_REBUILD_CHARTABLES Line 170  endif # WITH_REBUILD_CHARTABLES
170    
171    
172  ## The main pcre library  ## The main pcre library
173    
174    # Build the 8 bit library if it is enabled.
175    if WITH_PCRE8
176  lib_LTLIBRARIES += libpcre.la  lib_LTLIBRARIES += libpcre.la
177  libpcre_la_SOURCES = \  libpcre_la_SOURCES = \
178    pcre_compile.c \    pcre_compile.c \
# Line 172  libpcre_la_SOURCES = \ Line 184  libpcre_la_SOURCES = \
184    pcre_globals.c \    pcre_globals.c \
185    pcre_info.c \    pcre_info.c \
186    pcre_internal.h \    pcre_internal.h \
187      pcre_jit_compile.c \
188    pcre_maketables.c \    pcre_maketables.c \
189    pcre_newline.c \    pcre_newline.c \
190    pcre_ord2utf8.c \    pcre_ord2utf8.c \
191    pcre_refcount.c \    pcre_refcount.c \
192      pcre_string_utils.c \
193    pcre_study.c \    pcre_study.c \
194    pcre_tables.c \    pcre_tables.c \
195    pcre_try_flipped.c \    pcre_try_flipped.c \
# Line 189  libpcre_la_SOURCES = \ Line 203  libpcre_la_SOURCES = \
203  nodist_libpcre_la_SOURCES = \  nodist_libpcre_la_SOURCES = \
204    pcre_chartables.c    pcre_chartables.c
205    
206    endif # WITH_PCRE8
207    
208    # Build the 16 bit library if it is enabled.
209    if WITH_PCRE16
210    lib_LTLIBRARIES += libpcre16.la
211    libpcre16_la_SOURCES = \
212      pcre16_chartables.c \
213      pcre16_compile.c \
214      pcre16_exec.c \
215      pcre16_fullinfo.c \
216      pcre16_info.c \
217      pcre16_jit_compile.c \
218      pcre16_newline.c \
219      pcre16_ord2utf16.c \
220      pcre16_string_utils.c \
221      pcre16_study.c \
222      pcre16_tables.c \
223      pcre16_try_flipped.c \
224      pcre16_ucd.c \
225      pcre16_utf16_utils.c \
226      pcre16_valid_utf16.c \
227      pcre16_version.c \
228      pcre16_xclass.c
229    
230    ## This file is generated as part of the building process, so don't distribute.
231    nodist_libpcre16_la_SOURCES = \
232      pcre_chartables.c
233    
234    endif # WITH_PCRE16
235    
236  # The pcre_printint.src file is #included by some source files, so it must be  # The pcre_printint.src file is #included by some source files, so it must be
237  # distributed. The pcre_chartables.c.dist file is the default version of  # distributed. The pcre_chartables.c.dist file is the default version of
238  # pcre_chartables.c, used unless --enable-rebuild-chartables is specified.  # pcre_chartables.c, used unless --enable-rebuild-chartables is specified.
239  EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist  EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist
240    
241    # The JIT compiler lives in a separate directory, but its files are #included
242    # when pcre_jit_compile.c is processed, so they must be distributed.
243    EXTRA_DIST += \
244      sljit/sljitConfig.h \
245      sljit/sljitConfigInternal.h \
246      sljit/sljitExecAllocator.c \
247      sljit/sljitLir.c \
248      sljit/sljitLir.h \
249      sljit/sljitNativeARM_Thumb2.c \
250      sljit/sljitNativeARM_v5.c \
251      sljit/sljitNativeMIPS_32.c \
252      sljit/sljitNativeMIPS_common.c \
253      sljit/sljitNativePPC_32.c \
254      sljit/sljitNativePPC_64.c \
255      sljit/sljitNativePPC_common.c \
256      sljit/sljitNativeX86_32.c \
257      sljit/sljitNativeX86_64.c \
258      sljit/sljitNativeX86_common.c \
259      sljit/sljitUtils.c
260    
261    if WITH_PCRE8
262  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)
263    endif # WITH_PCRE8
264    if WITH_PCRE16
265    libpcre16_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)
266    endif # WITH_PCRE16
267    
268  CLEANFILES += pcre_chartables.c  CLEANFILES += pcre_chartables.c
269    
270    ## If JIT support is enabled, arrange for the JIT test program to run.
271    if WITH_JIT
272    TESTS += pcre_jit_test
273    noinst_PROGRAMS += pcre_jit_test
274    pcre_jit_test_SOURCES = pcre_jit_test.c
275    pcre_jit_test_LDADD =
276    if WITH_PCRE8
277    pcre_jit_test_LDADD += libpcre.la
278    endif # WITH_PCRE8
279    if WITH_PCRE16
280    pcre_jit_test_LDADD += libpcre16.la
281    endif # WITH_PCRE16
282    endif # WITH_JIT
283    
284  ## 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.
285    if WITH_PCRE8
286  lib_LTLIBRARIES += libpcreposix.la  lib_LTLIBRARIES += libpcreposix.la
287  libpcreposix_la_SOURCES = \  libpcreposix_la_SOURCES = \
288    pcreposix.c    pcreposix.c
289  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)
290  libpcreposix_la_LIBADD = libpcre.la  libpcreposix_la_LIBADD = libpcre.la
291    endif # WITH_PCRE8
292    
293  ## There's a C++ library as well.  ## There's a C++ library as well.
294  if WITH_PCRE_CPP  if WITH_PCRE_CPP
# Line 244  dist_noinst_SCRIPTS += RunTest Line 329  dist_noinst_SCRIPTS += RunTest
329  EXTRA_DIST += RunTest.bat  EXTRA_DIST += RunTest.bat
330  bin_PROGRAMS += pcretest  bin_PROGRAMS += pcretest
331  pcretest_SOURCES = pcretest.c  pcretest_SOURCES = pcretest.c
332  pcretest_LDADD = libpcreposix.la $(LIBREADLINE)  pcretest_LDADD = $(LIBREADLINE)
333    if WITH_PCRE8
334    pcretest_LDADD += libpcreposix.la
335    endif # WITH_PCRE8
336    
337  TESTS += RunGrepTest  TESTS += RunGrepTest
338  dist_noinst_SCRIPTS += RunGrepTest  dist_noinst_SCRIPTS += RunGrepTest
339  bin_PROGRAMS += pcregrep  bin_PROGRAMS += pcregrep
340  pcregrep_SOURCES = pcregrep.c  pcregrep_SOURCES = pcregrep.c
341  pcregrep_LDADD = libpcreposix.la $(LIBZ) $(LIBBZ2)  pcregrep_LDADD = $(LIBZ) $(LIBBZ2)
342    if WITH_PCRE8
343    pcregrep_LDADD += libpcreposix.la
344    endif # WITH_PCRE8
345    
346  EXTRA_DIST += \  EXTRA_DIST += \
347    testdata/grepinput \    testdata/grepinput \
348      testdata/grepinput3 \
349    testdata/grepinput8 \    testdata/grepinput8 \
350    testdata/grepinputv \    testdata/grepinputv \
351    testdata/grepinputx \    testdata/grepinputx \
# Line 273  EXTRA_DIST += \ Line 365  EXTRA_DIST += \
365    testdata/testinput10 \    testdata/testinput10 \
366    testdata/testinput11 \    testdata/testinput11 \
367    testdata/testinput12 \    testdata/testinput12 \
368      testdata/testinput13 \
369      testdata/testinput14 \
370      testdata/testinput15 \
371    testdata/testoutput1 \    testdata/testoutput1 \
372    testdata/testoutput2 \    testdata/testoutput2 \
373    testdata/testoutput3 \    testdata/testoutput3 \
# Line 285  EXTRA_DIST += \ Line 380  EXTRA_DIST += \
380    testdata/testoutput10 \    testdata/testoutput10 \
381    testdata/testoutput11 \    testdata/testoutput11 \
382    testdata/testoutput12 \    testdata/testoutput12 \
383      testdata/testoutput13 \
384      testdata/testoutput14 \
385      testdata/testoutput15 \
386    testdata/wintestinput3 \    testdata/wintestinput3 \
387    testdata/wintestoutput3 \    testdata/wintestoutput3 \
388    perltest.pl    perltest.pl
# Line 316  test: check ; Line 414  test: check ;
414  # 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.)
415  DLL_OBJS= pcre_compile.o pcre_config.o \  DLL_OBJS= pcre_compile.o pcre_config.o \
416          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 \
417          pcre_globals.o pcre_info.o pcre_maketables.o \          pcre_globals.o pcre_info.o pcre_jit_compile.o pcre_maketables.o \
418          pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \          pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \
419          pcre_study.o pcre_tables.o pcre_try_flipped.o \          pcre_study.o pcre_tables.o pcre_try_flipped.o \
420          pcre_ucd.o pcre_valid_utf8.o pcre_version.o \          pcre_ucd.o pcre_valid_utf8.o pcre_version.o \
# Line 333  pcre.dll: $(DLL_OBJS) Line 431  pcre.dll: $(DLL_OBJS)
431  # We have .pc files for pkg-config users.  # We have .pc files for pkg-config users.
432  pkgconfigdir = $(libdir)/pkgconfig  pkgconfigdir = $(libdir)/pkgconfig
433  pkgconfig_DATA = libpcre.pc libpcreposix.pc  pkgconfig_DATA = libpcre.pc libpcreposix.pc
434    if WITH_PCRE16
435    pkgconfig_DATA += libpcre16.pc
436    endif
437  if WITH_PCRE_CPP  if WITH_PCRE_CPP
438  pkgconfig_DATA += libpcrecpp.pc  pkgconfig_DATA += libpcrecpp.pc
439  endif  endif
# Line 340  endif Line 441  endif
441  dist_man_MANS = \  dist_man_MANS = \
442    doc/pcre.3 \    doc/pcre.3 \
443    doc/pcre-config.1 \    doc/pcre-config.1 \
444      doc/pcre_assign_jit_stack.3 \
445    doc/pcre_compile.3 \    doc/pcre_compile.3 \
446    doc/pcre_compile2.3 \    doc/pcre_compile2.3 \
447    doc/pcre_config.3 \    doc/pcre_config.3 \
# Line 347  dist_man_MANS = \ Line 449  dist_man_MANS = \
449    doc/pcre_copy_substring.3 \    doc/pcre_copy_substring.3 \
450    doc/pcre_dfa_exec.3 \    doc/pcre_dfa_exec.3 \
451    doc/pcre_exec.3 \    doc/pcre_exec.3 \
452      doc/pcre_free_study.3 \
453    doc/pcre_free_substring.3 \    doc/pcre_free_substring.3 \
454    doc/pcre_free_substring_list.3 \    doc/pcre_free_substring_list.3 \
455    doc/pcre_fullinfo.3 \    doc/pcre_fullinfo.3 \
# Line 356  dist_man_MANS = \ Line 459  dist_man_MANS = \
459    doc/pcre_get_substring.3 \    doc/pcre_get_substring.3 \
460    doc/pcre_get_substring_list.3 \    doc/pcre_get_substring_list.3 \
461    doc/pcre_info.3 \    doc/pcre_info.3 \
462      doc/pcre_jit_stack_alloc.3 \
463      doc/pcre_jit_stack_free.3 \
464    doc/pcre_maketables.3 \    doc/pcre_maketables.3 \
465    doc/pcre_refcount.3 \    doc/pcre_refcount.3 \
466    doc/pcre_study.3 \    doc/pcre_study.3 \
# Line 365  dist_man_MANS = \ Line 470  dist_man_MANS = \
470    doc/pcrecallout.3 \    doc/pcrecallout.3 \
471    doc/pcrecompat.3 \    doc/pcrecompat.3 \
472    doc/pcregrep.1 \    doc/pcregrep.1 \
473      doc/pcrejit.3 \
474      doc/pcrelimits.3 \
475    doc/pcrematching.3 \    doc/pcrematching.3 \
476    doc/pcrepartial.3 \    doc/pcrepartial.3 \
477    doc/pcrepattern.3 \    doc/pcrepattern.3 \
# Line 374  dist_man_MANS = \ Line 481  dist_man_MANS = \
481    doc/pcresample.3 \    doc/pcresample.3 \
482    doc/pcrestack.3 \    doc/pcrestack.3 \
483    doc/pcresyntax.3 \    doc/pcresyntax.3 \
484    doc/pcretest.1    doc/pcretest.1 \
485      doc/pcreunicode.3
486    
487  pcrecpp_man = doc/pcrecpp.3  pcrecpp_man = doc/pcrecpp.3
488  EXTRA_DIST += $(pcrecpp_man)  EXTRA_DIST += $(pcrecpp_man)

Legend:
Removed from v.466  
changed lines
  Added in v.785

  ViewVC Help
Powered by ViewVC 1.1.5