From 754ab339469cdf8b55b82f4c896c4e15876551db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 6 Jan 2023 13:10:56 +0100 Subject: core: remove build with autotools CMake is now the only way to build WeeChat. --- src/gui/Makefile.am | 70 ------------------------------------- src/gui/curses/Makefile.am | 30 ---------------- src/gui/curses/headless/Makefile.am | 57 ------------------------------ src/gui/curses/normal/Makefile.am | 64 --------------------------------- 4 files changed, 221 deletions(-) delete mode 100644 src/gui/Makefile.am delete mode 100644 src/gui/curses/Makefile.am delete mode 100644 src/gui/curses/headless/Makefile.am delete mode 100644 src/gui/curses/normal/Makefile.am (limited to 'src/gui') diff --git a/src/gui/Makefile.am b/src/gui/Makefile.am deleted file mode 100644 index b1870ec0d..000000000 --- a/src/gui/Makefile.am +++ /dev/null @@ -1,70 +0,0 @@ -# -# Copyright (C) 2003-2023 Sébastien Helleu -# -# This file is part of WeeChat, the extensible chat client. -# -# WeeChat is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# WeeChat is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with WeeChat. If not, see . -# - -AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" - -noinst_LIBRARIES = lib_weechat_gui_common.a - -lib_weechat_gui_common_a_SOURCES = gui-bar.c \ - gui-bar.h \ - gui-bar-item.c \ - gui-bar-item.h \ - gui-bar-item-custom.c \ - gui-bar-item-custom.h \ - gui-bar-window.c \ - gui-bar-window.h \ - gui-buffer.c \ - gui-buffer.h \ - gui-chat.c \ - gui-chat.h \ - gui-color.c \ - gui-color.h \ - gui-cursor.c \ - gui-cursor.h \ - gui-completion.c \ - gui-completion.h \ - gui-filter.c \ - gui-filter.h \ - gui-focus.c \ - gui-focus.h \ - gui-history.c \ - gui-history.h \ - gui-hotlist.c \ - gui-hotlist.h \ - gui-input.c \ - gui-input.h \ - gui-key.c \ - gui-key.h \ - gui-layout.c \ - gui-layout.h \ - gui-line.c \ - gui-line.h \ - gui-main.h \ - gui-mouse.c \ - gui-mouse.h \ - gui-nick.c \ - gui-nick.h \ - gui-nicklist.c \ - gui-nicklist.h \ - gui-window.c \ - gui-window.h - -SUBDIRS = . curses - -EXTRA_DIST = CMakeLists.txt diff --git a/src/gui/curses/Makefile.am b/src/gui/curses/Makefile.am deleted file mode 100644 index aaf60e3df..000000000 --- a/src/gui/curses/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -# -# Copyright (C) 2003-2023 Sébastien Helleu -# -# This file is part of WeeChat, the extensible chat client. -# -# WeeChat is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# WeeChat is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with WeeChat. If not, see . -# - -if GUI_NCURSES -normal_dir=normal -endif - -if HEADLESS -headless_dir=headless -endif - -SUBDIRS = . $(normal_dir) $(headless_dir) - -EXTRA_DIST = CMakeLists.txt diff --git a/src/gui/curses/headless/Makefile.am b/src/gui/curses/headless/Makefile.am deleted file mode 100644 index c114a8261..000000000 --- a/src/gui/curses/headless/Makefile.am +++ /dev/null @@ -1,57 +0,0 @@ -# -# Copyright (C) 2003-2023 Sébastien Helleu -# -# This file is part of WeeChat, the extensible chat client. -# -# WeeChat is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# WeeChat is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with WeeChat. If not, see . -# - -AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DWEECHAT_HEADLESS - -noinst_LIBRARIES = lib_weechat_ncurses_fake.a lib_weechat_gui_headless.a - -lib_weechat_ncurses_fake_a_SOURCES = ncurses-fake.c \ - ncurses-fake.h - -lib_weechat_gui_headless_a_SOURCES = ../gui-curses-bar-window.c \ - ../gui-curses-chat.c \ - ../gui-curses-color.c \ - ../gui-curses-key.c \ - ../gui-curses-main.c \ - ../gui-curses-mouse.c \ - ../gui-curses-term.c \ - ../gui-curses-window.c \ - ../gui-curses.h - -bin_PROGRAMS = weechat-headless - -# Due to circular references, we must link two times with libweechat_core.a -# (and with two different path/names to be kept by linker) -weechat_headless_LDADD = ./../../../core/lib_weechat_core.a \ - ../../../plugins/lib_weechat_plugins.a \ - ../../lib_weechat_gui_common.a \ - lib_weechat_gui_headless.a \ - lib_weechat_ncurses_fake.a \ - ../../../core/lib_weechat_core.a \ - $(PLUGINS_LFLAGS) \ - $(GCRYPT_LFLAGS) \ - $(GNUTLS_LFLAGS) \ - $(CURL_LFLAGS) \ - $(ZLIB_LFLAGS) \ - $(ZSTD_LFLAGS) \ - -lm - -weechat_headless_SOURCES = main.c - -EXTRA_DIST = CMakeLists.txt diff --git a/src/gui/curses/normal/Makefile.am b/src/gui/curses/normal/Makefile.am deleted file mode 100644 index 1bb1c14df..000000000 --- a/src/gui/curses/normal/Makefile.am +++ /dev/null @@ -1,64 +0,0 @@ -# -# Copyright (C) 2003-2023 Sébastien Helleu -# -# This file is part of WeeChat, the extensible chat client. -# -# WeeChat is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# WeeChat is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with WeeChat. If not, see . -# - -AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(NCURSES_CFLAGS) - -noinst_LIBRARIES = lib_weechat_gui_curses.a - -lib_weechat_gui_curses_a_SOURCES = ../gui-curses-bar-window.c \ - ../gui-curses-chat.c \ - ../gui-curses-color.c \ - ../gui-curses-key.c \ - ../gui-curses-main.c \ - ../gui-curses-mouse.c \ - ../gui-curses-term.c \ - ../gui-curses-window.c \ - ../gui-curses.h - -bin_PROGRAMS = weechat - -# Due to circular references, we must link two times with libweechat_core.a -# (and with two different path/names to be kept by linker) -weechat_LDADD = ./../../../core/lib_weechat_core.a \ - ../../../plugins/lib_weechat_plugins.a \ - ../../lib_weechat_gui_common.a \ - lib_weechat_gui_curses.a \ - ../../../core/lib_weechat_core.a \ - $(PLUGINS_LFLAGS) \ - $(NCURSES_LFLAGS) \ - $(GCRYPT_LFLAGS) \ - $(GNUTLS_LFLAGS) \ - $(CURL_LFLAGS) \ - $(ZLIB_LFLAGS) \ - $(ZSTD_LFLAGS) \ - -lm - -weechat_SOURCES = main.c - -EXTRA_DIST = CMakeLists.txt - -# Create a symbolic link weechat-curses -> weechat -# This link is created for compatibility with old versions on /upgrade. -# It may be removed in future. -install-exec-hook: - (cd '$(DESTDIR)$(bindir)' && $(RM) weechat-curses$(EXEEXT) && $(LN_S) weechat weechat-curses$(EXEEXT)) - -# Remove symbolic link on uninstall -uninstall-hook: - (cd '$(DESTDIR)$(bindir)' && $(RM) weechat-curses$(EXEEXT)) -- cgit v1.2.3