add log daemon
[project/ubox.git] / CMakeLists.txt
index 54434d1..1aa9a86 100644 (file)
@@ -59,3 +59,26 @@ TARGET_LINK_LIBRARIES(lsbloader ${LIBS})
 INSTALL(TARGETS lsbloader
        RUNTIME DESTINATION sbin
 )
 INSTALL(TARGETS lsbloader
        RUNTIME DESTINATION sbin
 )
+
+ADD_LIBRARY(validate SHARED validate/validate.c)
+INSTALL(TARGETS validate
+       LIBRARY DESTINATION lib
+)
+
+ADD_EXECUTABLE(validate_data validate/cli.c)
+TARGET_LINK_LIBRARIES(validate_data ${LIBS} validate)
+INSTALL(TARGETS validate_data
+       RUNTIME DESTINATION sbin
+)
+
+ADD_EXECUTABLE(logd log/logd.c log/syslog.c)
+TARGET_LINK_LIBRARIES(logd ${LIBS})
+INSTALL(TARGETS logd
+       RUNTIME DESTINATION sbin
+)
+
+ADD_EXECUTABLE(logread log/logread.c)
+TARGET_LINK_LIBRARIES(logread ${LIBS})
+INSTALL(TARGETS logread
+       RUNTIME DESTINATION sbin
+)