/[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 835 by ph10, Wed Dec 28 16:10:09 2011 UTC revision 836 by ph10, Wed Dec 28 17:16:11 2011 UTC
# Line 35  dist_html_DATA = \ Line 35  dist_html_DATA = \
35    doc/html/pcre_get_stringtable_entries.html \    doc/html/pcre_get_stringtable_entries.html \
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 \
   doc/html/pcre_info.html \  
38    doc/html/pcre_jit_stack_alloc.html \    doc/html/pcre_jit_stack_alloc.html \
39    doc/html/pcre_jit_stack_free.html \    doc/html/pcre_jit_stack_free.html \
40    doc/html/pcre_maketables.html \    doc/html/pcre_maketables.html \
# Line 79  check_SCRIPTS = Line 78  check_SCRIPTS =
78  dist_noinst_SCRIPTS =  dist_noinst_SCRIPTS =
79    
80  # 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
81  # (non-user-visible) helper programs needed to build libpcre.  # (non-user-visible) helper programs needed to build libpcre or libpcre16.
82  bin_PROGRAMS =  bin_PROGRAMS =
83  noinst_PROGRAMS =  noinst_PROGRAMS =
84    
# Line 100  EXTRA_DIST += \ Line 99  EXTRA_DIST += \
99  # These files are used in the preparation of a release  # These files are used in the preparation of a release
100  EXTRA_DIST += \  EXTRA_DIST += \
101    PrepareRelease \    PrepareRelease \
102      CheckMan \
103    CleanTxt \    CleanTxt \
104    Detrail \    Detrail \
105    132html \    132html \
# Line 168  pcre_chartables.c: $(srcdir)/pcre_charta Line 168  pcre_chartables.c: $(srcdir)/pcre_charta
168    
169  endif # WITH_REBUILD_CHARTABLES  endif # WITH_REBUILD_CHARTABLES
170    
171    BUILT_SOURCES = pcre_chartables.c
172    
173  ## The main pcre library  ## The main pcre library
174    
175    # Build the 8 bit library if it is enabled.
176    if WITH_PCRE8
177  lib_LTLIBRARIES += libpcre.la  lib_LTLIBRARIES += libpcre.la
178  libpcre_la_SOURCES = \  libpcre_la_SOURCES = \
179      pcre_byte_order.c \
180    pcre_compile.c \    pcre_compile.c \
181    pcre_config.c \    pcre_config.c \
182    pcre_dfa_exec.c \    pcre_dfa_exec.c \
# Line 179  libpcre_la_SOURCES = \ Line 184  libpcre_la_SOURCES = \
184    pcre_fullinfo.c \    pcre_fullinfo.c \
185    pcre_get.c \    pcre_get.c \
186    pcre_globals.c \    pcre_globals.c \
   pcre_info.c \  
187    pcre_internal.h \    pcre_internal.h \
188    pcre_jit_compile.c \    pcre_jit_compile.c \
189    pcre_maketables.c \    pcre_maketables.c \
190    pcre_newline.c \    pcre_newline.c \
191    pcre_ord2utf8.c \    pcre_ord2utf8.c \
192    pcre_refcount.c \    pcre_refcount.c \
193      pcre_string_utils.c \
194    pcre_study.c \    pcre_study.c \
195    pcre_tables.c \    pcre_tables.c \
   pcre_try_flipped.c \  
196    pcre_ucd.c \    pcre_ucd.c \
197    pcre_valid_utf8.c \    pcre_valid_utf8.c \
198    pcre_version.c \    pcre_version.c \
# Line 199  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  # The pcre_printint.src file is #included by some source files, so it must be  endif # WITH_PCRE8
207  # distributed. The pcre_chartables.c.dist file is the default version of  
208  # pcre_chartables.c, used unless --enable-rebuild-chartables is specified.  # Build the 16 bit library if it is enabled.
209  EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist  if WITH_PCRE16
210    lib_LTLIBRARIES += libpcre16.la
211    libpcre16_la_SOURCES = \
212      pcre16_byte_order.c \
213      pcre16_chartables.c \
214      pcre16_compile.c \
215      pcre16_config.c \
216      pcre16_dfa_exec.c \
217      pcre16_exec.c \
218      pcre16_fullinfo.c \
219      pcre16_get.c \
220      pcre16_globals.c \
221      pcre16_jit_compile.c \
222      pcre16_maketables.c \
223      pcre16_newline.c \
224      pcre16_ord2utf16.c \
225      pcre16_refcount.c \
226      pcre16_string_utils.c \
227      pcre16_study.c \
228      pcre16_tables.c \
229      pcre16_ucd.c \
230      pcre16_utf16_utils.c \
231      pcre16_valid_utf16.c \
232      pcre16_version.c \
233      pcre16_xclass.c
234    
235    ## This file is generated as part of the building process, so don't distribute.
236    nodist_libpcre16_la_SOURCES = \
237      pcre_chartables.c
238    
239    endif # WITH_PCRE16
240    
241    # The pcre_chartables.c.dist file is the default version of pcre_chartables.c,
242    # used unless --enable-rebuild-chartables is specified.
243    EXTRA_DIST += pcre_chartables.c.dist
244    
245  # 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
246  # 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 224  EXTRA_DIST += \ Line 262  EXTRA_DIST += \
262    sljit/sljitNativeX86_common.c \    sljit/sljitNativeX86_common.c \
263    sljit/sljitUtils.c    sljit/sljitUtils.c
264    
265    if WITH_PCRE8
266  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)
267    endif # WITH_PCRE8
268    if WITH_PCRE16
269    libpcre16_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)
270    endif # WITH_PCRE16
271    
272  CLEANFILES += pcre_chartables.c  CLEANFILES += pcre_chartables.c
273    
# Line 233  if WITH_JIT Line 276  if WITH_JIT
276  TESTS += pcre_jit_test  TESTS += pcre_jit_test
277  noinst_PROGRAMS += pcre_jit_test  noinst_PROGRAMS += pcre_jit_test
278  pcre_jit_test_SOURCES = pcre_jit_test.c  pcre_jit_test_SOURCES = pcre_jit_test.c
279  pcre_jit_test_LDADD = libpcre.la  pcre_jit_test_LDADD =
280    if WITH_PCRE8
281    pcre_jit_test_LDADD += libpcre.la
282    endif # WITH_PCRE8
283    if WITH_PCRE16
284    pcre_jit_test_LDADD += libpcre16.la
285    endif # WITH_PCRE16
286  endif # WITH_JIT  endif # WITH_JIT
287    
288  ## 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.
289    if WITH_PCRE8
290  lib_LTLIBRARIES += libpcreposix.la  lib_LTLIBRARIES += libpcreposix.la
291  libpcreposix_la_SOURCES = \  libpcreposix_la_SOURCES = \
292    pcreposix.c    pcreposix.c
293  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)  libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)
294  libpcreposix_la_LIBADD = libpcre.la  libpcreposix_la_LIBADD = libpcre.la
295    endif # WITH_PCRE8
296    
297  ## There's a C++ library as well.  ## There's a C++ library as well.
298  if WITH_PCRE_CPP  if WITH_PCRE_CPP
# Line 282  dist_noinst_SCRIPTS += RunTest Line 333  dist_noinst_SCRIPTS += RunTest
333  EXTRA_DIST += RunTest.bat  EXTRA_DIST += RunTest.bat
334  bin_PROGRAMS += pcretest  bin_PROGRAMS += pcretest
335  pcretest_SOURCES = pcretest.c  pcretest_SOURCES = pcretest.c
336  pcretest_LDADD = libpcreposix.la $(LIBREADLINE)  pcretest_LDADD = $(LIBREADLINE)
337    if WITH_PCRE8
338    pcretest_SOURCES += pcre_printint.c
339    pcretest_LDADD += libpcreposix.la
340    endif # WITH_PCRE8
341    if WITH_PCRE16
342    pcretest_SOURCES += pcre16_printint.c
343    pcretest_LDADD += libpcre16.la
344    endif # WITH_PCRE16
345    
346    if WITH_PCRE8
347  TESTS += RunGrepTest  TESTS += RunGrepTest
348  dist_noinst_SCRIPTS += RunGrepTest  dist_noinst_SCRIPTS += RunGrepTest
349  bin_PROGRAMS += pcregrep  bin_PROGRAMS += pcregrep
350  pcregrep_SOURCES = pcregrep.c  pcregrep_SOURCES = pcregrep.c
351  pcregrep_LDADD = libpcreposix.la $(LIBZ) $(LIBBZ2)  pcregrep_LDADD = $(LIBZ) $(LIBBZ2)
352    pcregrep_LDADD += libpcreposix.la
353    endif # WITH_PCRE8
354    
355  EXTRA_DIST += \  EXTRA_DIST += \
356    testdata/grepinput \    testdata/grepinput \
# Line 315  EXTRA_DIST += \ Line 377  EXTRA_DIST += \
377    testdata/testinput13 \    testdata/testinput13 \
378    testdata/testinput14 \    testdata/testinput14 \
379    testdata/testinput15 \    testdata/testinput15 \
380      testdata/testinput16 \
381      testdata/testinput17 \
382      testdata/testinput18 \
383      testdata/testinput19 \
384    testdata/testoutput1 \    testdata/testoutput1 \
385    testdata/testoutput2 \    testdata/testoutput2 \
386    testdata/testoutput3 \    testdata/testoutput3 \
# Line 325  EXTRA_DIST += \ Line 391  EXTRA_DIST += \
391    testdata/testoutput8 \    testdata/testoutput8 \
392    testdata/testoutput9 \    testdata/testoutput9 \
393    testdata/testoutput10 \    testdata/testoutput10 \
394    testdata/testoutput11 \    testdata/testoutput11-8 \
395      testdata/testoutput11-16 \
396    testdata/testoutput12 \    testdata/testoutput12 \
397    testdata/testoutput13 \    testdata/testoutput13 \
398    testdata/testoutput14 \    testdata/testoutput14 \
399    testdata/testoutput15 \    testdata/testoutput15 \
400      testdata/testoutput16 \
401      testdata/testoutput17 \
402      testdata/testoutput18 \
403      testdata/testoutput19 \
404    testdata/wintestinput3 \    testdata/wintestinput3 \
405    testdata/wintestoutput3 \    testdata/wintestoutput3 \
406    perltest.pl    perltest.pl
# Line 359  test: check ; Line 430  test: check ;
430  # A PCRE user submitted the following addition, saying that it "will allow  # A PCRE user submitted the following addition, saying that it "will allow
431  # 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
432  # 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.)
433  DLL_OBJS= pcre_compile.o pcre_config.o \  DLL_OBJS= pcre_byte_order.o pcre_compile.o pcre_config.o \
434          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 \
435          pcre_globals.o pcre_info.o pcre_jit_compile.o pcre_maketables.o \          pcre_globals.o pcre_jit_compile.o pcre_maketables.o \
436          pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \          pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \
437          pcre_study.o pcre_tables.o pcre_try_flipped.o \          pcre_study.o pcre_tables.o pcre_ucd.o \
438          pcre_ucd.o pcre_valid_utf8.o pcre_version.o \          pcre_valid_utf8.o pcre_version.o pcre_chartables.o \
         pcre_chartables.o \  
