ARG_ENABLE("phady", "enable phady", "no");
if (PHP_PHADY != "no") {
EXTENSION("phady", "phady.c", null, "-I"+configure_module_dirname);
ADD_SOURCES(configure_module_dirname + "/kernel", "main.c memory.c exception.c hash.c debug.c backtrace.c object.c array.c string.c fcall.c require.c file.c operators.c math.c concat.c variables.c filter.c iterator.c exit.c time.c", "phady");
ADD_SOURCES(configure_module_dirname + "/kernel/extended", "array.c fcall.c", "phady");
/* PCRE is always included on WIN32 */
AC_DEFINE("ZEPHIR_USE_PHP_PCRE", 1, "Whether PHP pcre extension is present at compile time");
if (PHP_JSON != "no") {
ADD_EXTENSION_DEP("phady", "json");
AC_DEFINE("ZEPHIR_USE_PHP_JSON", 1, "Whether PHP json extension is present at compile time");
}
ADD_SOURCES(configure_module_dirname + "/phady/security/core/exception", "authenticationexception.zep.c accountstatusexception.zep.c authenticationserviceexception.zep.c accessdeniedexception.zep.c accountexpiredexception.zep.c authenticationcredentialsnotfoundexception.zep.c badcredentialsexception.zep.c credentialsexpiredexception.zep.c disabledexception.zep.c insufficientauthenticationexception.zep.c invalidcsrftokenexception.zep.c lockedexception.zep.c logoutexception.zep.c providernotfoundexception.zep.c unsupporteduserexception.zep.c usernamenotfoundexception.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/common/entities", "modelbase.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/http/firewall", "listenerinterface.zep.c abstractauthenticationlistener.zep.c accesslistener.zep.c anonymousauthenticationlistener.zep.c channellistener.zep.c contextlistener.zep.c exceptionlistener.zep.c logoutlistener.zep.c usernamepasswordformauthenticationlistener.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/authentication", "authenticationmanagerinterface.zep.c authenticationtrustresolverinterface.zep.c authenticationprovidermanager.zep.c authenticationtrustresolver.zep.c simpleauthenticatorinterface.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/user", "userinterface.zep.c userproviderinterface.zep.c advanceduserinterface.zep.c usercheckerinterface.zep.c chainuserprovider.zep.c equatableinterface.zep.c inmemoryuserprovider.zep.c user.zep.c userchecker.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/authentication/provider", "authenticationproviderinterface.zep.c userauthenticationprovider.zep.c anonymousauthenticationprovider.zep.c daoauthenticationprovider.zep.c entityuserprovider.zep.c simpleauthenticationprovider.zep.c userprovider.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/authentication/token", "tokeninterface.zep.c abstracttoken.zep.c anonymoustoken.zep.c remembermetoken.zep.c usernamepasswordtoken.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/authorization/voter", "voterinterface.zep.c rolevoter.zep.c abstractvoter.zep.c authenticatedvoter.zep.c rolehierarchyvoter.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/encoder", "passwordencoderinterface.zep.c basepasswordencoder.zep.c encoderfactoryinterface.zep.c bcryptpasswordencoder.zep.c encoderawareinterface.zep.c encoderfactory.zep.c messagedigestpasswordencoder.zep.c plaintextpasswordencoder.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/core", "kernel.zep.c kernelcli.zep.c kernelmvc.zep.c namespacehandler.zep.c parameter.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/role", "roleinterface.zep.c role.zep.c rolehierarchyinterface.zep.c switchuserrole.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/user/factory", "userproviderfactoryinterface.zep.c entityfactory.zep.c inmemoryfactory.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/factory", "securityfactoryinterface.zep.c abstractfactory.zep.c formloginfactory.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/http", "firewallmapinterface.zep.c accessmapinterface.zep.c accessmap.zep.c firewallmap.zep.c securityevents.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/cache", "cacheinterface.zep.c cachehandler.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/http", "requestmatcherinterface.zep.c iputils.zep.c requestmatcher.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/messaging/adapter", "messaginginterface.zep.c rabbitmq.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/authentication/model", "userinterface.zep.c user.zep.c usermanagerinterface.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/authentication/token/storage", "tokenstorageinterface.zep.c tokenstorage.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/authorization", "accessdecisionmanagerinterface.zep.c authorizationcheckerinterface.zep.c accessdecisionmanager.zep.c authorizationchecker.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/http/authentication", "authenticationfailurehandlerinterface.zep.c authenticationsuccesshandlerinterface.zep.c defaultauthenticationfailurehandler.zep.c defaultauthenticationsuccesshandler.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/http/authorization", "accessdeniedhandlerinterface.zep.c accessdeniedlistener.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/http/entrypoint", "authenticationentrypointinterface.zep.c formauthenticationentrypoint.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/http/logout", "logouthandlerinterface.zep.c logoutsuccesshandlerinterface.zep.c defaultlogoutsuccesshandler.zep.c sessionlogouthandler.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/common/controllers", "accessdeniedcontroller.zep.c controllerbase.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/config", "yaml.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/console", "command.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/db", "databasehandler.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady", "exception.zep.c version.zep.c 0__closure.zep.c 1__closure.zep.c 2__closure.zep.c 3__closure.zep.c 4__closure.zep.c 5__closure.zep.c 6__closure.zep.c 7__closure.zep.c 8__closure.zep.c 9__closure.zep.c 10__closure.zep.c 11__closure.zep.c 12__closure.zep.c 13__closure.zep.c 14__closure.zep.c 15__closure.zep.c 16__closure.zep.c 17__closure.zep.c 18__closure.zep.c 19__closure.zep.c 20__closure.zep.c 21__closure.zep.c 22__closure.zep.c 23__closure.zep.c 24__closure.zep.c 25__closure.zep.c 26__closure.zep.c 27__closure.zep.c 28__closure.zep.c 29__closure.zep.c 30__closure.zep.c 31__closure.zep.c 32__closure.zep.c 33__closure.zep.c 34__closure.zep.c 35__closure.zep.c 36__closure.zep.c 37__closure.zep.c 38__closure.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/mail", "mailreader.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/messaging", "messaging.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/report/excel/template", "excelmultitable.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/route", "router.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/bundle/model/entity", "roles.zep.c userrole.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/bundle/model/repository", "rolerepository.zep.c userrepository.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/bundle/model", "rolecore.zep.c usercore.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/bundle/services", "userservice.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core", "authenticationevents.zep.c security.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/models/entities", "actions.zep.c groups.zep.c modules.zep.c permissions.zep.c resources.zep.c user.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/models", "exception.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/core/models/repositories", "users.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/eventlistener", "securitylistener.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security", "exception.zep.c firewall.zep.c firewallcontext.zep.c firewallmap.zep.c phadyuserextension.zep.c securityextension.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/security/http/event", "interactiveloginevent.zep.c", "phady");
ADD_SOURCES(configure_module_dirname + "/phady/util", "datetime.zep.c file.zep.c model.zep.c out.zep.c random.zep.c text.zep.c tools.zep.c uuid.zep.c", "phady");
ADD_FLAG("CFLAGS_PHADY", "/D ZEPHIR_RELEASE");
}
|