/[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 135 by ph10, Thu Mar 29 09:09:33 2007 UTC revision 652 by ph10, Mon Aug 1 16:42:03 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 144  pcre_chartables.c: dftables$(EXEEXT) Line 156  pcre_chartables.c: dftables$(EXEEXT)
156  else  else
157    
158  pcre_chartables.c: $(srcdir)/pcre_chartables.c.dist  pcre_chartables.c: $(srcdir)/pcre_chartables.c.dist
159          cp -f $(srcdir)/pcre_chartables.c.dist pcre_chartables.c          rm -f $@
160            $(LN_S) $(srcdir)/pcre_chartables.c.dist $@
161    
162  endif # WITH_REBUILD_CHARTABLES  endif # WITH_REBUILD_CHARTABLES
163    
# Line 168  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 201  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 230  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 259  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/testinput13 \
280    testdata/testoutput1 \    testdata/testoutput1 \
281    testdata/testoutput2 \    testdata/testoutput2 \
282    testdata/testoutput3 \    testdata/testoutput3 \
# Line 268  EXTRA_DIST += \ Line 286  EXTRA_DIST += \
286    testdata/testoutput7 \    testdata/testoutput7 \
287    testdata/testoutput8 \    testdata/testoutput8 \
288    testdata/testoutput9 \    testdata/testoutput9 \
289      testdata/testoutput10 \
290      testdata/testoutput11 \
291      testdata/testoutput12 \
292      testdata/testoutput13 \
293      testdata/wintestinput3 \
294      testdata/wintestoutput3 \
295    perltest.pl    perltest.pl
296    
297  CLEANFILES += \  CLEANFILES += \
298          testsavedregex \          testsavedregex \
299          teststderr \          teststderr \
300          testtry          testtry \
301            testNinput
302    
303    
304    # PCRE demonstration program. No longer built automatcally. The point is that
305    # the users should build it themselves. So just distribute the source.
306    # noinst_PROGRAMS += pcredemo
307    # pcredemo_SOURCES = pcredemo.c
308    # pcredemo_LDADD = libpcre.la
309    
310    EXTRA_DIST += pcredemo.c
311    
 # PCRE demonstration program  
 noinst_PROGRAMS += pcredemo  
 pcredemo_SOURCES = pcredemo.c  
 pcredemo_LDADD = libpcre.la  
312    
313  ## Utility rules, documentation, etc.  ## Utility rules, documentation, etc.
314    
315  # A compatibility line, the old build system worked with 'make test'  # A compatibility line, the old build system worked with 'make test'
316  test: check ;  test: check ;
317    
318    
319    # A PCRE user submitted the following addition, saying that it "will allow
320    # anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a
321    # nice DLL for Windows use". (It is used by the pcre.dll target.)
322    DLL_OBJS= pcre_compile.o pcre_config.o \
323            pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o \
324            pcre_globals.o pcre_info.o pcre_maketables.o \
325            pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \
326            pcre_study.o pcre_tables.o pcre_try_flipped.o \
327            pcre_ucd.o pcre_valid_utf8.o pcre_version.o \
328            pcre_chartables.o \
329            pcre_xclass.o
330    
331    # A PCRE user submitted the following addition, saying that it "will allow
332    # anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a
333    # nice DLL for Windows use".
334    pcre.dll: $(DLL_OBJS)
335            $(CC) -shared -o pcre.dll -Wl,"--strip-all" -Wl,"--export-all-symbols" $(DLL_OBJS)
336    
337    
338  # We have .pc files for pkg-config users.  # We have .pc files for pkg-config users.
339  pkgconfigdir = $(libdir)/pkgconfig  pkgconfigdir = $(libdir)/pkgconfig
340  pkgconfig_DATA = libpcre.pc  pkgconfig_DATA = libpcre.pc libpcreposix.pc
341  if WITH_PCRE_CPP  if WITH_PCRE_CPP
342  pkgconfig_DATA += libpcrecpp.pc  pkgconfig_DATA += libpcrecpp.pc
343  endif  endif
344    
345  dist_man_MANS = \  dist_man_MANS = \
346    doc/pcre.3 \    doc/pcre.3 \
347      doc/pcre-config.1 \
348    doc/pcre_compile.3 \    doc/pcre_compile.3 \
349    doc/pcre_compile2.3 \    doc/pcre_compile2.3 \
350    doc/pcre_config.3 \    doc/pcre_config.3 \
# Line 327  dist_man_MANS = \ Line 378  dist_man_MANS = \
378    doc/pcreprecompile.3 \    doc/pcreprecompile.3 \
379    doc/pcresample.3 \    doc/pcresample.3 \
380    doc/pcrestack.3 \    doc/pcrestack.3 \
381      doc/pcresyntax.3 \
382    doc/pcretest.1    doc/pcretest.1
383    
384  pcrecpp_man = doc/pcrecpp.3  pcrecpp_man = doc/pcrecpp.3
# Line 339  endif Line 391  endif
391  ## CMake support  ## CMake support
392    
393  EXTRA_DIST += \  EXTRA_DIST += \
394      cmake/COPYING-CMAKE-SCRIPTS \
395      cmake/FindPackageHandleStandardArgs.cmake \
396      cmake/FindReadline.cmake \
397    CMakeLists.txt \    CMakeLists.txt \
398    config-cmake.h.in    config-cmake.h.in
399    
 config-cmake.h.in: config.h.in  
         sed 's/#undef/#cmakedefine/g' config.h.in >$@  
   
 MAINTAINERCLEANFILES += config-cmake.h.in  
   
400  ## end Makefile.am  ## end Makefile.am

Legend:
Removed from v.135  
changed lines
  Added in v.652

  ViewVC Help
Powered by ViewVC 1.1.5