| 1 |
ph10 |
97 |
## Process this file with automake to produce Makefile.in. |
| 2 |
|
|
|
| 3 |
|
|
dist_doc_DATA = \ |
| 4 |
|
|
doc/pcre.txt \ |
| 5 |
ph10 |
153 |
doc/pcre-config.txt \ |
| 6 |
ph10 |
97 |
doc/pcregrep.txt \ |
| 7 |
|
|
doc/pcretest.txt \ |
| 8 |
|
|
AUTHORS \ |
| 9 |
|
|
COPYING \ |
| 10 |
|
|
ChangeLog \ |
| 11 |
|
|
LICENCE \ |
| 12 |
|
|
NEWS \ |
| 13 |
|
|
README |
| 14 |
|
|
|
| 15 |
|
|
dist_html_DATA = \ |
| 16 |
|
|
doc/html/index.html \ |
| 17 |
|
|
doc/html/pcre.html \ |
| 18 |
ph10 |
153 |
doc/html/pcre-config.html \ |
| 19 |
ph10 |
97 |
doc/html/pcre_compile.html \ |
| 20 |
|
|
doc/html/pcre_compile2.html \ |
| 21 |
|
|
doc/html/pcre_config.html \ |
| 22 |
|
|
doc/html/pcre_copy_named_substring.html \ |
| 23 |
|
|
doc/html/pcre_copy_substring.html \ |
| 24 |
|
|
doc/html/pcre_dfa_exec.html \ |
| 25 |
|
|
doc/html/pcre_exec.html \ |
| 26 |
|
|
doc/html/pcre_free_substring.html \ |
| 27 |
|
|
doc/html/pcre_free_substring_list.html \ |
| 28 |
|
|
doc/html/pcre_fullinfo.html \ |
| 29 |
|
|
doc/html/pcre_get_named_substring.html \ |
| 30 |
|
|
doc/html/pcre_get_stringnumber.html \ |
| 31 |
|
|
doc/html/pcre_get_stringtable_entries.html \ |
| 32 |
|
|
doc/html/pcre_get_substring.html \ |
| 33 |
|
|
doc/html/pcre_get_substring_list.html \ |
| 34 |
|
|
doc/html/pcre_info.html \ |
| 35 |
|
|
doc/html/pcre_maketables.html \ |
| 36 |
|
|
doc/html/pcre_refcount.html \ |
| 37 |
|
|
doc/html/pcre_study.html \ |
| 38 |
|
|
doc/html/pcre_version.html \ |
| 39 |
|
|
doc/html/pcreapi.html \ |
| 40 |
|
|
doc/html/pcrebuild.html \ |
| 41 |
|
|
doc/html/pcrecallout.html \ |
| 42 |
|
|
doc/html/pcrecompat.html \ |
| 43 |
|
|
doc/html/pcregrep.html \ |
| 44 |
|
|
doc/html/pcrematching.html \ |
| 45 |
|
|
doc/html/pcrepartial.html \ |
| 46 |
|
|
doc/html/pcrepattern.html \ |
| 47 |
|
|
doc/html/pcreperform.html \ |
| 48 |
|
|
doc/html/pcreposix.html \ |
| 49 |
|
|
doc/html/pcreprecompile.html \ |
| 50 |
|
|
doc/html/pcresample.html \ |
| 51 |
|
|
doc/html/pcrestack.html \ |
| 52 |
|
|
doc/html/pcretest.html |
| 53 |
|
|
|
| 54 |
|
|
pcrecpp_html = doc/html/pcrecpp.html |
| 55 |
|
|
dist_noinst_DATA = $(pcrecpp_html) |
| 56 |
|
|
|
| 57 |
|
|
if WITH_PCRE_CPP |
| 58 |
|
|
html_DATA = $(pcrecpp_html) |
| 59 |
|
|
endif |
| 60 |
|
|
|
| 61 |
|
|
# The Libtool libraries to install. We'll add to this later. |
| 62 |
|
|
lib_LTLIBRARIES = |
| 63 |
|
|
|
| 64 |
|
|
# Unit tests you want to run when people type 'make check'. |
| 65 |
|
|
# TESTS is for binary unit tests, check_SCRIPTS for script-based tests |
| 66 |
|
|
TESTS = |
| 67 |
|
|
check_SCRIPTS = |
| 68 |
ph10 |
144 |
dist_noinst_SCRIPTS = |
| 69 |
ph10 |
97 |
|
| 70 |
|
|
# Some of the binaries we make are to be installed, and others are |
| 71 |
|
|
# (non-user-visible) helper programs needed to build libpcre. |
| 72 |
|
|
bin_PROGRAMS = |
| 73 |
|
|
noinst_PROGRAMS = |
| 74 |
|
|
|
| 75 |
|
|
# Additional files to delete on 'make clean' and 'make maintainer-clean'. |
| 76 |
|
|
CLEANFILES = |
| 77 |
|
|
MAINTAINERCLEANFILES = |
| 78 |
|
|
|
| 79 |
ph10 |
128 |
# Additional files to bundle with the distribution, over and above what |
| 80 |
ph10 |
127 |
# the Autotools include by default. |
| 81 |
ph10 |
97 |
EXTRA_DIST = |
| 82 |
|
|
|
| 83 |
ph10 |
111 |
# These files contain maintenance information |
| 84 |
|
|
EXTRA_DIST += \ |
| 85 |
|
|
doc/perltest.txt \ |
| 86 |
|
|
NON-UNIX-USE \ |
| 87 |
ph10 |
128 |
HACKING |
| 88 |
ph10 |
111 |
|
| 89 |
|
|
# These files are used in the preparation of a release |
| 90 |
|
|
EXTRA_DIST += \ |
| 91 |
|
|
PrepareRelease \ |
| 92 |
|
|
CleanTxt \ |
| 93 |
|
|
Detrail \ |
| 94 |
|
|
132html \ |
| 95 |
ph10 |
127 |
doc/index.html.src |
| 96 |
ph10 |
111 |
|
| 97 |
ph10 |
103 |
# These files are to do with building for Virtual Pascal |
| 98 |
|
|
EXTRA_DIST += \ |
| 99 |
|
|
makevp.bat \ |
| 100 |
ph10 |
135 |
makevp_c.txt \ |
| 101 |
|
|
makevp_l.txt \ |
| 102 |
ph10 |
111 |
pcregexp.pas |
| 103 |
ph10 |
103 |
|
| 104 |
ph10 |
111 |
# These files are usable versions of pcre.h and config.h that are distributed |
| 105 |
|
|
# for the benefit of people who are building PCRE manually, without the |
| 106 |
|
|
# Autotools support. |
| 107 |
|
|
EXTRA_DIST += \ |
| 108 |
|
|
pcre.h.generic \ |
| 109 |
|
|
config.h.generic |
| 110 |
|
|
|
| 111 |
ph10 |
144 |
pcre.h.generic: configure.ac |
| 112 |
|
|
rm -f $@ |
| 113 |
|
|
cp -p pcre.h $@ |
| 114 |
|
|
|
| 115 |
|
|
MAINTAINERCLEANFILES += pcre.h.generic |
| 116 |
|
|
|
| 117 |
ph10 |
111 |
# These are the header files we'll install. We do not distribute pcre.h because |
| 118 |
|
|
# it is generated from pcre.h.in. |
| 119 |
|
|
nodist_include_HEADERS = \ |
| 120 |
|
|
pcre.h |
| 121 |
ph10 |
97 |
include_HEADERS = \ |
| 122 |
|
|
pcreposix.h |
| 123 |
|
|
|
| 124 |
ph10 |
111 |
# These additional headers will be be installed if C++ support is enabled. We |
| 125 |
|
|
# do not distribute pcrecpparg.h or pcre_stringpiece.h, as these are generated |
| 126 |
ph10 |
97 |
# from corresponding .h.in files (which we do distribute). |
| 127 |
|
|
if WITH_PCRE_CPP |
| 128 |
ph10 |
111 |
nodist_include_HEADERS += \ |
| 129 |
ph10 |
97 |
pcrecpparg.h \ |
| 130 |
|
|
pcre_stringpiece.h |
| 131 |
|
|
include_HEADERS += \ |
| 132 |
|
|
pcrecpp.h \ |
| 133 |
|
|
pcre_scanner.h |
| 134 |
|
|
endif # WITH_PCRE_CPP |
| 135 |
|
|
|
| 136 |
|
|
bin_SCRIPTS = pcre-config |
| 137 |
|
|
|
| 138 |
|
|
## --------------------------------------------------------------- |
| 139 |
ph10 |
128 |
## The dftables program is used to rebuild character tables before compiling |
| 140 |
|
|
## PCRE, if --enable-rebuild-chartables is specified. It is not a user-visible |
| 141 |
|
|
## program. The default (when --enable-rebuild-chartables is not specified) is |
| 142 |
|
|
## to copy a distributed set of tables that are defined for ASCII code. In this |
| 143 |
|
|
## case, dftables is not needed. |
| 144 |
|
|
|
| 145 |
|
|
if WITH_REBUILD_CHARTABLES |
| 146 |
|
|
|
| 147 |
ph10 |
97 |
noinst_PROGRAMS += dftables |
| 148 |
|
|
dftables_SOURCES = dftables.c |
| 149 |
|
|
|
| 150 |
|
|
pcre_chartables.c: dftables$(EXEEXT) |
| 151 |
|
|
./dftables$(EXEEXT) $@ |
| 152 |
ph10 |
128 |
else |
| 153 |
ph10 |
97 |
|
| 154 |
ph10 |
131 |
pcre_chartables.c: $(srcdir)/pcre_chartables.c.dist |
| 155 |
ph10 |
137 |
rm -f $@ |
| 156 |
|
|
$(LN_S) $(srcdir)/pcre_chartables.c.dist $@ |
| 157 |
ph10 |
128 |
|
| 158 |
|
|
endif # WITH_REBUILD_CHARTABLES |
| 159 |
|
|
|
| 160 |
|
|
|
| 161 |
ph10 |
97 |
## The main pcre library |
| 162 |
|
|
lib_LTLIBRARIES += libpcre.la |
| 163 |
|
|
libpcre_la_SOURCES = \ |
| 164 |
|
|
pcre_compile.c \ |
| 165 |
|
|
pcre_config.c \ |
| 166 |
|
|
pcre_dfa_exec.c \ |
| 167 |
|
|
pcre_exec.c \ |
| 168 |
|
|
pcre_fullinfo.c \ |
| 169 |
|
|
pcre_get.c \ |
| 170 |
|
|
pcre_globals.c \ |
| 171 |
|
|
pcre_info.c \ |
| 172 |
|
|
pcre_internal.h \ |
| 173 |
|
|
pcre_maketables.c \ |
| 174 |
|
|
pcre_newline.c \ |
| 175 |
|
|
pcre_ord2utf8.c \ |
| 176 |
|
|
pcre_refcount.c \ |
| 177 |
|
|
pcre_study.c \ |
| 178 |
|
|
pcre_tables.c \ |
| 179 |
|
|
pcre_try_flipped.c \ |
| 180 |
|
|
pcre_ucp_searchfuncs.c \ |
| 181 |
|
|
pcre_valid_utf8.c \ |
| 182 |
|
|
pcre_version.c \ |
| 183 |
|
|
pcre_xclass.c \ |
| 184 |
|
|
ucp.h \ |
| 185 |
|
|
ucpinternal.h \ |
| 186 |
|
|
ucptable.h |
| 187 |
ph10 |
111 |
|
| 188 |
ph10 |
100 |
## This file is generated as part of the building process, so don't distribute. |
| 189 |
ph10 |
97 |
nodist_libpcre_la_SOURCES = \ |
| 190 |
|
|
pcre_chartables.c |
| 191 |
ph10 |
111 |
|
| 192 |
ph10 |
100 |
# The pcre_printint.src file is #included by some source files, so it must be |
| 193 |
ph10 |
128 |
# distributed. The pcre_chartables.c.dist file is the default version of |
| 194 |
|
|
# pcre_chartables.c, used unless --enable-rebuild-chartables is specified. |
| 195 |
|
|
EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist |
| 196 |
ph10 |
100 |
|
| 197 |
ph10 |
97 |
libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS) |
| 198 |
|
|
|
| 199 |
|
|
CLEANFILES += pcre_chartables.c |
| 200 |
|
|
|
| 201 |
|
|
## A version of the main pcre library that has a posix re API. |
| 202 |
|
|
lib_LTLIBRARIES += libpcreposix.la |
| 203 |
|
|
libpcreposix_la_SOURCES = \ |
| 204 |
|
|
pcreposix.c |
| 205 |
|
|
libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS) |
| 206 |
|
|
libpcreposix_la_LIBADD = libpcre.la |
| 207 |
|
|
|
| 208 |
|
|
## There's a C++ library as well. |
| 209 |
|
|
if WITH_PCRE_CPP |
| 210 |
|
|
|
| 211 |
|
|
lib_LTLIBRARIES += libpcrecpp.la |
| 212 |
|
|
libpcrecpp_la_SOURCES = \ |
| 213 |
|
|
pcrecpp.cc \ |
| 214 |
|
|
pcre_scanner.cc \ |
| 215 |
|
|
pcre_stringpiece.cc |
| 216 |
|
|
libpcrecpp_la_LDFLAGS = $(EXTRA_LIBPCRECPP_LDFLAGS) |
| 217 |
|
|
libpcrecpp_la_LIBADD = libpcre.la |
| 218 |
|
|
|
| 219 |
|
|
TESTS += pcrecpp_unittest |
| 220 |
|
|
noinst_PROGRAMS += pcrecpp_unittest |
| 221 |
|
|
pcrecpp_unittest_SOURCES = pcrecpp_unittest.cc |
| 222 |
|
|
pcrecpp_unittest_LDADD = libpcrecpp.la |
| 223 |
|
|
|
| 224 |
|
|
TESTS += pcre_scanner_unittest |
| 225 |
|
|
noinst_PROGRAMS += pcre_scanner_unittest |
| 226 |
|
|
pcre_scanner_unittest_SOURCES = pcre_scanner_unittest.cc |
| 227 |
|
|
pcre_scanner_unittest_LDADD = libpcrecpp.la |
| 228 |
|
|
|
| 229 |
|
|
TESTS += pcre_stringpiece_unittest |
| 230 |
|
|
noinst_PROGRAMS += pcre_stringpiece_unittest |
| 231 |
|
|
pcre_stringpiece_unittest_SOURCES = pcre_stringpiece_unittest.cc |
| 232 |
|
|
pcre_stringpiece_unittest_LDADD = libpcrecpp.la |
| 233 |
|
|
|
| 234 |
|
|
endif # WITH_PCRE_CPP |
| 235 |
|
|
|
| 236 |
|
|
## The main unit tests |
| 237 |
|
|
|
| 238 |
|
|
# Each unit test is a binary plus a script that runs that binary in various |
| 239 |
|
|
# ways. We install these test binaries in case folks find it helpful. |
| 240 |
|
|
|
| 241 |
|
|
TESTS += RunTest |
| 242 |
ph10 |
144 |
dist_noinst_SCRIPTS += RunTest |
| 243 |
ph10 |
97 |
EXTRA_DIST += RunTest.bat |
| 244 |
|
|
bin_PROGRAMS += pcretest |
| 245 |
|
|
pcretest_SOURCES = pcretest.c |
| 246 |
|
|
pcretest_LDADD = libpcreposix.la |
| 247 |
|
|
|
| 248 |
|
|
TESTS += RunGrepTest |
| 249 |
ph10 |
144 |
dist_noinst_SCRIPTS += RunGrepTest |
| 250 |
ph10 |
97 |
bin_PROGRAMS += pcregrep |
| 251 |
|
|
pcregrep_SOURCES = pcregrep.c |
| 252 |
|
|
pcregrep_LDADD = libpcreposix.la |
| 253 |
|
|
|
| 254 |
|
|
EXTRA_DIST += \ |
| 255 |
|
|
testdata/grepinput \ |
| 256 |
|
|
testdata/grepinput8 \ |
| 257 |
|
|
testdata/grepinputx \ |
| 258 |
|
|
testdata/greplist \ |
| 259 |
|
|
testdata/grepoutput \ |
| 260 |
|
|
testdata/grepoutput8 \ |
| 261 |
ph10 |
131 |
testdata/grepoutputN \ |
| 262 |
ph10 |
97 |
testdata/testinput1 \ |
| 263 |
|
|
testdata/testinput2 \ |
| 264 |
|
|
testdata/testinput3 \ |
| 265 |
|
|
testdata/testinput4 \ |
| 266 |
|
|
testdata/testinput5 \ |
| 267 |
|
|
testdata/testinput6 \ |
| 268 |
|
|
testdata/testinput7 \ |
| 269 |
|
|
testdata/testinput8 \ |
| 270 |
|
|
testdata/testinput9 \ |
| 271 |
|
|
testdata/testoutput1 \ |
| 272 |
|
|
testdata/testoutput2 \ |
| 273 |
|
|
testdata/testoutput3 \ |
| 274 |
|
|
testdata/testoutput4 \ |
| 275 |
|
|
testdata/testoutput5 \ |
| 276 |
|
|
testdata/testoutput6 \ |
| 277 |
|
|
testdata/testoutput7 \ |
| 278 |
|
|
testdata/testoutput8 \ |
| 279 |
|
|
testdata/testoutput9 \ |
| 280 |
|
|
perltest.pl |
| 281 |
|
|
|
| 282 |
|
|
CLEANFILES += \ |
| 283 |
|
|
testsavedregex \ |
| 284 |
|
|
teststderr \ |
| 285 |
|
|
testtry |
| 286 |
|
|
|
| 287 |
|
|
# PCRE demonstration program |
| 288 |
|
|
noinst_PROGRAMS += pcredemo |
| 289 |
|
|
pcredemo_SOURCES = pcredemo.c |
| 290 |
|
|
pcredemo_LDADD = libpcre.la |
| 291 |
|
|
|
| 292 |
|
|
## Utility rules, documentation, etc. |
| 293 |
|
|
|
| 294 |
|
|
# A compatibility line, the old build system worked with 'make test' |
| 295 |
|
|
test: check ; |
| 296 |
|
|
|
| 297 |
|
|
# We have .pc files for pkg-config users. |
| 298 |
|
|
pkgconfigdir = $(libdir)/pkgconfig |
| 299 |
|
|
pkgconfig_DATA = libpcre.pc |
| 300 |
|
|
if WITH_PCRE_CPP |
| 301 |
|
|
pkgconfig_DATA += libpcrecpp.pc |
| 302 |
|
|
endif |
| 303 |
|
|
|
| 304 |
|
|
dist_man_MANS = \ |
| 305 |
|
|
doc/pcre.3 \ |
| 306 |
ph10 |
153 |
doc/pcre-config.1 \ |
| 307 |
ph10 |
97 |
doc/pcre_compile.3 \ |
| 308 |
|
|
doc/pcre_compile2.3 \ |
| 309 |
|
|
doc/pcre_config.3 \ |
| 310 |
|
|
doc/pcre_copy_named_substring.3 \ |
| 311 |
|
|
doc/pcre_copy_substring.3 \ |
| 312 |
|
|
doc/pcre_dfa_exec.3 \ |
| 313 |
|
|
doc/pcre_exec.3 \ |
| 314 |
|
|
doc/pcre_free_substring.3 \ |
| 315 |
|
|
doc/pcre_free_substring_list.3 \ |
| 316 |
|
|
doc/pcre_fullinfo.3 \ |
| 317 |
|
|
doc/pcre_get_named_substring.3 \ |
| 318 |
|
|
doc/pcre_get_stringnumber.3 \ |
| 319 |
|
|
doc/pcre_get_stringtable_entries.3 \ |
| 320 |
|
|
doc/pcre_get_substring.3 \ |
| 321 |
|
|
doc/pcre_get_substring_list.3 \ |
| 322 |
|
|
doc/pcre_info.3 \ |
| 323 |
|
|
doc/pcre_maketables.3 \ |
| 324 |
|
|
doc/pcre_refcount.3 \ |
| 325 |
|
|
doc/pcre_study.3 \ |
| 326 |
|
|
doc/pcre_version.3 \ |
| 327 |
|
|
doc/pcreapi.3 \ |
| 328 |
|
|
doc/pcrebuild.3 \ |
| 329 |
|
|
doc/pcrecallout.3 \ |
| 330 |
|
|
doc/pcrecompat.3 \ |
| 331 |
|
|
doc/pcregrep.1 \ |
| 332 |
|
|
doc/pcrematching.3 \ |
| 333 |
|
|
doc/pcrepartial.3 \ |
| 334 |
|
|
doc/pcrepattern.3 \ |
| 335 |
|
|
doc/pcreperform.3 \ |
| 336 |
|
|
doc/pcreposix.3 \ |
| 337 |
|
|
doc/pcreprecompile.3 \ |
| 338 |
|
|
doc/pcresample.3 \ |
| 339 |
|
|
doc/pcrestack.3 \ |
| 340 |
|
|
doc/pcretest.1 |
| 341 |
|
|
|
| 342 |
|
|
pcrecpp_man = doc/pcrecpp.3 |
| 343 |
|
|
EXTRA_DIST += $(pcrecpp_man) |
| 344 |
|
|
|
| 345 |
|
|
if WITH_PCRE_CPP |
| 346 |
|
|
man_MANS = $(pcrecpp_man) |
| 347 |
|
|
endif |
| 348 |
|
|
|
| 349 |
|
|
## CMake support |
| 350 |
|
|
|
| 351 |
|
|
EXTRA_DIST += \ |
| 352 |
|
|
CMakeLists.txt \ |
| 353 |
|
|
config-cmake.h.in |
| 354 |
|
|
|
| 355 |
|
|
## end Makefile.am |