diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-07-20 18:53:13 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-07-20 18:53:13 +0200 |
commit | f2fd562d79d9baabacac2f5c1362c692535f53b6 (patch) | |
tree | e7e6356bf13cd7a8687fdf3e3a72e4f5960e1d4f /src | |
parent | 3600b3118840b21cf67b6a48926a900b05f1c7f0 (diff) | |
download | weechat-f2fd562d79d9baabacac2f5c1362c692535f53b6.zip |
core: fix build with autotools (add main.c)
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/curses/Makefile.am | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/src/gui/curses/Makefile.am b/src/gui/curses/Makefile.am index 85da9e34f..b31073f39 100644 --- a/src/gui/curses/Makefile.am +++ b/src/gui/curses/Makefile.am @@ -19,6 +19,18 @@ 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 # Because of a linker bug, we have to link 2 times with lib_weechat_core.a @@ -26,6 +38,7 @@ bin_PROGRAMS = weechat 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) \ @@ -34,15 +47,7 @@ weechat_LDADD = ./../../core/lib_weechat_core.a \ $(CURL_LFLAGS) \ -lm -weechat_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 +weechat_SOURCES = main.c EXTRA_DIST = CMakeLists.txt |