/[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 589 by ph10, Sat Jan 15 11:31:39 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 \
8    doc/pcregrep.txt \    doc/pcregrep.txt \
9    doc/pcretest.txt \    doc/pcretest.txt \
10    AUTHORS \    AUTHORS \
# Line 14  dist_doc_DATA = \ Line 17  dist_doc_DATA = \
17  dist_html_DATA = \  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 \
21    doc/html/pcre_compile.html \    doc/html/pcre_compile.html \
22    doc/html/pcre_compile2.html \    doc/html/pcre_compile2.html \
23    doc/html/pcre_config.html \    doc/html/pcre_config.html \
# Line 38  dist_html_DATA = \ Line 42  dist_html_DATA = \
42    doc/html/pcrebuild.html \    doc/html/pcrebuild.html \
43    doc/html/pcrecallout.html \    doc/html/pcrecallout.html \
44    doc/html/pcrecompat.html \    doc/html/pcrecompat.html \
45      doc/html/pcredemo.html \
46    doc/html/pcregrep.html \    doc/html/pcregrep.html \
47    doc/html/pcrematching.html \    doc/html/pcrematching.html \
48    doc/html/pcrepartial.html \    doc/html/pcrepartial.html \
# Line 47  dist_html_DATA = \ Line 52  dist_html_DATA = \
52    doc/html/pcreprecompile.html \    doc/html/pcreprecompile.html \
53    doc/html/pcresample.html \    doc/html/pcresample.html \
54    doc/html/pcrestack.html \    doc/html/pcrestack.html \
55      doc/html/pcresyntax.html \
56    doc/html/pcretest.html    doc/html/pcretest.html
57    
58  pcrecpp_html = doc/html/pcrecpp.html  pcrecpp_html = doc/html/pcrecpp.html
# Line 63  lib_LTLIBRARIES = Line 69  lib_LTLIBRARIES =
69  # TESTS is for binary unit tests, check_SCRIPTS for script-based tests  # TESTS is for binary unit tests, check_SCRIPTS for script-based tests
70  TESTS =  TESTS =
71  check_SCRIPTS =  check_SCRIPTS =
72  noinst_SCRIPTS =  dist_noinst_SCRIPTS =
73    
74  # 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
75  # (non-user-visible) helper programs needed to build libpcre.  # (non-user-visible) helper programs needed to build libpcre.
# Line 106  EXTRA_DIST += \ Line 112  EXTRA_DIST += \
112    pcre.h.generic \    pcre.h.generic \
113    config.h.generic    config.h.generic
114    
115    pcre.h.generic: configure.ac
116            rm -f $@
117            cp -p pcre.h $@
118    
119    MAINTAINERCLEANFILES += pcre.h.generic
120    
121  # 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
122  # it is generated from pcre.h.in.  # it is generated from pcre.h.in.
123  nodist_include_HEADERS = \  nodist_include_HEADERS = \
# Line 169  libpcre_la_SOURCES = \ Line 181  libpcre_la_SOURCES = \
181    pcre_study.c \    pcre_study.c \
182    pcre_tables.c \    pcre_tables.c \
183    pcre_try_flipped.c \    pcre_try_flipped.c \
184    pcre_ucp_searchfuncs.c \    pcre_ucd.c \
185    pcre_valid_utf8.c \    pcre_valid_utf8.c \
186    pcre_version.c \    pcre_version.c \
187    pcre_xclass.c \    pcre_xclass.c \
188    ucp.h \    ucp.h
   ucpinternal.h \  
   ucptable.h  
189    
190  ## 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.
191  nodist_libpcre_la_SOURCES = \  nodist_libpcre_la_SOURCES = \
# Line 202  if WITH_PCRE_CPP Line 212  if WITH_PCRE_CPP
212    
213  lib_LTLIBRARIES += libpcrecpp.la  lib_LTLIBRARIES += libpcrecpp.la
214  libpcrecpp_la_SOURCES = \  libpcrecpp_la_SOURCES = \
215      pcrecpp_internal.h \
216    pcrecpp.cc \    pcrecpp.cc \
217    pcre_scanner.cc \    pcre_scanner.cc \
218    pcre_stringpiece.cc    pcre_stringpiece.cc
# Line 231  endif # WITH_PCRE_CPP Line 242  endif # WITH_PCRE_CPP
242  # ways. We install these test binaries in case folks find it helpful.  # ways. We install these test binaries in case folks find it helpful.
243    
244  TESTS += RunTest  TESTS += RunTest
245  noinst_SCRIPTS += RunTest  dist_noinst_SCRIPTS += RunTest
246  EXTRA_DIST += RunTest.bat  EXTRA_DIST += RunTest.bat
247  bin_PROGRAMS += pcretest  bin_PROGRAMS += pcretest
248  pcretest_SOURCES = pcretest.c  pcretest_SOURCES = pcretest.c
249  pcretest_LDADD = libpcreposix.la  pcretest_LDADD = libpcreposix.la $(LIBREADLINE)
250    
251  TESTS += RunGrepTest  TESTS += RunGrepTest
252  noinst_SCRIPTS += RunGrepTest  dist_noinst_SCRIPTS += RunGrepTest
253  bin_PROGRAMS += pcregrep  bin_PROGRAMS += pcregrep
254  pcregrep_SOURCES = pcregrep.c  pcregrep_SOURCES = pcregrep.c
255  pcregrep_LDADD = libpcreposix.la  pcregrep_LDADD = libpcreposix.la $(LIBZ) $(LIBBZ2)
256    
257  EXTRA_DIST += \  EXTRA_DIST += \
258    testdata/grepinput \    testdata/grepinput \
259      testdata/grepinput3 \
260    testdata/grepinput8 \    testdata/grepinput8 \
261      testdata/grepinputv \
262    testdata/grepinputx \    testdata/grepinputx \
263    testdata/greplist \    testdata/greplist \
264    testdata/grepoutput \    testdata/grepoutput \
# Line 260  EXTRA_DIST += \ Line 273  EXTRA_DIST += \
273    testdata/testinput7 \    testdata/testinput7 \
274    testdata/testinput8 \    testdata/testinput8 \
275    testdata/testinput9 \    testdata/testinput9 \
276      testdata/testinput10 \
277      testdata/testinput11 \
278      testdata/testinput12 \
279    testdata/testoutput1 \    testdata/testoutput1 \
280    testdata/testoutput2 \    testdata/testoutput2 \
281    testdata/testoutput3 \    testdata/testoutput3 \
# Line 269  EXTRA_DIST += \ Line 285  EXTRA_DIST += \
285    testdata/testoutput7 \    testdata/testoutput7 \
286    testdata/testoutput8 \    testdata/testoutput8 \
287    testdata/testoutput9 \    testdata/testoutput9 \
288      testdata/testoutput10 \
289      testdata/testoutput11 \
290      testdata/testoutput12 \
291      testdata/wintestinput3 \
292      testdata/wintestoutput3 \
293    perltest.pl    perltest.pl
294    
295  CLEANFILES += \  CLEANFILES += \
296          testsavedregex \          testsavedregex \
297          teststderr \          teststderr \
298          testtry          testtry \
299            testNinput
300    
301    
302    # PCRE demonstration program. No longer built automatcally. The point is that
303    # the users should build it themselves. So just distribute the source.
304    # noinst_PROGRAMS += pcredemo
305    # pcredemo_SOURCES = pcredemo.c
306    # pcredemo_LDADD = libpcre.la
307    
308    EXTRA_DIST += pcredemo.c
309    
 # PCRE demonstration program  
 noinst_PROGRAMS += pcredemo  
 pcredemo_SOURCES = pcredemo.c  
 pcredemo_LDADD = libpcre.la  
310    
311  ## Utility rules, documentation, etc.  ## Utility rules, documentation, etc.
312    
313  # A compatibility line, the old build system worked with 'make test'  # A compatibility line, the old build system worked with 'make test'
314  test: check ;  test: check ;
315    
316    
317    # A PCRE user submitted the following addition, saying that it "will allow
318    # anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a
319    # nice DLL for Windows use". (It is used by the pcre.dll target.)
320    DLL_OBJS= pcre_compile.o pcre_config.o \
321            pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o \
322            pcre_globals.o pcre_info.o pcre_maketables.o \
323            pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \
324            pcre_study.o pcre_tables.o pcre_try_flipped.o \
325            pcre_ucd.o pcre_valid_utf8.o pcre_version.o \
326            pcre_chartables.o \
327            pcre_xclass.o
328    
329    # A PCRE user submitted the following addition, saying that it "will allow
330    # anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a
331    # nice DLL for Windows use".
332    pcre.dll: $(DLL_OBJS)
333            $(CC) -shared -o pcre.dll -Wl,"--strip-all" -Wl,"--export-all-symbols" $(DLL_OBJS)
334    
335    
336  # We have .pc files for pkg-config users.  # We have .pc files for pkg-config users.
337  pkgconfigdir = $(libdir)/pkgconfig  pkgconfigdir = $(libdir)/pkgconfig
338  pkgconfig_DATA = libpcre.pc  pkgconfig_DATA = libpcre.pc libpcreposix.pc
339  if WITH_PCRE_CPP  if WITH_PCRE_CPP
340  pkgconfig_DATA += libpcrecpp.pc  pkgconfig_DATA += libpcrecpp.pc
341  endif  endif
342    
343  dist_man_MANS = \  dist_man_MANS = \
344    doc/pcre.3 \    doc/pcre.3 \
345      doc/pcre-config.1 \
346    doc/pcre_compile.3 \    doc/pcre_compile.3 \
347    doc/pcre_compile2.3 \    doc/pcre_compile2.3 \
348    doc/pcre_config.3 \    doc/pcre_config.3 \
# Line 328  dist_man_MANS = \ Line 376  dist_man_MANS = \
376    doc/pcreprecompile.3 \    doc/pcreprecompile.3 \
377    doc/pcresample.3 \    doc/pcresample.3 \
378    doc/pcrestack.3 \    doc/pcrestack.3 \
379      doc/pcresyntax.3 \
380    doc/pcretest.1    doc/pcretest.1
381    
382  pcrecpp_man = doc/pcrecpp.3  pcrecpp_man = doc/pcrecpp.3
# Line 340  endif Line 389  endif
389  ## CMake support  ## CMake support
390    
391  EXTRA_DIST += \  EXTRA_DIST += \
392      cmake/COPYING-CMAKE-SCRIPTS \
393      cmake/FindPackageHandleStandardArgs.cmake \
394      cmake/FindReadline.cmake \
395    CMakeLists.txt \    CMakeLists.txt \
396    config-cmake.h.in    config-cmake.h.in
397    

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

  ViewVC Help
Powered by ViewVC 1.1.5