move pop into lib-mx.
authorPierre Habouzit <madcoder@debian.org>
Wed, 28 Nov 2007 16:45:54 +0000 (17:45 +0100)
committerPierre Habouzit <madcoder@debian.org>
Wed, 28 Nov 2007 16:45:54 +0000 (17:45 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
CMakeLists.txt
lib-mx/CMakeLists.txt
lib-mx/pop.c [moved from pop.c with 100% similarity]
lib-mx/pop.h [moved from pop.h with 100% similarity]
lib-ui/curs_main.c

index 68bcb36..d78ab7e 100644 (file)
@@ -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
index ba7a6c8..445cff7 100644 (file)
@@ -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
 )
similarity index 100%
rename from pop.c
rename to lib-mx/pop.c
similarity index 100%
rename from pop.h
rename to lib-mx/pop.h
index 6a40a00..0c1e85e 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <lib-ui/lib-ui.h>
 #include <lib-mx/mx.h>
-#include "pop.h"
+#include <lib-mx/pop.h>
 
 #include "menu.h"