439          pcre_xclass.o          pcre_xclass.o
440    
441  # 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 378  pcre.dll: $(DLL_OBJS) Line 448  pcre.dll: $(DLL_OBJS)
448  # We have .pc files for pkg-config users.  # We have .pc files for pkg-config users.
449  pkgconfigdir = $(libdir)/pkgconfig  pkgconfigdir = $(libdir)/pkgconfig
450  pkgconfig_DATA = libpcre.pc libpcreposix.pc  pkgconfig_DATA = libpcre.pc libpcreposix.pc
451    if WITH_PCRE16
452    pkgconfig_DATA += libpcre16.pc
453    endif
454  if WITH_PCRE_CPP  if WITH_PCRE_CPP
455  pkgconfig_DATA += libpcrecpp.pc  pkgconfig_DATA += libpcrecpp.pc
456  endif  endif
# Line 402  dist_man_MANS = \ Line 475  dist_man_MANS = \
475    doc/pcre_get_stringtable_entries.3 \    doc/pcre_get_stringtable_entries.3 \
476    doc/pcre_get_substring.3 \    doc/pcre_get_substring.3 \
477    doc/pcre_get_substring_list.3 \    doc/pcre_get_substring_list.3 \
   doc/pcre_info.3 \  
478    doc/pcre_jit_stack_alloc.3 \    doc/pcre_jit_stack_alloc.3 \
479    doc/pcre_jit_stack_free.3 \    doc/pcre_jit_stack_free.3 \
480    doc/pcre_maketables.3 \    doc/pcre_maketables.3 \

Legend:
Removed from v.835  
changed lines
  Added in v.836

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12