From 799c3f5aec72b8230f9c3c284e2b2e9d67ecf366 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Wed, 28 Nov 2007 17:45:54 +0100 Subject: [PATCH] move pop into lib-mx. Signed-off-by: Pierre Habouzit --- CMakeLists.txt | 3 +-- lib-mx/CMakeLists.txt | 7 ++++--- pop.c => lib-mx/pop.c | 0 pop.h => lib-mx/pop.h | 0 lib-ui/curs_main.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) rename pop.c => lib-mx/pop.c (100%) rename pop.h => lib-mx/pop.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 68bcb36..d78ab7e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -310,7 +310,6 @@ MADMUTT_SOURCES(madmuttsrc madmuttgen mutt_sasl.c pager.c pattern.c - pop.c postpone.c recvattach.c recvcmd.c @@ -325,7 +324,7 @@ MADMUTT_SOURCES(madmuttsrc madmuttgen STRING(REGEX REPLACE ";" " " MUTTLIBS "${MUTTLIBS}") ADD_EXECUTABLE(madmutt ${madmuttsrc}) -TARGET_LINK_LIBRARIES(madmutt mime sys mx lua ui imap lib) +TARGET_LINK_LIBRARIES(madmutt ui mx lua imap mime sys lib) SET_TARGET_PROPERTIES(madmutt PROPERTIES LINK_FLAGS "${MUTTLIBS}" # LINKER_LANGUAGE D diff --git a/lib-mx/CMakeLists.txt b/lib-mx/CMakeLists.txt index ba7a6c8..445cff7 100644 --- a/lib-mx/CMakeLists.txt +++ b/lib-mx/CMakeLists.txt @@ -1,7 +1,8 @@ ADD_LIBRARY(mx - mx.c - mh.c - mbox.c compress.c hcache.c + mbox.c + mh.c + mx.c + pop.c ) diff --git a/pop.c b/lib-mx/pop.c similarity index 100% rename from pop.c rename to lib-mx/pop.c diff --git a/pop.h b/lib-mx/pop.h similarity index 100% rename from pop.h rename to lib-mx/pop.h diff --git a/lib-ui/curs_main.c b/lib-ui/curs_main.c index 6a40a00..0c1e85e 100644 --- a/lib-ui/curs_main.c +++ b/lib-ui/curs_main.c @@ -12,7 +12,7 @@ #include #include -#include "pop.h" +#include #include "menu.h" -- 2.20.1