/[pcre]/code/tags/pcre-8.13/Makefile.am
ViewVC logotype

Diff of /code/tags/pcre-8.13/Makefile.am

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

revision 128 by ph10, Tue Mar 20 11:46:50 2007 UTC revision 466 by ph10, Mon Oct 19 11:42:08 2009 UTC
# Line 2  Line 2 
2    
3  dist_doc_DATA = \  dist_doc_DATA = \
4    doc/pcre.txt \    doc/pcre.txt \
5      doc/pcre-config.txt \
6    doc/pcregrep.txt \    doc/pcregrep.txt \
7    doc/pcretest.txt \    doc/pcretest.txt \
8    AUTHORS \    AUTHORS \
# Line 14  dist_doc_DATA = \ Line 15  dist_doc_DATA = \
15  dist_html_DATA = \  dist_html_DATA = \
16    doc/html/index.html \    doc/html/index.html \
17    doc/html/pcre.html \    doc/html/pcre.html \
18      doc/html/pcre-config.html \
19    doc/html/pcre_compile.html \    doc/html/pcre_compile.html \
20    doc/html/pcre_compile2.html \    doc/html/pcre_compile2.html \
21    doc/html/pcre_config.html \    doc/html/pcre_config.html \
# Line 38  dist_html_DATA = \ Line 40  dist_html_DATA = \
40    doc/html/pcrebuild.html \    doc/html/pcrebuild.html \
41    doc/html/pcrecallout.html \    doc/html/pcrecallout.html \
42    doc/html/pcrecompat.html \    doc/html/pcrecompat.html \
43      doc/html/pcredemo.html \
44    doc/html/pcregrep.html \    doc/html/pcregrep.html \
45    doc/html/pcrematching.html \    doc/html/pcrematching.html \
46    doc/html/pcrepartial.html \    doc/html/pcrepartial.html \
# Line 47  dist_html_DATA = \ Line 50  dist_html_DATA = \
50    doc/html/pcreprecompile.html \    doc/html/pcreprecompile.html \
51    doc/html/pcresample.html \    doc/html/pcresample.html \
52    doc/html/pcrestack.html \    doc/html/pcrestack.html \
53      doc/html/pcresyntax.html \
54    doc/html/pcretest.html    doc/html/pcretest.html
55    
56  pcrecpp_html = doc/html/pcrecpp.html  pcrecpp_html = doc/html/pcrecpp.html
# Line 63  lib_LTLIBRARIES = Line 67  lib_LTLIBRARIES =
67  # TESTS is for binary unit tests, check_SCRIPTS for script-based tests  # TESTS is for binary unit tests, check_SCRIPTS for script-based tests
68  TESTS =  TESTS =
69  check_SCRIPTS =  check_SCRIPTS =
70  noinst_SCRIPTS =  dist_noinst_SCRIPTS =
71    
72  # 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
73  # (non-user-visible) helper programs needed to build libpcre.  # (non-user-visible) helper programs needed to build libpcre.
# Line 95  EXTRA_DIST += \ Line 99  EXTRA_DIST += \
99  # These files are to do with building for Virtual Pascal  # These files are to do with building for Virtual Pascal
100  EXTRA_DIST += \  EXTRA_DIST += \
101    makevp.bat \    makevp.bat \
102    makevp-compile.txt \    makevp_c.txt \
103    makevp-linklib.txt \    makevp_l.txt \
104    pcregexp.pas    pcregexp.pas
105    
106  # These files are usable versions of pcre.h and config.h that are distributed  # These files are usable versions of pcre.h and config.h that are distributed
# Line 106  EXTRA_DIST += \ Line 110  EXTRA_DIST += \
110    pcre.h.generic \    pcre.h.generic \
111    config.h.generic    config.h.generic
112    
113    pcre.h.generic: configure.ac
114            rm -f $@
115            cp -p pcre.h $@
116    
117    MAINTAINERCLEANFILES += pcre.h.generic
118    
119  # These are the header files we'll install. We do not distribute pcre.h because  # These are the header files we'll install. We do not distribute pcre.h because
120  # it is generated from pcre.h.in.  # it is generated from pcre.h.in.
121  nodist_include_HEADERS = \  nodist_include_HEADERS = \
# Line 143  pcre_chartables.c: dftables$(EXEEXT) Line 153  pcre_chartables.c: dftables$(EXEEXT)
153          ./dftables$(EXEEXT) $@          ./dftables$(EXEEXT) $@
154  else  else
155    
156  pcre_chartables.c: pcre_chartables.c.dist  pcre_chartables.c: $(srcdir)/pcre_chartables.c.dist
157          cp pcre_chartables.c.dist pcre_chartables.c          rm -f $@
158            $(LN_S) $(srcdir)/pcre_chartables.c.dist $@
159    
160  endif # WITH_REBUILD_CHARTABLES  endif # WITH_REBUILD_CHARTABLES
161    
# Line 168  libpcre_la_SOURCES = \ Line 179  libpcre_la_SOURCES = \
179    pcre_study.c \    pcre_study.c \
180    pcre_tables.c \    pcre_tables.c \
181    pcre_try_flipped.c \    pcre_try_flipped.c \
182    pcre_ucp_searchfuncs.c \    pcre_ucd.c \
183    pcre_valid_utf8.c \    pcre_valid_utf8.c \
184    pcre_version.c \    pcre_version.c \
185    pcre_xclass.c \    pcre_xclass.c \
186    ucp.h \    ucp.h
   ucpinternal.h \  
   ucptable.h  
