/[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 137 by ph10, Thu Mar 29 13:56:00 2007 UTC revision 448 by ph10, Tue Sep 15 19:11:48 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 47  dist_html_DATA = \ Line 49  dist_html_DATA = \
49    doc/html/pcreprecompile.html \    doc/html/pcreprecompile.html \
50    doc/html/pcresample.html \    doc/html/pcresample.html \
51    doc/html/pcrestack.html \    doc/html/pcrestack.html \
52      doc/html/pcresyntax.html \
53    doc/html/pcretest.html    doc/html/pcretest.html
54    
55  pcrecpp_html = doc/html/pcrecpp.html  pcrecpp_html = doc/html/pcrecpp.html
# Line 63  lib_LTLIBRARIES = Line 66  lib_LTLIBRARIES =
66  # TESTS is for binary unit tests, check_SCRIPTS for script-based tests  # TESTS is for binary unit tests, check_SCRIPTS for script-based tests
67  TESTS =  TESTS =
68  check_SCRIPTS =  check_SCRIPTS =
69  noinst_SCRIPTS =  dist_noinst_SCRIPTS =
70    
71  # 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
72  # (non-user-visible) helper programs needed to build libpcre.  # (non-user-visible) helper programs needed to build libpcre.
# Line 106  EXTRA_DIST += \ Line 109  EXTRA_DIST += \
109    pcre.h.generic \    pcre.h.generic \
110    config.h.generic    config.h.generic
111    
112    pcre.h.generic: configure.ac
113            rm -f $@
114            cp -p pcre.h $@
115    
116    MAINTAINERCLEANFILES += pcre.h.generic
117    
118  # 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
119  # it is generated from pcre.h.in.  # it is generated from pcre.h.in.
120  nodist_include_HEADERS = \  nodist_include_HEADERS = \
# Line 169  libpcre_la_SOURCES = \ Line 178  libpcre_la_SOURCES = \
178    pcre_study.c \    pcre_study.c \
179    pcre_tables.c \    pcre_tables.c \
180    pcre_try_flipped.c \    pcre_try_flipped.c \
181    pcre_ucp_searchfuncs.c \    pcre_ucd.c \
182    pcre_valid_utf8.c \    pcre_valid_utf8.c \
183    pcre_version.c \    pcre_version.c \
184    pcre_xclass.c \    pcre_xclass.c \
185    ucp.h \    ucp.h
   ucpinternal.h \  
   ucptable.h  
186    
187  ## 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.
188  nodist_libpcre_la_SOURCES = \  nodist_libpcre_la_SOURCES = \
# Line 202  if WITH_PCRE_CPP Line 209  if WITH_PCRE_CPP
209    
210  lib_LTLIBRARIES += libpcrecpp.la  lib_LTLIBRARIES += libpcrecpp.la
211  libpcrecpp_la_SOURCES = \  libpcrecpp_la_SOURCES = \
212      pcrecpp_internal.h \
213    pcrecpp.cc \    pcrecpp.cc \
214    pcre_scanner.cc \    pcre_scanner.cc \
215    pcre_stringpiece.cc    pcre_stringpiece.cc
# Line 231  endif # WITH_PCRE_CPP Line 239  endif # WITH_PCRE_CPP
239  # ways. We install these test binaries in case folks find it helpful.  # ways. We install these test binaries in case folks find it helpful.
240    
241  TESTS += RunTest  TESTS += RunTest
242  noinst_SCRIPTS += RunTest  dist_noinst_SCRIPTS += RunTest
243  EXTRA_DIST += RunTest.bat  EXTRA_DIST += RunTest.bat
244  bin_PROGRAMS += pcretest  bin_PROGRAMS += pcretest
245  pcretest_SOURCES = pcretest.c  pcretest_SOURCES = pcretest.c
246  pcretest_LDADD = libpcreposix.la  pcretest_LDADD = libpcreposix.la $(LIBREADLINE)
247    
248  TESTS += RunGrepTest  TESTS += RunGrepTest
249  noinst_SCRIPTS += RunGrepTest  dist_noinst_SCRIPTS += RunGrepTest
250  bin_PROGRAMS += pcregrep  bin_PROGRAMS += pcregrep
251  pcregrep_SOURCES = pcregrep.c  pcregrep_SOURCES = pcregrep.c
252  pcregrep_LDADD = libpcreposix.la  pcregrep_LDADD = libpcreposix.la $(LIBZ) $(LIBBZ2)
253    
254  EXTRA_DIST += \  EXTRA_DIST += \
255    testdata/grepinput \    testdata/grepinput \
256    testdata/grepinput8 \    testdata/grepinput8 \
257      testdata/grepinputv \
258    testdata/grepinputx \    testdata/grepinputx \
259    testdata/greplist \    testdata/greplist \
260    testdata/grepoutput \    testdata/grepoutput \
# Line 260  EXTRA_DIST += \ Line 269  EXTRA_DIST += \
269    testdata/testinput7 \    testdata/testinput7 \
270    testdata/testinput8 \    testdata/testinput8 \
271    testdata/testinput9 \    testdata/testinput9 \
272      testdata/testinput10 \
273      testdata/testinput11 \
274      testdata/testinput12 \
275    testdata/testoutput1 \    testdata/testoutput1 \
276    testdata/testoutput2 \    testdata/testoutput2 \
277    testdata/testoutput3 \    testdata/testoutput3 \
# Line 269  EXTRA_DIST += \ Line 281  EXTRA_DIST += \
281    testdata/testoutput7 \    testdata/testoutput7 \
282    testdata/testoutput8 \    testdata/testoutput8 \
283    testdata/testoutput9 \    testdata/testoutput9 \
284      testdata/testoutput10 \
285      testdata/testoutput11 \
286      testdata/testoutput12 \
287      testdata/wintestinput3 \
288      testdata/wintestoutput3 \
289    perltest.pl    perltest.pl
290    
291  CLEANFILES += \  CLEANFILES += \
292          testsavedregex \          testsavedregex \
293          teststderr \          teststderr \
294          testtry          testtry \
295            testNinput
296    
297    
298    # PCRE demonstration program. No longer built automatcally. The point is that
299    # the users should build it themselves. So just distribute the source.
300    # noinst_PROGRAMS += pcredemo
301    # pcredemo_SOURCES = pcredemo.c
302    # pcredemo_LDADD = libpcre.la
303    
304    EXTRA_DIST += pcredemo.c
305    
 # PCRE demonstration program  
 noinst_PROGRAMS += pcredemo  
 pcredemo_SOURCES = pcredemo.c  
 pcredemo_LDADD = libpcre.la  
306    
307  ## Utility rules, documentation, etc.  ## Utility rules, documentation, etc.
308    
309  # A compatibility line, the old build system worked with 'make test'  # A compatibility line, the old build system worked with 'make test'
310  test: check ;  test: check ;
311    
312    
313    # A PCRE user submitted the following addition, saying that it "will allow
314    # anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a
315    # nice DLL for Windows use". (It is used by the pcre.dll target.)
316    DLL_OBJS= pcre_compile.o pcre_config.o \
317            pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o \
318            pcre_globals.o pcre_info.o pcre_maketables.o \
319            pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \
320            pcre_study.o pcre_tables.o pcre_try_flipped.o \
321            pcre_ucd.o pcre_valid_utf8.o pcre_version.o \
322            pcre_chartables.o \
323            pcre_xclass.o
324    
325    # A PCRE user submitted the following addition, saying that it "will allow
326    # anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a
327    # nice DLL for Windows use".
328    pcre.dll: $(DLL_OBJS)
329            $(CC) -shared -o pcre.dll -Wl,"--strip-all" -Wl,"--export-all-symbols" $(DLL_OBJS)
330    
331    
332  # We have .pc files for pkg-config users.  # We have .pc files for pkg-config users.
333  pkgconfigdir = $(libdir)/pkgconfig  pkgconfigdir = $(libdir)/pkgconfig
334  pkgconfig_DATA = libpcre.pc  pkgconfig_DATA = libpcre.pc libpcreposix.pc
335  if WITH_PCRE_CPP  if WITH_PCRE_CPP
336  pkgconfig_DATA += libpcrecpp.pc  pkgconfig_DATA += libpcrecpp.pc
337  endif  endif
338    
339  dist_man_MANS = \  dist_man_MANS = \
340    doc/pcre.3 \    doc/pcre.3 \
341      doc/pcre-config.1 \
342    doc/pcre_compile.3 \    doc/pcre_compile.3 \
343    doc/pcre_compile2.3 \    doc/pcre_compile2.3 \
344    doc/pcre_config.3 \    doc/pcre_config.3 \
# Line 328  dist_man_MANS = \ Line 372  dist_man_MANS = \
372    doc/pcreprecompile.3 \    doc/pcreprecompile.3 \
373    doc/pcresample.3 \    doc/pcresample.3 \
374    doc/pcrestack.3 \    doc/pcrestack.3 \
375      doc/pcresyntax.3 \
376    doc/pcretest.1    doc/pcretest.1
377    
378  pcrecpp_man = doc/pcrecpp.3  pcrecpp_man = doc/pcrecpp.3
# Line 340  endif Line 385  endif
385  ## CMake support  ## CMake support
386    
387  EXTRA_DIST += \  EXTRA_DIST += \
388      cmake/COPYING-CMAKE-SCRIPTS \
389      cmake/FindPackageHandleStandardArgs.cmake \
390      cmake/FindReadline.cmake \
391    CMakeLists.txt \    CMakeLists.txt \
392    config-cmake.h.in    config-cmake.h.in
393    

Legend:
Removed from v.137  
changed lines
  Added in v.448

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12