From: <dg...@su...> - 2009-01-10 22:12:45
|
Author: dgollub Date: Sat Jan 10 22:34:02 2009 New Revision: 5075 URL: http://www.opensync.org/changeset/5075 Log: Add file-/plain-format to build environment. Dropped config.h include, since there is no declaration inside file-format plugin which has influence on any conditional. Modified: plugins/file-sync/src/CMakeLists.txt plugins/file-sync/src/file.c Modified: plugins/file-sync/src/CMakeLists.txt ============================================================================== --- plugins/file-sync/src/CMakeLists.txt Sat Jan 10 22:31:15 2009 (r5074) +++ plugins/file-sync/src/CMakeLists.txt Sat Jan 10 22:34:02 2009 (r5075) @@ -3,9 +3,20 @@ OPENSYNC_PLUGIN_ADD( file-sync file_sync.c ) + +OPENSYNC_FORMAT_ADD( file file.c ) +OPENSYNC_FORMAT_ADD( plain plain.c ) + TARGET_LINK_LIBRARIES( file-sync ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} ${LIBXML2_LIBRARIES} ) +TARGET_LINK_LIBRARIES( file ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} ) +TARGET_LINK_LIBRARIES( plain ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} ) + ###### INSTALL ################### OPENSYNC_PLUGIN_INSTALL( file-sync ) OPENSYNC_PLUGIN_CONFIG( file-sync ) + +OPENSYNC_FORMAT_INSTALL( file ) +OPENSYNC_FORMAT_INSTALL( plain ) + Modified: plugins/file-sync/src/file.c ============================================================================== --- plugins/file-sync/src/file.c Sat Jan 10 22:31:15 2009 (r5074) +++ plugins/file-sync/src/file.c Sat Jan 10 22:34:02 2009 (r5075) @@ -18,8 +18,6 @@ * */ -#include "config.h" - #include <string.h> #include <glib.h> |