/[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 310 by ph10, Wed Jan 23 17:00:19 2008 UTC code/branches/pcre16/Makefile.am revision 757 by ph10, Mon Nov 21 11:44:55 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 40  dist_html_DATA = \ Line 46  dist_html_DATA = \
46    doc/html/pcrebuild.html \    doc/html/pcrebuild.html \
47    doc/html/pcrecallout.html \    doc/html/pcrecallout.html \
48    doc/html/pcrecompat.html \    doc/html/pcrecompat.html \
49      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 50  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 69  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 160  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 171  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 \
# Line 178  libpcre_la_SOURCES = \ Line 192  libpcre_la_SOURCES = \
192    pcre_study.c \    pcre_study.c \
193    pcre_tables.c \    pcre_tables.c \
194    pcre_try_flipped.c \    pcre_try_flipped.c \
195    pcre_ucp_searchfuncs.c \    pcre_ucd.c \
196    pcre_valid_utf8.c \    pcre_valid_utf8.c \
197    pcre_version.c \    pcre_version.c \
198    pcre_xclass.c \    pcre_xclass.c \
199    ucp.h \    ucp.h
   ucpinternal.h \  
   ucptable.h  
200    
201  ## 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.
202  nodist_libpcre_la_SOURCES = \  nodist_libpcre_la_SOURCES = \
203    pcre_chartables.c    pcre_chartables.c
204    
205    endif # WITH_PCRE8
206    
207    # Build the 16 bit library if it is enabled.
208    if WITH_PCRE16
209    lib_LTLIBRARIES += libpcre16.la
210    libpcre16_la_SOURCES = \
211      pcre16_compile.c \
212      pcre16_convert_utf16.c \
213      pcre16_valid_utf16.c
214    
215    ## This file is generated as part of the building process, so don't distribute.
216    nodist_libpcre16_la_SOURCES = \
217      pcre_chartables.c
218    
219    endif # WITH_PCRE16
220    
221  # 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
222  # distributed. The pcre_chartables.c.dist file is the default version of  # distributed. The pcre_chartables.c.dist file is the default version of
223  # pcre_chartables.c, used unless --enable-rebuild-chartables is specified.  # pcre_chartables.c, used unless --enable-rebuild-chartables is specified.
224  EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist  EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist
225    
226    # The JIT compiler lives in a separate directory, but its files are #included
227    # when pcre_jit_compile.c is processed, so they must be distributed.
228    EXTRA_DIST += \
229      sljit/sljitConfig.h \
230      sljit/sljitConfigInternal.h \
231      sljit/sljitExecAllocator.c \
232      sljit/sljitLir.c \
233      sljit/sljitLir.h \
234      sljit/sljitNativeARM_Thumb2.c \
235      sljit/sljitNativeARM_v5.c \
236      sljit/sljitNativeMIPS_32.c \
237      sljit/sljitNativeMIPS_common.c \
238      sljit/sljitNativePPC_32.c \
239      sljit/sljitNativePPC_64.c \
240      sljit/sljitNativePPC_common.c \
241      sljit/sljitNativeX86_32.c \
242      sljit/sljitNativeX86_64.c \
243      sljit/sljitNativeX86_common.c \
244      sljit/sljitUtils.c
245    
246    if WITH_PCRE8
247  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)
248    endif # WITH_PCRE8
249    if WITH_PCRE16
250    libpcre16_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)
251    endif # WITH_PCRE16
252    
253  CLEANFILES += pcre_chartables.c  CLEANFILES += pcre_chartables.c
254    
255    ## If JIT support is enabled, arrange for the JIT test program to run.
256    if WITH_JIT
257    TESTS += pcre_jit_test
258    noinst_PROGRAMS += pcre_jit_test
259    pcre_jit_test_SOURCES = pcre_jit_test.c
260    pcre_jit_test_LDADD =
261    if WITH_PCRE8
262    pcre_jit_test_LDADD += libpcre.la
263    endif # WITH_PCRE8
264    if WITH_PCRE16
265    pcre_jit_test_LDADD += libpcre16.la
266    endif # WITH_PCRE16
267    endif # WITH_JIT
268    
269  ## 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.
270    if WITH_PCRE8
271  lib_LTLIBRARIES += libpcreposix.la  lib_LTLIBRARIES += libpcreposix.la
272  libpcreposix_la_SOURCES = \  libpcreposix_la_SOURCES = \
273    pcreposix.c    pcreposix.c
274  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)
275  libpcreposix_la_LIBADD = libpcre.la  libpcreposix_la_LIBADD = libpcre.la
276    endif # WITH_PCRE8
277    
278  ## There's a C++ library as well.  ## There's a C++ library as well.
279  if WITH_PCRE_CPP  if WITH_PCRE_CPP
# Line 245  dist_noinst_SCRIPTS += RunTest Line 314  dist_noinst_SCRIPTS += RunTest
314  EXTRA_DIST += RunTest.bat  EXTRA_DIST += RunTest.bat
315  bin_PROGRAMS += pcretest  bin_PROGRAMS += pcretest
316  pcretest_SOURCES = pcretest.c  pcretest_SOURCES = pcretest.c
317  pcretest_LDADD = libpcreposix.la  pcretest_LDADD = $(LIBREADLINE)
318    if WITH_PCRE8
319    pcretest_LDADD += libpcreposix.la
320    endif # WITH_PCRE8
321    
322  TESTS += RunGrepTest  TESTS += RunGrepTest
323  dist_noinst_SCRIPTS += RunGrepTest  dist_noinst_SCRIPTS += RunGrepTest
324  bin_PROGRAMS += pcregrep  bin_PROGRAMS += pcregrep
325  pcregrep_SOURCES = pcregrep.c  pcregrep_SOURCES = pcregrep.c
326  pcregrep_LDADD = libpcreposix.la  pcregrep_LDADD = $(LIBZ) $(LIBBZ2)
327    if WITH_PCRE8
328    pcregrep_LDADD += libpcreposix.la
329    endif # WITH_PCRE8
330    
331  EXTRA_DIST += \  EXTRA_DIST += \
332    testdata/grepinput \    testdata/grepinput \
333      testdata/grepinput3 \
334    testdata/grepinput8 \    testdata/grepinput8 \
335    testdata/grepinputv \    testdata/grepinputv \
336    testdata/grepinputx \    testdata/grepinputx \
# Line 272  EXTRA_DIST += \ Line 348  EXTRA_DIST += \
348    testdata/testinput8 \    testdata/testinput8 \
349    testdata/testinput9 \    testdata/testinput9 \
350    testdata/testinput10 \    testdata/testinput10 \
351      testdata/testinput11 \
352      testdata/testinput12 \
353      testdata/testinput13 \
354      testdata/testinput14 \
355      testdata/testinput15 \
356    testdata/testoutput1 \    testdata/testoutput1 \
357    testdata/testoutput2 \    testdata/testoutput2 \
358    testdata/testoutput3 \    testdata/testoutput3 \
# Line 282  EXTRA_DIST += \ Line 363  EXTRA_DIST += \
363    testdata/testoutput8 \    testdata/testoutput8 \
364    testdata/testoutput9 \    testdata/testoutput9 \
365    testdata/testoutput10 \    testdata/testoutput10 \
366      testdata/testoutput11 \
367      testdata/testoutput12 \
368      testdata/testoutput13 \
369      testdata/testoutput14 \
370      testdata/testoutput15 \
371    testdata/wintestinput3 \    testdata/wintestinput3 \
372    testdata/wintestoutput3 \    testdata/wintestoutput3 \
373    perltest.pl    perltest.pl
# Line 292  CLEANFILES += \ Line 378  CLEANFILES += \
378          testtry \          testtry \
379          testNinput          testNinput
380    
381  # PCRE demonstration program  
382  noinst_PROGRAMS += pcredemo  # PCRE demonstration program. No longer built automatcally. The point is that
383  pcredemo_SOURCES = pcredemo.c  # the users should build it themselves. So just distribute the source.
384  pcredemo_LDADD = libpcre.la  # noinst_PROGRAMS += pcredemo
385    # pcredemo_SOURCES = pcredemo.c
386    # pcredemo_LDADD = libpcre.la
387    
388    EXTRA_DIST += pcredemo.c
389    
390    
391  ## Utility rules, documentation, etc.  ## Utility rules, documentation, etc.
392    
# Line 308  test: check ; Line 399  test: check ;
399  # 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.)
400  DLL_OBJS= pcre_compile.o pcre_config.o \  DLL_OBJS= pcre_compile.o pcre_config.o \
401          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 \
402          pcre_globals.o pcre_info.o pcre_maketables.o \          pcre_globals.o pcre_info.o pcre_jit_compile.o pcre_maketables.o \
403          pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \          pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \
404          pcre_study.o pcre_tables.o pcre_try_flipped.o \          pcre_study.o pcre_tables.o pcre_try_flipped.o \
405          pcre_ucp_searchfuncs.o pcre_valid_utf8.o pcre_version.o \          pcre_ucd.o pcre_valid_utf8.o pcre_version.o \
406          pcre_chartables.o \          pcre_chartables.o \
407          pcre_xclass.o          pcre_xclass.o
408    
# Line 324  pcre.dll: $(DLL_OBJS) Line 415  pcre.dll: $(DLL_OBJS)
415    
416  # We have .pc files for pkg-config users.  # We have .pc files for pkg-config users.
417  pkgconfigdir = $(libdir)/pkgconfig  pkgconfigdir = $(libdir)/pkgconfig
418  pkgconfig_DATA = libpcre.pc  pkgconfig_DATA = libpcre.pc libpcreposix.pc
419    if WITH_PCRE16
420    pkgconfig_DATA += libpcre16.pc
421    endif
422  if WITH_PCRE_CPP  if WITH_PCRE_CPP
423  pkgconfig_DATA += libpcrecpp.pc  pkgconfig_DATA += libpcrecpp.pc
424  endif  endif
# Line 332  endif Line 426  endif
426  dist_man_MANS = \  dist_man_MANS = \
427    doc/pcre.3 \    doc/pcre.3 \
428    doc/pcre-config.1 \    doc/pcre-config.1 \
429      doc/pcre_assign_jit_stack.3 \
430    doc/pcre_compile.3 \    doc/pcre_compile.3 \
431    doc/pcre_compile2.3 \    doc/pcre_compile2.3 \
432    doc/pcre_config.3 \    doc/pcre_config.3 \
# Line 339  dist_man_MANS = \ Line 434  dist_man_MANS = \
434    doc/pcre_copy_substring.3 \    doc/pcre_copy_substring.3 \
435    doc/pcre_dfa_exec.3 \    doc/pcre_dfa_exec.3 \
436    doc/pcre_exec.3 \    doc/pcre_exec.3 \
437      doc/pcre_free_study.3 \
438    doc/pcre_free_substring.3 \    doc/pcre_free_substring.3 \
439    doc/pcre_free_substring_list.3 \    doc/pcre_free_substring_list.3 \
440    doc/pcre_fullinfo.3 \    doc/pcre_fullinfo.3 \
# Line 348  dist_man_MANS = \ Line 444  dist_man_MANS = \
444    doc/pcre_get_substring.3 \    doc/pcre_get_substring.3 \
445    doc/pcre_get_substring_list.3 \    doc/pcre_get_substring_list.3 \
446    doc/pcre_info.3 \    doc/pcre_info.3 \
447      doc/pcre_jit_stack_alloc.3 \
448      doc/pcre_jit_stack_free.3 \
449    doc/pcre_maketables.3 \    doc/pcre_maketables.3 \
450    doc/pcre_refcount.3 \    doc/pcre_refcount.3 \
451    doc/pcre_study.3 \    doc/pcre_study.3 \
# Line 357  dist_man_MANS = \ Line 455  dist_man_MANS = \
455    doc/pcrecallout.3 \    doc/pcrecallout.3 \
456    doc/pcrecompat.3 \    doc/pcrecompat.3 \
457    doc/pcregrep.1 \    doc/pcregrep.1 \
458      doc/pcrejit.3 \
459      doc/pcrelimits.3 \
460    doc/pcrematching.3 \    doc/pcrematching.3 \
461    doc/pcrepartial.3 \    doc/pcrepartial.3 \
462    doc/pcrepattern.3 \    doc/pcrepattern.3 \
# Line 366  dist_man_MANS = \ Line 466  dist_man_MANS = \
466    doc/pcresample.3 \    doc/pcresample.3 \
467    doc/pcrestack.3 \    doc/pcrestack.3 \
468    doc/pcresyntax.3 \    doc/pcresyntax.3 \
469    doc/pcretest.1    doc/pcretest.1 \
470      doc/pcreunicode.3
471    
472  pcrecpp_man = doc/pcrecpp.3  pcrecpp_man = doc/pcrecpp.3
473  EXTRA_DIST += $(pcrecpp_man)  EXTRA_DIST += $(pcrecpp_man)

Legend:
Removed from v.310  
changed lines
  Added in v.757

  ViewVC Help
Powered by ViewVC 1.1.5