Skip to content

Commit

Permalink
Optimize config.m4
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Dec 15, 2023
1 parent fc68071 commit eb9a16e
Showing 1 changed file with 3 additions and 112 deletions.
115 changes: 3 additions & 112 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -1009,118 +1009,9 @@ EOF
AC_DEFINE(SW_USE_MYSQLND, 1, [use mysqlnd])
fi

swoole_source_file=" \
ext-src/php_swoole.cc \
ext-src/php_swoole_cxx.cc \
ext-src/swoole_admin_server.cc \
ext-src/swoole_async_coro.cc \
ext-src/swoole_atomic.cc \
ext-src/swoole_channel_coro.cc \
ext-src/swoole_client.cc \
ext-src/swoole_client_coro.cc \
ext-src/swoole_coroutine.cc \
ext-src/swoole_coroutine_scheduler.cc \
ext-src/swoole_coroutine_system.cc \
ext-src/swoole_curl.cc \
ext-src/swoole_event.cc \
ext-src/swoole_http2_client_coro.cc \
ext-src/swoole_http2_server.cc \
ext-src/swoole_http_client_coro.cc \
ext-src/swoole_http_request.cc \
ext-src/swoole_http_response.cc \
ext-src/swoole_http_server.cc \
ext-src/swoole_http_server_coro.cc \
ext-src/swoole_lock.cc \
ext-src/swoole_mysql_coro.cc \
ext-src/swoole_mysql_proto.cc \
ext-src/swoole_name_resolver.cc \
ext-src/swoole_postgresql_coro.cc \
ext-src/swoole_pgsql.cc \
ext-src/swoole_odbc.cc \
ext-src/swoole_oracle.cc \
ext-src/swoole_sqlite.cc \
ext-src/swoole_process.cc \
ext-src/swoole_process_pool.cc \
ext-src/swoole_redis_coro.cc \
ext-src/swoole_redis_server.cc \
ext-src/swoole_runtime.cc \
ext-src/swoole_server.cc \
ext-src/swoole_server_port.cc \
ext-src/swoole_socket_coro.cc \
ext-src/swoole_table.cc \
ext-src/swoole_timer.cc \
ext-src/swoole_websocket_server.cc \
src/core/base.cc \
src/core/base64.cc \
src/core/channel.cc \
src/core/crc32.cc \
src/core/error.cc \
src/core/heap.cc \
src/core/log.cc \
src/core/string.cc \
src/core/timer.cc \
src/coroutine/base.cc \
src/coroutine/channel.cc \
src/coroutine/context.cc \
src/coroutine/file_lock.cc \
src/coroutine/hook.cc \
src/coroutine/socket.cc \
src/coroutine/system.cc \
src/coroutine/thread_context.cc \
src/lock/mutex.cc \
src/lock/rw_lock.cc \
src/lock/spin_lock.cc \
src/memory/buffer.cc \
src/memory/fixed_pool.cc \
src/memory/global_memory.cc \
src/memory/ring_buffer.cc \
src/memory/shared_memory.cc \
src/memory/table.cc \
src/network/address.cc \
src/network/client.cc \
src/network/dns.cc \
src/network/socket.cc \
src/network/stream.cc \
src/os/async_thread.cc \
src/os/base.cc \
src/os/file.cc \
src/os/msg_queue.cc \
src/os/pipe.cc \
src/os/process_pool.cc \
src/os/sendfile.cc \
src/os/signal.cc \
src/os/timer.cc \
src/os/unix_socket.cc \
src/os/wait.cc \
src/protocol/base.cc \
src/protocol/dtls.cc \
src/protocol/http.cc \
src/protocol/http2.cc \
src/protocol/message_bus.cc \
src/protocol/mime_type.cc \
src/protocol/mqtt.cc \
src/protocol/redis.cc \
src/protocol/socks5.cc \
src/protocol/ssl.cc \
src/protocol/websocket.cc \
src/reactor/base.cc \
src/reactor/epoll.cc \
src/reactor/kqueue.cc \
src/reactor/poll.cc \
src/reactor/select.cc \
src/server/base.cc \
src/server/manager.cc \
src/server/master.cc \
src/server/port.cc \
src/server/process.cc \
src/server/reactor_process.cc \
src/server/reactor_thread.cc \
src/server/static_handler.cc \
src/server/task_worker.cc \
src/server/worker.cc \
src/wrapper/event.cc \
src/wrapper/http.cc \
src/wrapper/timer.cc"
ext_src_files=$(find ext-src/ -name *.cc)
lib_src_files=$(find src/ -name *.cc)
swoole_source_file="${ext_src_files} ${lib_src_files}"

swoole_source_file="$swoole_source_file \
thirdparty/php/curl/interface.cc \
Expand Down

0 comments on commit eb9a16e

Please sign in to comment.