# # http.pak - Copy development files for the binary installation. # # Copyright (c) Mbedthis LLC, 2003-2004. All Rights Reserved. # # NOTE: Usage: cpmod src dest [perm] [owner.group] SrcD=${BLD_BIN_DIR} DestD=${BLD_SBIN_PREFIX} mkdir -p ${DestD} cpmod ${SrcD}/httpComp ${DestD} 755 SrcD=${BLD_TOP}/http/web DestD=${BLD_WEB_PREFIX} mkdir -p ${DestD} if [ "$BLD_FEATURE_ESP_MODULE" = 1 ] then cpmod ${SrcD}/test.esp ${DestD} cpmod ${SrcD}/testForm.esp ${DestD} fi SrcD=${BLD_TOP}/http DestD=${BLD_INC_PREFIX} mkdir -p ${DestD} cpmod ${SrcD}/client.h cpmod ${SrcD}/http.h cpmod ${SrcD}/shared.h if [ "$BLD_FEATURE_C_API_MODULE" = 1 ] then cpmod ${SrcD}/capi.h fi if [ "$BLD_FEATURE_COMPAT_MODULE" = 1 ] then cpmod ${SrcD}/compatApi.h fi SrcD=${BLD_TOP}/http/modules DestD=${BLD_INC_PREFIX} mkdir -p ${DestD} if [ "$BLD_FEATURE_ADMIN_MODULE" = 1 ] then cpmod ${SrcD}/adminHandler.h fi if [ "$BLD_FEATURE_AUTH_MODULE" = 1 ] then cpmod ${SrcD}/authHandler.h fi if [ "$BLD_FEATURE_CGI_MODULE" = 1 ] then cpmod ${SrcD}/cgiHandler.h fi if [ "$BLD_FEATURE_COMPAT_MODULE" = 1 ] then cpmod ${SrcD}/compatModule.h fi if [ "$BLD_FEATURE_COPY_MODULE" = 1 ] then cpmod ${SrcD}/copyHandler.h fi if [ "$BLD_FEATURE_EGI_MODULE" = 1 ] then cpmod ${SrcD}/egiHandler.h fi if [ "$BLD_FEATURE_EJS_MODULE" = 1 ] then cpmod ${SrcD}/ejsModule.h fi if [ "$BLD_FEATURE_ESP_MODULE" = 1 ] then cpmod ${SrcD}/espHandler.h fi if [ "$BLD_FEATURE_SSL_MODULE" = 1 ] then cpmod ${SrcD}/sslModule.h fi if [ "$BLD_FEATURE_UPLOAD_MODULE" = 1 ] then cpmod ${SrcD}/uploadHandler.h fi SrcD=${BLD_TOP}/http/modules/openSsl DestD=${BLD_INC_PREFIX} mkdir -p ${DestD} if [ "$BLD_FEATURE_OPENSSL_MODULE" = 1 ] then cpmod ${SrcD}/openSslModule.h fi SrcD=${BLD_TOP}/http/modules/php4 DestD=${BLD_INC_PREFIX} mkdir -p ${DestD} if [ "$BLD_FEATURE_PHP4_MODULE" = 1 ] then cpmod ${SrcD}/php4Handler.h fi SrcD=${BLD_TOP}/http/modules/php5 DestD=${BLD_INC_PREFIX} mkdir -p ${DestD} if [ "$BLD_FEATURE_PHP5_MODULE" = 1 ] then cpmod ${SrcD}/php5Handler.h fi