| 302 |
# A compatibility line, the old build system worked with 'make test' |
# A compatibility line, the old build system worked with 'make test' |
| 303 |
test: check ; |
test: check ; |
| 304 |
|
|
| 305 |
|
|
| 306 |
|
# A PCRE user submitted the following addition, saying that it "will allow |
| 307 |
|
# anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a |
| 308 |
|
# nice DLL for Windows use". (It is used by the pcre.dll target.) |
| 309 |
|
DLL_OBJS= pcre_compile.o pcre_config.o \ |
| 310 |
|
pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o \ |
| 311 |
|
pcre_globals.o pcre_info.o pcre_maketables.o \ |
| 312 |
|
pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \ |
| 313 |
|
pcre_study.o pcre_tables.o pcre_try_flipped.o \ |
| 314 |
|
pcre_ucp_searchfuncs.o pcre_valid_utf8.o pcre_version.o \ |
| 315 |
|
pcre_chartables.o \ |
| 316 |
|
pcre_xclass.o |
| 317 |
|
|
| 318 |
|
# A PCRE user submitted the following addition, saying that it "will allow |
| 319 |
|
# anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a |
| 320 |
|
# nice DLL for Windows use". |
| 321 |
|
pcre.dll: $(DLL_OBJS) |
| 322 |
|
$(CC) -shared -o pcre.dll -Wl,"--strip-all" -Wl,"--export-all-symbols" $(DLL_OBJS) |
| 323 |
|
|
| 324 |
|
|
| 325 |
# We have .pc files for pkg-config users. |
# We have .pc files for pkg-config users. |
| 326 |
pkgconfigdir = $(libdir)/pkgconfig |
pkgconfigdir = $(libdir)/pkgconfig |
| 327 |
pkgconfig_DATA = libpcre.pc |
pkgconfig_DATA = libpcre.pc |