187    
188  ## 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.
189  nodist_libpcre_la_SOURCES = \  nodist_libpcre_la_SOURCES = \
# Line 201  if WITH_PCRE_CPP Line 210  if WITH_PCRE_CPP
210    
211  lib_LTLIBRARIES += libpcrecpp.la  lib_LTLIBRARIES += libpcrecpp.la
212  libpcrecpp_la_SOURCES = \  libpcrecpp_la_SOURCES = \
213      pcrecpp_internal.h \
214    pcrecpp.cc \    pcrecpp.cc \
215    pcre_scanner.cc \    pcre_scanner.cc \
216    pcre_stringpiece.cc    pcre_stringpiece.cc
# Line 230  endif # WITH_PCRE_CPP Line 240  endif # WITH_PCRE_CPP
240  # ways. We install these test binaries in case folks find it helpful.  # ways. We install these test binaries in case folks find it helpful.
241    
242  TESTS += RunTest  TESTS += RunTest
243  noinst_SCRIPTS += RunTest  dist_noinst_SCRIPTS += RunTest
244  EXTRA_DIST += RunTest.bat  EXTRA_DIST += RunTest.bat
245  bin_PROGRAMS += pcretest  bin_PROGRAMS += pcretest
246  pcretest_SOURCES = pcretest.c  pcretest_SOURCES = pcretest.c
247  pcretest_LDADD = libpcreposix.la  pcretest_LDADD = libpcreposix.la $(LIBREADLINE)
248    
249  TESTS += RunGrepTest  TESTS += RunGrepTest
250  noinst_SCRIPTS += RunGrepTest  dist_noinst_SCRIPTS += RunGrepTest
251  bin_PROGRAMS += pcregrep  bin_PROGRAMS += pcregrep
252  pcregrep_SOURCES = pcregrep.c  pcregrep_SOURCES = pcregrep.c
253  pcregrep_LDADD = libpcreposix.la  pcregrep_LDADD = libpcreposix.la $(LIBZ) $(LIBBZ2)
254    
255  EXTRA_DIST += \  EXTRA_DIST += \
256    testdata/grepinput \    testdata/grepinput \
257    testdata/grepinput8 \    testdata/grepinput8 \
258      testdata/grepinputv \
259    testdata/grepinputx \    testdata/grepinputx \
260    testdata/greplist \    testdata/greplist \
261    testdata/grepoutput \    testdata/grepoutput \
262    testdata/grepoutput8 \    testdata/grepoutput8 \
263      testdata/grepoutputN \
264    testdata/testinput1 \    testdata/testinput1 \
265    testdata/testinput2 \    testdata/testinput2 \
266    testdata/testinput3 \    testdata/testinput3 \
# Line 258  EXTRA_DIST += \ Line 270  EXTRA_DIST += \
270    testdata/testinput7 \    testdata/testinput7 \
271    testdata/testinput8 \    testdata/testinput8 \
272    testdata/testinput9 \    testdata/testinput9 \
273      testdata/testinput10 \
274      testdata/testinput11 \
275      testdata/testinput12 \
276    testdata/testoutput1 \    testdata/testoutput1 \
277    testdata/testoutput2 \    testdata/testoutput2 \
278    testdata/testoutput3 \    testdata/testoutput3 \
# Line 267  EXTRA_DIST += \ Line 282  EXTRA_DIST += \
282    testdata/testoutput7 \    testdata/testoutput7 \
283    testdata/testoutput8 \    testdata/testoutput8 \
284    testdata/testoutput9 \    testdata/testoutput9 \
285      testdata/testoutput10 \
286      testdata/testoutput11 \
287      testdata/testoutput12 \
288      testdata/wintestinput3 \
289      testdata/wintestoutput3 \
290    perltest.pl    perltest.pl
291    
292  CLEANFILES += \  CLEANFILES += \
293          testsavedregex \          testsavedregex \
294          teststderr \          teststderr \
295          testtry          testtry \
296            testNinput
297    
298    
299    # PCRE demonstration program. No longer built automatcally. The point is that
300    # the users should build it themselves. So just distribute the source.
301    # noinst_PROGRAMS += pcredemo
302    # pcredemo_SOURCES = pcredemo.c
303    # pcredemo_LDADD = libpcre.la
304    
305    EXTRA_DIST += pcredemo.c
306    
 # PCRE demonstration program  
 noinst_PROGRAMS += pcredemo  
 pcredemo_SOURCES = pcredemo.c  
 pcredemo_LDADD = libpcre.la  
