/[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 111 by ph10, Thu Mar 8 16:53:09 2007 UTC revision 232 by ph10, Tue Sep 11 11:18:50 2007 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 74  noinst_PROGRAMS = Line 77  noinst_PROGRAMS =
77  CLEANFILES =  CLEANFILES =
78  MAINTAINERCLEANFILES =  MAINTAINERCLEANFILES =
79    
80  # Additional files to bundle with the distribution.  # Additional files to bundle with the distribution, over and above what
81    # the Autotools include by default.
82  EXTRA_DIST =  EXTRA_DIST =
83    
84  # These files contain maintenance information  # These files contain maintenance information
85  EXTRA_DIST += \  EXTRA_DIST += \
86    doc/perltest.txt \    doc/perltest.txt \
87    NON-UNIX-USE \    NON-UNIX-USE \
88    INSTALL    HACKING
89    
90  # These files are used in the preparation of a release  # These files are used in the preparation of a release
91  EXTRA_DIST += \  EXTRA_DIST += \
# Line 89  EXTRA_DIST += \ Line 93  EXTRA_DIST += \
93    CleanTxt \    CleanTxt \
94    Detrail \    Detrail \
95    132html \    132html \
96    Index.html    doc/index.html.src
97    
98  # These files are to do with building for Virtual Pascal  # These files are to do with building for Virtual Pascal
99  EXTRA_DIST += \  EXTRA_DIST += \
100    makevp.bat \    makevp.bat \
101    !compile.txt \    makevp_c.txt \
102    !linklib.txt \    makevp_l.txt \
103    pcregexp.pas    pcregexp.pas
104    
105  # 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 105  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 127  endif # WITH_PCRE_CPP Line 137  endif # WITH_PCRE_CPP
137  bin_SCRIPTS = pcre-config  bin_SCRIPTS = pcre-config
138    
139  ## ---------------------------------------------------------------  ## ---------------------------------------------------------------
140  ## Some helper programs used to compile libpcre.  They aren't user-visible.  ## The dftables program is used to rebuild character tables before compiling
141    ## PCRE, if --enable-rebuild-chartables is specified. It is not a user-visible
142    ## program. The default (when --enable-rebuild-chartables is not specified) is
143    ## to copy a distributed set of tables that are defined for ASCII code. In this
144    ## case, dftables is not needed.
145    
146    if WITH_REBUILD_CHARTABLES
147    
148  noinst_PROGRAMS += dftables  noinst_PROGRAMS += dftables
149  dftables_SOURCES = dftables.c  dftables_SOURCES = dftables.c
150    
151  pcre_chartables.c: dftables$(EXEEXT)  pcre_chartables.c: dftables$(EXEEXT)
152          ./dftables$(EXEEXT) $@          ./dftables$(EXEEXT) $@
153    else
154    
155    pcre_chartables.c: $(srcdir)/pcre_chartables.c.dist
156            rm -f $@
157            $(LN_S) $(srcdir)/pcre_chartables.c.dist $@
158    
159    endif # WITH_REBUILD_CHARTABLES
160    
161    
162  ## The main pcre library  ## The main pcre library
163  lib_LTLIBRARIES += libpcre.la  lib_LTLIBRARIES += libpcre.la
# Line 166  nodist_libpcre_la_SOURCES = \ Line 191  nodist_libpcre_la_SOURCES = \
191    pcre_chartables.c    pcre_chartables.c
192    
193  # The pcre_printint.src file is #included by some source files, so it must be  # The pcre_printint.src file is #included by some source files, so it must be
194  # distributed.  # distributed. The pcre_chartables.c.dist file is the default version of
195  EXTRA_DIST += pcre_printint.src  # pcre_chartables.c, used unless --enable-rebuild-chartables is specified.
196    EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist
197    
198  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)
199    
# Line 185  if WITH_PCRE_CPP Line 211  if WITH_PCRE_CPP
211    
212  lib_LTLIBRARIES += libpcrecpp.la  lib_LTLIBRARIES += libpcrecpp.la
213  libpcrecpp_la_SOURCES = \  libpcrecpp_la_SOURCES = \
214      pcrecpp_internal.h \
215    pcrecpp.cc \    pcrecpp.cc \
216    pcre_scanner.cc \    pcre_scanner.cc \
217    pcre_stringpiece.cc    pcre_stringpiece.cc
# Line 214  endif # WITH_PCRE_CPP Line 241  endif # WITH_PCRE_CPP
241  # ways. We install these test binaries in case folks find it helpful.  # ways. We install these test binaries in case folks find it helpful.
242    
243  TESTS += RunTest  TESTS += RunTest
244  noinst_SCRIPTS += RunTest  dist_noinst_SCRIPTS += RunTest
245  EXTRA_DIST += RunTest.bat  EXTRA_DIST += RunTest.bat
246  bin_PROGRAMS += pcretest  bin_PROGRAMS += pcretest
247  pcretest_SOURCES = pcretest.c  pcretest_SOURCES = pcretest.c
248  pcretest_LDADD = libpcreposix.la  pcretest_LDADD = libpcreposix.la
249    
250  TESTS += RunGrepTest  TESTS += RunGrepTest
251  noinst_SCRIPTS += RunGrepTest  dist_noinst_SCRIPTS += RunGrepTest
252  bin_PROGRAMS += pcregrep  bin_PROGRAMS += pcregrep
253  pcregrep_SOURCES = pcregrep.c  pcregrep_SOURCES = pcregrep.c
254  pcregrep_LDADD = libpcreposix.la  pcregrep_LDADD = libpcreposix.la
# Line 229  pcregrep_LDADD = libpcreposix.la Line 256  pcregrep_LDADD = libpcreposix.la
256  EXTRA_DIST += \  EXTRA_DIST += \
257    testdata/grepinput \    testdata/grepinput \
258    testdata/grepinput8 \    testdata/grepinput8 \
259      testdata/grepinputv \
260    testdata/grepinputx \    testdata/grepinputx \
261    testdata/greplist \    testdata/greplist \
262    testdata/grepoutput \    testdata/grepoutput \
263    testdata/grepoutput8 \    testdata/grepoutput8 \
264      testdata/grepoutputN \
265    testdata/testinput1 \    testdata/testinput1 \
266    testdata/testinput2 \    testdata/testinput2 \
267    testdata/testinput3 \    testdata/testinput3 \
# Line 242  EXTRA_DIST += \ Line 271  EXTRA_DIST += \
271    testdata/testinput7 \    testdata/testinput7 \
272    testdata/testinput8 \    testdata/testinput8 \
273    testdata/testinput9 \    testdata/testinput9 \
274      testdata/testinput10 \
275    testdata/testoutput1 \    testdata/testoutput1 \
276    testdata/testoutput2 \    testdata/testoutput2 \
277    testdata/testoutput3 \    testdata/testoutput3 \
# Line 251  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    perltest.pl    perltest.pl
286    
287  CLEANFILES += \  CLEANFILES += \
288          testsavedregex \          testsavedregex \
289          teststderr \          teststderr \
290          testtry          testtry \
291            testNinput
292    
293  # PCRE demonstration program  # PCRE demonstration program
294  noinst_PROGRAMS += pcredemo  noinst_PROGRAMS += pcredemo
# Line 277  endif Line 309  endif
309    
310  dist_man_MANS = \  dist_man_MANS = \
311    doc/pcre.3 \    doc/pcre.3 \
312      doc/pcre-config.1 \
313    doc/pcre_compile.3 \    doc/pcre_compile.3 \
314    doc/pcre_compile2.3 \    doc/pcre_compile2.3 \
315    doc/pcre_config.3 \    doc/pcre_config.3 \
# Line 325  EXTRA_DIST += \ Line 358  EXTRA_DIST += \
358    CMakeLists.txt \    CMakeLists.txt \
359    config-cmake.h.in    config-cmake.h.in
360    
 config-cmake.h.in: config.h.in  
         sed 's/#undef/#cmakedefine/g' config.h.in >$@  
   
 MAINTAINERCLEANFILES += config-cmake.h.in  
   
361  ## end Makefile.am  ## end Makefile.am

Legend:
Removed from v.111  
changed lines
  Added in v.232

  ViewVC Help
Powered by ViewVC 1.1.5