1AM_CFLAGS = $(FAM_CFLAGS) $(LIBUNWIND_CFLAGS) 2 3noinst_PROGRAMS=\ 4 t/test_common \ 5 t/test_configfile \ 6 t/test_mod 7 8sbin_PROGRAMS=lighttpd lighttpd-angel 9LEMON=$(top_builddir)/src/lemon$(BUILD_EXEEXT) 10 11TESTS=\ 12 t/test_common$(EXEEXT) \ 13 t/test_configfile$(EXEEXT) \ 14 t/test_mod$(EXEEXT) 15 16lemon$(BUILD_EXEEXT): lemon.c 17 $(AM_V_CC)$(CC_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $(srcdir)/lemon.c 18 19lighttpd_angel_SOURCES=lighttpd-angel.c 20 21.PHONY: versionstamp parsers 22 23versionstamp: 24 @test -f versionstamp.h || touch versionstamp.h; \ 25 REVISION=""; \ 26 if test -z "$$REVISION" -a -d "$(top_srcdir)/.git" -a -x "`which git`"; then \ 27 REVISION="$$(cd "$(top_srcdir)"; LANG= LC_ALL=C git describe --always 2>/dev/null || echo)"; \ 28 fi; \ 29 if test -n "$$REVISION"; then \ 30 echo "#define REPO_VERSION \"-devel-$$REVISION\"" > versionstamp.h.tmp; \ 31 else \ 32 echo "#define REPO_VERSION \"\"" > versionstamp.h.tmp; \ 33 fi; \ 34 if ! diff versionstamp.h.tmp versionstamp.h >/dev/null 2>/dev/null; then \ 35 mv versionstamp.h.tmp versionstamp.h; \ 36 else \ 37 rm versionstamp.h.tmp; \ 38 fi 39 40configparser.h: configparser.c 41configparser.c: $(srcdir)/configparser.y $(srcdir)/lempar.c lemon$(BUILD_EXEEXT) 42 rm -f configparser.h 43 chmod u+w $(srcdir)/configparser.c 2>/dev/null || true 44 $(LEMON) -q -T$(srcdir)/lempar.c $(srcdir)/configparser.y 45 46parsers: configparser.c 47 48BUILT_SOURCES = parsers versionstamp 49MAINTAINERCLEANFILES = configparser.c configparser.h 50CLEANFILES = versionstamp.h versionstamp.h.tmp lemon$(BUILD_EXEEXT) 51 52common_src=base64.c buffer.c burl.c log.c \ 53 http_header.c http_kv.c keyvalue.c chunk.c \ 54 http_chunk.c fdevent.c fdevent_fdnode.c gw_backend.c \ 55 stat_cache.c http_etag.c array.c \ 56 algo_md5.c algo_sha1.c algo_splaytree.c \ 57 configfile-glue.c \ 58 http-header-glue.c \ 59 http_cgi.c \ 60 http_date.c \ 61 rand.c \ 62 request.c \ 63 sock_addr.c \ 64 fdlog_maint.c \ 65 fdlog.c \ 66 sys-setjmp.c \ 67 ck.c 68 69src = server.c response.c connections.c h2.c reqpool.c \ 70 plugin.c \ 71 sock_addr_cache.c \ 72 network.c \ 73 network_write.c \ 74 ls-hpack/lshpack.c \ 75 algo_xxhash.c \ 76 fdevent_impl.c \ 77 http_range.c \ 78 data_config.c \ 79 configfile.c configparser.c 80 81builtin_mods = \ 82 mod_rewrite.c \ 83 mod_redirect.c \ 84 mod_access.c \ 85 mod_alias.c \ 86 mod_indexfile.c \ 87 mod_staticfile.c \ 88 mod_setenv.c \ 89 mod_expire.c \ 90 mod_simple_vhost.c \ 91 mod_evhost.c \ 92 mod_fastcgi.c \ 93 mod_scgi.c 94 95if !LIGHTTPD_STATIC 96src += $(builtin_mods) 97endif 98 99lib_LTLIBRARIES = 100 101if NO_RDYNAMIC 102# if the linker doesn't allow referencing symbols of the binary 103# we have to put everything into a shared-lib and link it into 104# everything 105common_ldflags = -avoid-version -no-undefined 106lib_LTLIBRARIES += liblightcomp.la 107liblightcomp_la_SOURCES=$(common_src) 108liblightcomp_la_CFLAGS=$(AM_CFLAGS) $(LIBEV_CFLAGS) 109liblightcomp_la_LDFLAGS = $(common_ldflags) 110liblightcomp_la_LIBADD = $(PCRE_LIB) $(CRYPTO_LIB) $(FAM_LIBS) $(LIBEV_LIBS) $(ATTR_LIB) 111common_libadd = liblightcomp.la 112if !LIGHTTPD_STATIC 113common_src += mod_auth_api.c mod_vhostdb_api.c 114endif 115else 116src += $(common_src) 117common_ldflags = -avoid-version 118common_libadd = 119endif 120common_module_ldflags = -module -export-dynamic $(common_ldflags) 121 122if !LIGHTTPD_STATIC 123 124if BUILD_WITH_MAXMINDDB 125lib_LTLIBRARIES += mod_maxminddb.la 126mod_maxminddb_la_SOURCES = mod_maxminddb.c 127mod_maxminddb_la_LDFLAGS = $(common_module_ldflags) 128mod_maxminddb_la_LIBADD = $(common_libadd) $(MAXMINDDB_LIB) 129endif 130 131lib_LTLIBRARIES += mod_webdav.la 132mod_webdav_la_SOURCES = mod_webdav.c 133mod_webdav_la_CFLAGS = $(AM_CFLAGS) $(XML_CFLAGS) $(SQLITE_CFLAGS) 134mod_webdav_la_LDFLAGS = $(common_module_ldflags) 135mod_webdav_la_LIBADD = $(common_libadd) $(XML_LIBS) $(SQLITE_LIBS) $(UUID_LIBS) $(ELFTC_LIB) 136 137if BUILD_WITH_LUA 138lib_LTLIBRARIES += mod_magnet.la 139mod_magnet_la_SOURCES = mod_magnet.c mod_magnet_cache.c algo_hmac.c 140mod_magnet_la_CFLAGS = $(AM_CFLAGS) $(LUA_CFLAGS) 141mod_magnet_la_LDFLAGS = $(common_module_ldflags) 142mod_magnet_la_LIBADD = $(common_libadd) $(LUA_LIBS) $(CRYPTO_LIB) -lm 143endif 144 145lib_LTLIBRARIES += mod_vhostdb.la 146mod_vhostdb_la_SOURCES = mod_vhostdb.c 147if !NO_RDYNAMIC 148mod_vhostdb_la_SOURCES += mod_vhostdb_api.c 149endif 150mod_vhostdb_la_LDFLAGS = $(common_module_ldflags) 151mod_vhostdb_la_LIBADD = $(common_libadd) 152 153if BUILD_WITH_LDAP 154lib_LTLIBRARIES += mod_vhostdb_ldap.la 155mod_vhostdb_ldap_la_SOURCES = mod_vhostdb_ldap.c 156mod_vhostdb_ldap_la_LDFLAGS = $(common_module_ldflags) 157mod_vhostdb_ldap_la_LIBADD = $(LDAP_LIB) $(LBER_LIB) $(common_libadd) 158endif 159 160if BUILD_WITH_MYSQL 161lib_LTLIBRARIES += mod_vhostdb_mysql.la 162mod_vhostdb_mysql_la_SOURCES = mod_vhostdb_mysql.c 163mod_vhostdb_mysql_la_LDFLAGS = $(common_module_ldflags) 164mod_vhostdb_mysql_la_LIBADD = $(MYSQL_LIBS) $(common_libadd) 165mod_vhostdb_mysql_la_CPPFLAGS = $(MYSQL_CFLAGS) 166endif 167 168if BUILD_WITH_PGSQL 169lib_LTLIBRARIES += mod_vhostdb_pgsql.la 170mod_vhostdb_pgsql_la_SOURCES = mod_vhostdb_pgsql.c 171mod_vhostdb_pgsql_la_LDFLAGS = $(common_module_ldflags) 172mod_vhostdb_pgsql_la_LIBADD = $(PGSQL_LIBS) $(common_libadd) 173mod_vhostdb_pgsql_la_CPPFLAGS = $(PGSQL_CFLAGS) 174endif 175 176if BUILD_WITH_DBI 177lib_LTLIBRARIES += mod_vhostdb_dbi.la 178mod_vhostdb_dbi_la_SOURCES = mod_vhostdb_dbi.c 179mod_vhostdb_dbi_la_LDFLAGS = $(common_module_ldflags) 180mod_vhostdb_dbi_la_LIBADD = $(DBI_LIBS) $(common_libadd) 181mod_vhostdb_dbi_la_CPPFLAGS = $(DBI_CFLAGS) 182endif 183 184lib_LTLIBRARIES += mod_cgi.la 185mod_cgi_la_SOURCES = mod_cgi.c 186mod_cgi_la_LDFLAGS = $(common_module_ldflags) 187mod_cgi_la_LIBADD = $(common_libadd) 188 189lib_LTLIBRARIES += mod_dirlisting.la 190mod_dirlisting_la_SOURCES = mod_dirlisting.c 191mod_dirlisting_la_LDFLAGS = $(common_module_ldflags) 192mod_dirlisting_la_LIBADD = $(common_libadd) 193 194lib_LTLIBRARIES += mod_userdir.la 195mod_userdir_la_SOURCES = mod_userdir.c 196mod_userdir_la_LDFLAGS = $(common_module_ldflags) 197mod_userdir_la_LIBADD = $(common_libadd) 198 199lib_LTLIBRARIES += mod_rrdtool.la 200mod_rrdtool_la_SOURCES = mod_rrdtool.c 201mod_rrdtool_la_LDFLAGS = $(common_module_ldflags) 202mod_rrdtool_la_LIBADD = $(common_libadd) 203 204lib_LTLIBRARIES += mod_proxy.la 205mod_proxy_la_SOURCES = mod_proxy.c 206mod_proxy_la_LDFLAGS = $(common_module_ldflags) 207mod_proxy_la_LIBADD = $(common_libadd) 208 209lib_LTLIBRARIES += mod_sockproxy.la 210mod_sockproxy_la_SOURCES = mod_sockproxy.c 211mod_sockproxy_la_LDFLAGS = $(common_module_ldflags) 212mod_sockproxy_la_LIBADD = $(common_libadd) 213 214lib_LTLIBRARIES += mod_ssi.la 215mod_ssi_la_SOURCES = mod_ssi.c 216mod_ssi_la_LDFLAGS = $(common_module_ldflags) 217mod_ssi_la_LIBADD = $(common_libadd) 218 219lib_LTLIBRARIES += mod_ajp13.la 220mod_ajp13_la_SOURCES = mod_ajp13.c 221mod_ajp13_la_LDFLAGS = $(common_module_ldflags) 222mod_ajp13_la_LIBADD = $(common_libadd) 223 224lib_LTLIBRARIES += mod_extforward.la 225mod_extforward_la_SOURCES = mod_extforward.c 226mod_extforward_la_LDFLAGS = $(common_module_ldflags) 227mod_extforward_la_LIBADD = $(common_libadd) 228 229lib_LTLIBRARIES += mod_deflate.la 230mod_deflate_la_SOURCES = mod_deflate.c 231mod_deflate_la_LDFLAGS = $(BROTLI_CFLAGS) $(common_module_ldflags) 232mod_deflate_la_LIBADD = $(Z_LIB) $(ZSTD_LIB) $(BZ_LIB) $(BROTLI_LIBS) $(DEFLATE_LIBS) $(common_libadd) 233 234lib_LTLIBRARIES += mod_auth.la 235mod_auth_la_SOURCES = mod_auth.c 236if !NO_RDYNAMIC 237mod_auth_la_SOURCES += mod_auth_api.c 238endif 239mod_auth_la_LDFLAGS = $(common_module_ldflags) 240mod_auth_la_LIBADD = $(CRYPTO_LIB) $(common_libadd) 241 242lib_LTLIBRARIES += mod_authn_file.la 243mod_authn_file_la_SOURCES = mod_authn_file.c 244mod_authn_file_la_LDFLAGS = $(common_module_ldflags) 245mod_authn_file_la_LIBADD = $(CRYPT_LIB) $(CRYPTO_LIB) $(common_libadd) 246 247if BUILD_WITH_DBI 248lib_LTLIBRARIES += mod_authn_dbi.la 249mod_authn_dbi_la_SOURCES = mod_authn_dbi.c 250mod_authn_dbi_la_LDFLAGS = $(common_module_ldflags) 251mod_authn_dbi_la_LIBADD = $(CRYPT_LIB) $(DBI_LIBS) $(CRYPTO_LIB) $(common_libadd) 252mod_authn_dbi_la_CPPFLAGS = $(DBI_CFLAGS) 253endif 254 255if BUILD_WITH_KRB5 256lib_LTLIBRARIES += mod_authn_gssapi.la 257mod_authn_gssapi_la_SOURCES = mod_authn_gssapi.c 258mod_authn_gssapi_la_LDFLAGS = $(common_module_ldflags) 259mod_authn_gssapi_la_LIBADD = $(KRB5_LIB) $(common_libadd) 260endif 261 262if BUILD_WITH_LDAP 263lib_LTLIBRARIES += mod_authn_ldap.la 264mod_authn_ldap_la_SOURCES = mod_authn_ldap.c 265mod_authn_ldap_la_LDFLAGS = $(common_module_ldflags) 266mod_authn_ldap_la_LIBADD = $(LDAP_LIB) $(LBER_LIB) $(common_libadd) 267endif 268 269if BUILD_WITH_PAM 270lib_LTLIBRARIES += mod_authn_pam.la 271mod_authn_pam_la_SOURCES = mod_authn_pam.c 272mod_authn_pam_la_LDFLAGS = $(common_module_ldflags) 273mod_authn_pam_la_LIBADD = $(PAM_LIB) $(common_libadd) 274endif 275 276if BUILD_WITH_SASL 277lib_LTLIBRARIES += mod_authn_sasl.la 278mod_authn_sasl_la_SOURCES = mod_authn_sasl.c 279mod_authn_sasl_la_LDFLAGS = $(common_module_ldflags) 280mod_authn_sasl_la_LIBADD = $(SASL_LIBS) $(common_libadd) 281mod_authn_sasl_la_CPPFLAGS = $(SASL_CFLAGS) 282endif 283 284if BUILD_WITH_OPENSSL 285lib_LTLIBRARIES += mod_openssl.la 286mod_openssl_la_SOURCES = mod_openssl.c 287mod_openssl_la_LDFLAGS = $(common_module_ldflags) 288mod_openssl_la_LIBADD = $(OPENSSL_LIBS) $(common_libadd) 289mod_openssl_la_CPPFLAGS = $(OPENSSL_CFLAGS) 290endif 291 292if BUILD_WITH_MBEDTLS 293lib_LTLIBRARIES += mod_mbedtls.la 294mod_mbedtls_la_SOURCES = mod_mbedtls.c 295mod_mbedtls_la_LDFLAGS = $(common_module_ldflags) 296mod_mbedtls_la_LIBADD = $(MTLS_LIBS) $(common_libadd) 297endif 298 299if BUILD_WITH_GNUTLS 300lib_LTLIBRARIES += mod_gnutls.la 301mod_gnutls_la_SOURCES = mod_gnutls.c 302mod_gnutls_la_LDFLAGS = $(common_module_ldflags) 303mod_gnutls_la_LIBADD = $(GNUTLS_LIBS) $(common_libadd) 304mod_gnutls_la_CPPFLAGS = $(GNUTLS_CFLAGS) 305endif 306 307if BUILD_WITH_NSS 308lib_LTLIBRARIES += mod_nss.la 309mod_nss_la_SOURCES = mod_nss.c 310mod_nss_la_LDFLAGS = $(common_module_ldflags) 311mod_nss_la_LIBADD = $(NSS_LIBS) $(common_libadd) 312mod_nss_la_CPPFLAGS = $(NSS_CFLAGS) 313endif 314 315if BUILD_WITH_WOLFSSL 316lib_LTLIBRARIES += mod_wolfssl.la 317mod_wolfssl_la_SOURCES = mod_wolfssl.c 318mod_wolfssl_la_LDFLAGS = $(common_module_ldflags) 319mod_wolfssl_la_LIBADD = $(WOLFSSL_LIBS) $(common_libadd) 320mod_wolfssl_la_CPPFLAGS = $(WOLFSSL_CFLAGS) 321endif 322 323lib_LTLIBRARIES += mod_status.la 324mod_status_la_SOURCES = mod_status.c 325mod_status_la_LDFLAGS = $(common_module_ldflags) 326mod_status_la_LIBADD = $(common_libadd) 327 328lib_LTLIBRARIES += mod_accesslog.la 329mod_accesslog_la_SOURCES = mod_accesslog.c 330mod_accesslog_la_LDFLAGS = $(common_module_ldflags) 331mod_accesslog_la_LIBADD = $(common_libadd) 332 333lib_LTLIBRARIES += mod_wstunnel.la 334mod_wstunnel_la_SOURCES = mod_wstunnel.c 335mod_wstunnel_la_LDFLAGS = $(common_module_ldflags) 336mod_wstunnel_la_LIBADD = $(common_libadd) $(CRYPTO_LIB) 337 338endif # !LIGHTTPD_STATIC 339 340 341hdr = base64.h buffer.h burl.h network.h log.h http_kv.h keyvalue.h \ 342 response.h request.h reqpool.h chunk.h h2.h \ 343 first.h http_chunk.h \ 344 algo_hmac.h \ 345 algo_md.h algo_md5.h algo_sha1.h algo_splaytree.h algo_xxhash.h \ 346 fdlog.h \ 347 ck.h \ 348 http_cgi.h http_date.h \ 349 http_header.h http_range.h \ 350 fdevent.h gw_backend.h connections.h base.h base_decls.h stat_cache.h \ 351 plugin.h plugins.h plugin_config.h \ 352 http_etag.h array.h \ 353 fdevent_impl.h network_write.h configfile.h \ 354 sock_addr_cache.h \ 355 configparser.h \ 356 rand.h \ 357 sys-crypto.h sys-crypto-md.h \ 358 sys-endian.h sys-mmap.h sys-setjmp.h \ 359 sys-socket.h sys-strings.h sys-time.h \ 360 sock_addr.h \ 361 mod_auth_api.h \ 362 mod_magnet_cache.h \ 363 mod_vhostdb_api.h \ 364 ls-hpack/lshpack.h \ 365 ls-hpack/lsxpack_header.h \ 366 ls-hpack/huff-tables.h \ 367 compat/fastcgi.h 368 369 370DEFS= @DEFS@ -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"$(libdir)\"" -DSBIN_DIR="\"$(sbindir)\"" 371 372 373if LIGHTTPD_STATIC 374 375## static lighttpd server (used in conjunction with -DLIGHTTPD_STATIC) 376## (order is not important) 377lighttpd_SOURCES = \ 378 $(src) \ 379 mod_access.c \ 380 mod_accesslog.c \ 381 mod_ajp13.c \ 382 mod_alias.c \ 383 mod_auth.c \ 384 mod_auth_api.c \ 385 mod_authn_file.c \ 386 mod_cgi.c \ 387 mod_deflate.c \ 388 mod_dirlisting.c \ 389 mod_evhost.c \ 390 mod_expire.c \ 391 mod_extforward.c \ 392 mod_fastcgi.c \ 393 mod_indexfile.c \ 394 mod_proxy.c \ 395 mod_redirect.c \ 396 mod_rewrite.c \ 397 mod_rrdtool.c \ 398 mod_scgi.c \ 399 mod_setenv.c \ 400 mod_simple_vhost.c \ 401 mod_sockproxy.c \ 402 mod_ssi.c \ 403 mod_staticfile.c \ 404 mod_status.c \ 405 mod_userdir.c \ 406 mod_vhostdb.c \ 407 mod_vhostdb_api.c \ 408 mod_webdav.c 409lighttpd_CPPFLAGS = \ 410 -DLIGHTTPD_STATIC \ 411 $(XML_CFLAGS) $(SQLITE_CFLAGS) \ 412 $(FAM_CFLAGS) $(LIBEV_CFLAGS) $(LIBUNWIND_CFLAGS) 413lighttpd_LDADD = \ 414 $(common_libadd) \ 415 $(CRYPT_LIB) $(CRYPTO_LIB) $(XXHASH_LIBS) \ 416 $(XML_LIBS) $(SQLITE_LIBS) $(UUID_LIBS) $(ELFTC_LIB) \ 417 $(PCRE_LIB) $(Z_LIB) $(ZSTD_LIB) $(BZ_LIB) $(BROTLI_LIBS) $(DEFLATE_LIBS) \ 418 $(DL_LIB) $(SENDFILE_LIB) $(ATTR_LIB) \ 419 $(FAM_LIBS) $(LIBEV_LIBS) $(LIBUNWIND_LIBS) 420lighttpd_LDFLAGS = -export-dynamic 421 422if BUILD_WITH_MAXMINDDB 423lighttpd_SOURCES += mod_maxminddb.c 424lighttpd_LDADD += $(MAXMINDDB_LIB) 425endif 426if BUILD_WITH_LUA 427lighttpd_SOURCES += mod_magnet.c mod_magnet_cache.c 428 #algo_hmac.c 429lighttpd_CPPFLAGS += $(LUA_CFLAGS) 430lighttpd_LDADD += $(LUA_LIBS) -lm 431endif 432if BUILD_WITH_KRB5 433lighttpd_SOURCES += mod_authn_gssapi.c 434lighttpd_LDADD += $(KRB5_LIB) 435endif 436if BUILD_WITH_LDAP 437lighttpd_SOURCES += mod_authn_ldap.c mod_vhostdb_ldap.c 438lighttpd_LDADD += $(LDAP_LIB) $(LBER_LIB) 439endif 440if BUILD_WITH_PAM 441lighttpd_SOURCES += mod_authn_pam.c 442lighttpd_LDADD += $(PAM_LIB) 443endif 444if BUILD_WITH_MYSQL 445lighttpd_SOURCES += mod_vhostdb_mysql.c 446lighttpd_CPPFLAGS += $(MYSQL_CFLAGS) 447lighttpd_LDADD += $(MYSQL_LIBS) 448endif 449if BUILD_WITH_PGSQL 450lighttpd_SOURCES += mod_vhostdb_pgsql.c 451lighttpd_CPPFLAGS += $(PGSQL_CFLAGS) 452lighttpd_LDADD += $(PGSQL_LIBS) 453endif 454if BUILD_WITH_DBI 455lighttpd_SOURCES += mod_authn_dbi.c mod_vhostdb_dbi.c 456lighttpd_CPPFLAGS += $(DBI_CFLAGS) 457lighttpd_LDADD += $(DBI_LIBS) 458endif 459if BUILD_WITH_OPENSSL 460lighttpd_SOURCES += mod_openssl.c 461lighttpd_CPPFLAGS += $(OPENSSL_CFLAGS) 462lighttpd_LDADD += $(OPENSSL_LIBS) 463endif 464if BUILD_WITH_MBEDTLS 465lighttpd_SOURCES += mod_mbedtls.c 466lighttpd_LDADD += $(MTLS_LIBS) 467endif 468if BUILD_WITH_GNUTLS 469lighttpd_SOURCES += mod_gnutls.c 470lighttpd_CPPFLAGS += $(GNUTLS_CFLAGS) 471lighttpd_LDADD += $(GNUTLS_LIBS) 472endif 473if BUILD_WITH_NSS 474lighttpd_SOURCES += mod_nss.c 475lighttpd_CPPFLAGS += $(NSS_CFLAGS) 476lighttpd_LDADD += $(NSS_LIBS) 477endif 478if BUILD_WITH_WOLFSSL 479lighttpd_SOURCES += mod_wolfssl.c 480lighttpd_CPPFLAGS += $(WOLFSSL_CFLAGS) 481lighttpd_LDADD += $(WOLFSSL_LIBS) 482endif 483 484else 485 486## default lighttpd server 487lighttpd_SOURCES = $(src) 488lighttpd_CPPFLAGS = $(FAM_CFLAGS) $(LIBEV_CFLAGS) 489lighttpd_LDADD = $(PCRE_LIB) $(DL_LIB) $(SENDFILE_LIB) $(ATTR_LIB) $(common_libadd) $(CRYPTO_LIB) $(XXHASH_LIBS) $(FAM_LIBS) $(LIBEV_LIBS) $(LIBUNWIND_LIBS) 490lighttpd_LDFLAGS = -export-dynamic 491 492endif 493 494t_test_common_SOURCES = t/test_common.c \ 495 t/test_array.c \ 496 t/test_base64.c \ 497 t/test_buffer.c \ 498 t/test_burl.c \ 499 t/test_http_header.c \ 500 t/test_http_kv.c \ 501 t/test_keyvalue.c \ 502 t/test_request.c \ 503 log.c \ 504 fdlog.c \ 505 sock_addr.c \ 506 ck.c 507t_test_common_LDADD = $(LIBUNWIND_LIBS) $(PCRE_LIB) 508 509t_test_configfile_SOURCES = t/test_configfile.c buffer.c array.c data_config.c http_header.c http_kv.c log.c fdlog.c sock_addr.c ck.c 510t_test_configfile_LDADD = $(PCRE_LIB) $(LIBUNWIND_LIBS) 511 512t_test_mod_SOURCES = $(common_src) t/test_mod.c \ 513 t/test_mod_access.c \ 514 t/test_mod_alias.c \ 515 t/test_mod_evhost.c \ 516 t/test_mod_indexfile.c \ 517 t/test_mod_simple_vhost.c \ 518 t/test_mod_ssi.c \ 519 t/test_mod_staticfile.c \ 520 t/test_mod_userdir.c 521t_test_mod_CFLAGS = $(AM_CFLAGS) $(LIBEV_CFLAGS) 522t_test_mod_LDADD = $(LIBUNWIND_LIBS) $(PCRE_LIB) $(CRYPTO_LIB) $(DL_LIB) $(FAM_LIBS) $(LIBEV_LIBS) $(ATTR_LIB) 523 524noinst_HEADERS = $(hdr) 525EXTRA_DIST = \ 526 t/README \ 527 mod_skeleton.c \ 528 configparser.y \ 529 lemon.c \ 530 lempar.c \ 531 SConscript \ 532 CMakeLists.txt config.h.cmake \ 533 meson.build 534