307    
308  ## Utility rules, documentation, etc.  ## Utility rules, documentation, etc.
309    
310  # A compatibility line, the old build system worked with 'make test'  # A compatibility line, the old build system worked with 'make test'
311  test: check ;  test: check ;
312    
313    
314    # A PCRE user submitted the following addition, saying that it "will allow
315    # anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a
316    # nice DLL for Windows use". (It is used by the pcre.dll target.)
317    DLL_OBJS= pcre_compile.o pcre_config.o \
318            pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o \
319            pcre_globals.o pcre_info.o pcre_maketables.o \
320            pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \
321            pcre_study.o pcre_tables.o pcre_try_flipped.o \
322            pcre_ucd.o pcre_valid_utf8.o pcre_version.o \
323            pcre_chartables.o \
324            pcre_xclass.o
325    
326    # A PCRE user submitted the following addition, saying that it "will allow
327    # anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a
328    # nice DLL for Windows use".
329    pcre.dll: $(DLL_OBJS)
330            $(CC) -shared -o pcre.dll -Wl,"--strip-all" -Wl,"--export-all-symbols" $(DLL_OBJS)
331    
332    
333  # We have .pc files for pkg-config users.  # We have .pc files for pkg-config users.
334  pkgconfigdir = $(libdir)/pkgconfig  pkgconfigdir = $(libdir)/pkgconfig
335  pkgconfig_DATA = libpcre.pc  pkgconfig_DATA = libpcre.pc libpcreposix.pc
336  if WITH_PCRE_CPP  if WITH_PCRE_CPP
337  pkgconfig_DATA += libpcrecpp.pc  pkgconfig_DATA += libpcrecpp.pc
338  endif  endif
339    
340  dist_man_MANS = \  dist_man_MANS = \
341    doc/pcre.3 \    doc/pcre.3 \
342      doc/pcre-config.1 \
343    doc/pcre_compile.3 \    doc/pcre_compile.3 \
344    doc/pcre_compile2.3 \    doc/pcre_compile2.3 \
345    doc/pcre_config.3 \    doc/pcre_config.3 \
# Line 326  dist_man_MANS = \ Line 373  dist_man_MANS = \
373    doc/pcreprecompile.3 \    doc/pcreprecompile.3 \
374    doc/pcresample.3 \    doc/pcresample.3 \
375    doc/pcrestack.3 \    doc/pcrestack.3 \
376      doc/pcresyntax.3 \
377    doc/pcretest.1    doc/pcretest.1
378    
379  pcrecpp_man = doc/pcrecpp.3  pcrecpp_man = doc/pcrecpp.3
# Line 338  endif Line 386  endif
386  ## CMake support  ## CMake support
387    
388  EXTRA_DIST += \  EXTRA_DIST += \
389      cmake/COPYING-CMAKE-SCRIPTS \
390      cmake/FindPackageHandleStandardArgs.cmake \
391      cmake/FindReadline.cmake \
392    CMakeLists.txt \    CMakeLists.txt \
393    config-cmake.h.in    config-cmake.h.in
394    
 config-cmake.h.in: config.h.in  
         sed 's/#undef/#cmakedefine/g' config.h.in >$@  
   
 MAINTAINERCLEANFILES += config-cmake.h.in  
   
395  ## end Makefile.am  ## end Makefile.am

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

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12