| 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 \ |
|
doc/perltest.txt \ |
|
| 8 |
AUTHORS \ |
AUTHORS \ |
| 9 |
COPYING \ |
COPYING \ |
| 10 |
ChangeLog \ |
ChangeLog \ |
|
INSTALL \ |
|
| 11 |
LICENCE \ |
LICENCE \ |
| 12 |
NEWS \ |
NEWS \ |
|
NON-UNIX-USE \ |
|
| 13 |
README |
README |
| 14 |
|
|
| 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 \ |
| 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 |
| 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. |
| 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 |
| 85 |
|
EXTRA_DIST += \ |
| 86 |
|
doc/perltest.txt \ |
| 87 |
|
NON-UNIX-USE \ |
| 88 |
|
HACKING |
| 89 |
|
|
| 90 |
|
# These files are used in the preparation of a release |
| 91 |
|
EXTRA_DIST += \ |
| 92 |
|
PrepareRelease \ |
| 93 |
|
CleanTxt \ |
| 94 |
|
Detrail \ |
| 95 |
|
132html \ |
| 96 |
|
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 are the header files we'll install. Note that while pcre.h is |
# These files are usable versions of pcre.h and config.h that are distributed |
| 106 |
# generated from pcre.h.in, we want to include it in the distribution so |
# for the benefit of people who are building PCRE manually, without the |
| 107 |
# that users building without Autotools support have an easier time of it. |
# Autotools support. |
| 108 |
|
EXTRA_DIST += \ |
| 109 |
|
pcre.h.generic \ |
| 110 |
|
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 |
| 119 |
|
# it is generated from pcre.h.in. |
| 120 |
|
nodist_include_HEADERS = \ |
| 121 |
|
pcre.h |
| 122 |
include_HEADERS = \ |
include_HEADERS = \ |
|
pcre.h \ |
|
| 123 |
pcreposix.h |
pcreposix.h |
| 124 |
|
|
| 125 |
# These will be installed too, if C++ support is enabled. We don't |
# These additional headers will be be installed if C++ support is enabled. We |
| 126 |
# distribute pcrecpparg.h nor pcre_stringpiece.h, as these are generated |
# do not distribute pcrecpparg.h or pcre_stringpiece.h, as these are generated |
| 127 |
# from corresponding .h.in files (which we do distribute). |
# from corresponding .h.in files (which we do distribute). |
| 128 |
if WITH_PCRE_CPP |
if WITH_PCRE_CPP |
| 129 |
nodist_include_HEADERS = \ |
nodist_include_HEADERS += \ |
| 130 |
pcrecpparg.h \ |
pcrecpparg.h \ |
| 131 |
pcre_stringpiece.h |
pcre_stringpiece.h |
| 132 |
include_HEADERS += \ |
include_HEADERS += \ |
| 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 |
| 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 |
| 186 |
ucpinternal.h \ |
|
|
ucptable.h |
|
|
|
|
| 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 = \ |
| 189 |
pcre_chartables.c |
pcre_chartables.c |
| 190 |
|
|
| 191 |
# 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 |
| 192 |
# distributed. In an Autotools world, config.h is generated from config.h.in, |
# distributed. The pcre_chartables.c.dist file is the default version of |
| 193 |
# but, like pcre.h, we want to include it in the distribution so that users |
# pcre_chartables.c, used unless --enable-rebuild-chartables is specified. |
| 194 |
# building without Autotools support have an easier time of it. |
EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist |
|
EXTRA_DIST += pcre_printint.src config.h |
|
| 195 |
|
|
| 196 |
libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS) |
libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS) |
| 197 |
|
|
| 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 |
| 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 \ |
| 261 |
testdata/grepoutput8 \ |
testdata/grepoutput8 \ |
| 262 |
|
testdata/grepoutputN \ |
| 263 |
testdata/testinput1 \ |
testdata/testinput1 \ |
| 264 |
testdata/testinput2 \ |
testdata/testinput2 \ |
| 265 |
testdata/testinput3 \ |
testdata/testinput3 \ |
| 269 |
testdata/testinput7 \ |
testdata/testinput7 \ |
| 270 |
testdata/testinput8 \ |
testdata/testinput8 \ |
| 271 |
testdata/testinput9 \ |
testdata/testinput9 \ |
| 272 |
|
testdata/testinput10 \ |
| 273 |
testdata/testoutput1 \ |
testdata/testoutput1 \ |
| 274 |
testdata/testoutput2 \ |
testdata/testoutput2 \ |
| 275 |
testdata/testoutput3 \ |
testdata/testoutput3 \ |
| 279 |
testdata/testoutput7 \ |
testdata/testoutput7 \ |
| 280 |
testdata/testoutput8 \ |
testdata/testoutput8 \ |
| 281 |
testdata/testoutput9 \ |
testdata/testoutput9 \ |
| 282 |
|
testdata/testoutput10 \ |
| 283 |
|
testdata/wintestinput3 \ |
| 284 |
|
testdata/wintestoutput3 \ |
| 285 |
perltest.pl |
perltest.pl |
| 286 |
|
|
| 287 |
CLEANFILES += \ |
CLEANFILES += \ |
| 288 |
testsavedregex \ |
testsavedregex \ |
| 289 |
teststderr \ |
teststderr \ |
| 290 |
testtry |
testtry \ |
| 291 |
|
testNinput |
| 292 |
|
|
| 293 |
|
|
| 294 |
|
# PCRE demonstration program. No longer built automatcally. The point is that |
| 295 |
|
# the users should build it themselves. So just distribute the source. |
| 296 |
|
# noinst_PROGRAMS += pcredemo |
| 297 |
|
# pcredemo_SOURCES = pcredemo.c |
| 298 |
|
# pcredemo_LDADD = libpcre.la |
| 299 |
|
|
| 300 |
|
EXTRA_DIST += pcredemo.c |
| 301 |
|
|
|
# PCRE demonstration program |
|
|
noinst_PROGRAMS += pcredemo |
|
|
pcredemo_SOURCES = pcredemo.c |
|
|
pcredemo_LDADD = libpcre.la |
|
| 302 |
|
|
| 303 |
## Utility rules, documentation, etc. |
## Utility rules, documentation, etc. |
| 304 |
|
|
| 305 |
# A compatibility line, the old build system worked with 'make test' |
# A compatibility line, the old build system worked with 'make test' |
| 306 |
test: check ; |
test: check ; |
| 307 |
|
|
| 308 |
|
|
| 309 |
|
# A PCRE user submitted the following addition, saying that it "will allow |
| 310 |
|
# anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a |
| 311 |
|
# nice DLL for Windows use". (It is used by the pcre.dll target.) |
| 312 |
|
DLL_OBJS= pcre_compile.o pcre_config.o \ |
| 313 |
|
pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o \ |
| 314 |
|
pcre_globals.o pcre_info.o pcre_maketables.o \ |
| 315 |
|
pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \ |
| 316 |
|
pcre_study.o pcre_tables.o pcre_try_flipped.o \ |
| 317 |
|
pcre_ucd.o pcre_valid_utf8.o pcre_version.o \ |
| 318 |
|
pcre_chartables.o \ |
| 319 |
|
pcre_xclass.o |
| 320 |
|
|
| 321 |
|
# A PCRE user submitted the following addition, saying that it "will allow |
| 322 |
|
# anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a |
| 323 |
|
# nice DLL for Windows use". |
| 324 |
|
pcre.dll: $(DLL_OBJS) |
| 325 |
|
$(CC) -shared -o pcre.dll -Wl,"--strip-all" -Wl,"--export-all-symbols" $(DLL_OBJS) |
| 326 |
|
|
| 327 |
|
|
| 328 |
# We have .pc files for pkg-config users. |
# We have .pc files for pkg-config users. |
| 329 |
pkgconfigdir = $(libdir)/pkgconfig |
pkgconfigdir = $(libdir)/pkgconfig |
| 330 |
pkgconfig_DATA = libpcre.pc |
pkgconfig_DATA = libpcre.pc |
| 334 |
|
|
| 335 |
dist_man_MANS = \ |
dist_man_MANS = \ |
| 336 |
doc/pcre.3 \ |
doc/pcre.3 \ |
| 337 |
|
doc/pcre-config.1 \ |
| 338 |
doc/pcre_compile.3 \ |
doc/pcre_compile.3 \ |
| 339 |
doc/pcre_compile2.3 \ |
doc/pcre_compile2.3 \ |
| 340 |
doc/pcre_config.3 \ |
doc/pcre_config.3 \ |
| 368 |
doc/pcreprecompile.3 \ |
doc/pcreprecompile.3 \ |
| 369 |
doc/pcresample.3 \ |
doc/pcresample.3 \ |
| 370 |
doc/pcrestack.3 \ |
doc/pcrestack.3 \ |
| 371 |
|
doc/pcresyntax.3 \ |
| 372 |
doc/pcretest.1 |
doc/pcretest.1 |
| 373 |
|
|
| 374 |
pcrecpp_man = doc/pcrecpp.3 |
pcrecpp_man = doc/pcrecpp.3 |
| 381 |
## CMake support |
## CMake support |
| 382 |
|
|
| 383 |
EXTRA_DIST += \ |
EXTRA_DIST += \ |
| 384 |
|
cmake/COPYING-CMAKE-SCRIPTS \ |
| 385 |
|
cmake/FindPackageHandleStandardArgs.cmake \ |
| 386 |
|
cmake/FindReadline.cmake \ |
| 387 |
CMakeLists.txt \ |
CMakeLists.txt \ |
| 388 |
config-cmake.h.in |
config-cmake.h.in |
| 389 |
|
|
|
config-cmake.h.in: config.h.in |
|
|
sed 's/#undef/#cmakedefine/g' config.h.in >$@ |
|
|
|
|
|
MAINTAINERCLEANFILES += config-cmake.h.in |
|
|
|
|
| 390 |
## end Makefile.am |
## end Makefile.am |