--- code/trunk/Makefile.am 2007/05/09 10:50:57 165 +++ code/trunk/Makefile.am 2008/01/20 20:36:45 307 @@ -49,6 +49,7 @@ doc/html/pcreprecompile.html \ doc/html/pcresample.html \ doc/html/pcrestack.html \ + doc/html/pcresyntax.html \ doc/html/pcretest.html pcrecpp_html = doc/html/pcrecpp.html @@ -210,6 +211,7 @@ lib_LTLIBRARIES += libpcrecpp.la libpcrecpp_la_SOURCES = \ + pcrecpp_internal.h \ pcrecpp.cc \ pcre_scanner.cc \ pcre_stringpiece.cc @@ -254,6 +256,7 @@ EXTRA_DIST += \ testdata/grepinput \ testdata/grepinput8 \ + testdata/grepinputv \ testdata/grepinputx \ testdata/greplist \ testdata/grepoutput \ @@ -279,6 +282,8 @@ testdata/testoutput8 \ testdata/testoutput9 \ testdata/testoutput10 \ + testdata/wintestinput3 \ + testdata/wintestoutput3 \ perltest.pl CLEANFILES += \ @@ -297,6 +302,26 @@ # A compatibility line, the old build system worked with 'make test' test: check ; + +# A PCRE user submitted the following addition, saying that it "will allow +# anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a +# nice DLL for Windows use". (It is used by the pcre.dll target.) +DLL_OBJS= pcre_compile.o pcre_config.o \ + pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o \ + pcre_globals.o pcre_info.o pcre_maketables.o \ + pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \ + pcre_study.o pcre_tables.o pcre_try_flipped.o \ + pcre_ucp_searchfuncs.o pcre_valid_utf8.o pcre_version.o \ + pcre_chartables.o \ + pcre_xclass.o + +# A PCRE user submitted the following addition, saying that it "will allow +# anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a +# nice DLL for Windows use". +pcre.dll: $(DLL_OBJS) + $(CC) -shared -o pcre.dll -Wl,"--strip-all" -Wl,"--export-all-symbols" $(DLL_OBJS) + + # We have .pc files for pkg-config users. pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libpcre.pc @@ -340,6 +365,7 @@ doc/pcreprecompile.3 \ doc/pcresample.3 \ doc/pcrestack.3 \ + doc/pcresyntax.3 \ doc/pcretest.1 pcrecpp_man = doc/pcrecpp.3 @@ -352,6 +378,7 @@ ## CMake support EXTRA_DIST += \ + cmake \ CMakeLists.txt \ config-cmake.h.in