|
|
@@ -210,21 +210,24 @@ endif ( USE_SSL )
|
|
|
add_dependencies ( lsearchd vergen )
|
|
|
|
|
|
# our executables
|
|
|
-add_executable ( indexer ${INDEXER_SRCS} )
|
|
|
-add_executable ( indextool ${INDEXTOOL_SRCS} )
|
|
|
-add_executable ( searchd searchd.cpp )
|
|
|
-add_executable ( spelldump ${SPELLDUMP_SRCS} )
|
|
|
-add_executable ( wordbreaker ${WORDBREAKER_SRCS} )
|
|
|
-add_executable ( index_converter ${INDEX_CONV_SRCS} )
|
|
|
-add_dependencies ( wordbreaker vergen )
|
|
|
-target_link_libraries ( indexer libsphinx )
|
|
|
-target_link_libraries ( indextool libsphinx )
|
|
|
-target_link_libraries ( searchd lsearchd libsphinx ${EXTRA_SEARCHD_LIBRARIES} ${WSREP})
|
|
|
-target_link_libraries ( spelldump libsphinx )
|
|
|
-target_link_libraries ( wordbreaker libsphinx )
|
|
|
-target_link_libraries ( index_converter libsphinx )
|
|
|
-
|
|
|
-add_library ( udfexample SHARED ${UDFEXAMPLE_SRC} )
|
|
|
+add_executable(searchd searchd.cpp)
|
|
|
+target_link_libraries(searchd lsearchd libsphinx ${EXTRA_SEARCHD_LIBRARIES} ${WSREP})
|
|
|
+
|
|
|
+if (NOT STATIC_BINARY)
|
|
|
+ add_executable(indexer ${INDEXER_SRCS})
|
|
|
+ add_executable(indextool ${INDEXTOOL_SRCS})
|
|
|
+ add_executable(spelldump ${SPELLDUMP_SRCS})
|
|
|
+ add_executable(wordbreaker ${WORDBREAKER_SRCS})
|
|
|
+ add_executable(index_converter ${INDEX_CONV_SRCS})
|
|
|
+ add_dependencies(wordbreaker vergen)
|
|
|
+ target_link_libraries(indexer libsphinx)
|
|
|
+ target_link_libraries(indextool libsphinx)
|
|
|
+ target_link_libraries(spelldump libsphinx)
|
|
|
+ target_link_libraries(wordbreaker libsphinx)
|
|
|
+ target_link_libraries(index_converter libsphinx)
|
|
|
+
|
|
|
+ add_library(udfexample SHARED ${UDFEXAMPLE_SRC})
|
|
|
+endif ()
|
|
|
|
|
|
diag(BINPREFIX)
|
|
|
IF ( USE_GALERA )
|
|
|
@@ -244,11 +247,12 @@ if ( SPLIT_SYMBOLS )
|
|
|
split_dbg ( index_converter )
|
|
|
endif()
|
|
|
|
|
|
-INSTALL ( TARGETS indexer indextool spelldump wordbreaker RUNTIME DESTINATION ${BINPREFIX}bin COMPONENT tools )
|
|
|
-INSTALL ( TARGETS searchd RUNTIME DESTINATION ${BINPREFIX}bin COMPONENT applications )
|
|
|
-
|
|
|
-INSTALL ( TARGETS index_converter RUNTIME DESTINATION ${BINPREFIX}bin COMPONENT converter )
|
|
|
-INSTALL(FILES sphinxudf.h DESTINATION usr/include/manticore COMPONENT devel)
|
|
|
+INSTALL(TARGETS searchd RUNTIME DESTINATION ${BINPREFIX}bin COMPONENT applications)
|
|
|
+if (NOT STATIC_BINARY)
|
|
|
+ INSTALL ( TARGETS indexer indextool spelldump wordbreaker RUNTIME DESTINATION ${BINPREFIX}bin COMPONENT tools )
|
|
|
+ INSTALL ( TARGETS index_converter RUNTIME DESTINATION ${BINPREFIX}bin COMPONENT converter )
|
|
|
+ INSTALL(FILES sphinxudf.h DESTINATION usr/include/manticore COMPONENT devel)
|
|
|
+endif ()
|
|
|
|
|
|
if ( NOT DISABLE_TESTING )
|
|
|
|