Yocto fix in build builds.
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Wed, 31 Jul 2013 08:42:38 +0000 (10:42 +0200)
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Wed, 31 Jul 2013 08:53:10 +0000 (10:53 +0200)
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
src/adaptor/CMakeLists.txt
src/console/CMakeLists.txt
src/daemon/CMakeLists.txt
src/examples/CMakeLists.txt
src/system/CMakeLists.txt
src/tests/CMakeLists.txt

index 45736d2..7bde645 100755 (executable)
 # @licence end@
 ########
 
-set(dlt_adaptor_stdin_SRCS dlt-adaptor-stdin)
+set(dlt_adaptor_stdin_SRCS dlt-adaptor-stdin.c)
 add_executable(dlt-adaptor-stdin ${dlt_adaptor_stdin_SRCS})
 target_link_libraries(dlt-adaptor-stdin dlt)
 set_target_properties(dlt-adaptor-stdin PROPERTIES LINKER_LANGUAGE C)
 
-set(dlt_adaptor_udp_SRCS dlt-adaptor-udp)
+set(dlt_adaptor_udp_SRCS dlt-adaptor-udp.c)
 add_executable(dlt-adaptor-udp ${dlt_adaptor_udp_SRCS})
 target_link_libraries(dlt-adaptor-udp dlt)
 set_target_properties(dlt-adaptor-udp PROPERTIES LINKER_LANGUAGE C)
index bc60d43..56ad44f 100755 (executable)
 # @licence end@
 ########
 
-set(dlt_convert_SRCS dlt-convert)
+set(dlt_convert_SRCS dlt-convert.c)
 add_executable(dlt-convert ${dlt_convert_SRCS} ${dlt_most_SRCS})
 target_link_libraries(dlt-convert dlt ${EXPAT_LIBRARIES})
 set_target_properties(dlt-convert PROPERTIES LINKER_LANGUAGE C)
 
-set(dlt_receive_SRCS dlt-receive)
+set(dlt_receive_SRCS dlt-receive.c)
 add_executable(dlt-receive ${dlt_receive_SRCS} ${dlt_most_SRCS})
 target_link_libraries(dlt-receive dlt ${EXPAT_LIBRARIES})
 set_target_properties(dlt-receive PROPERTIES LINKER_LANGUAGE C)
index 08c5767..84f0550 100755 (executable)
@@ -19,7 +19,7 @@ if(WITH_SYSTEMD_WATCHDOG OR WITH_SYSTEMD)
     message( STATUS "Added ${systemd_SRCS} to dlt-daemon")
 endif(WITH_SYSTEMD_WATCHDOG OR WITH_SYSTEMD)
 
-set(dlt_daemon_SRCS dlt-daemon dlt_daemon_common ${CMAKE_SOURCE_DIR}/src/shared/dlt_user_shared.c ${CMAKE_SOURCE_DIR}/src/shared/dlt_common.c ${CMAKE_SOURCE_DIR}/src/shared/dlt_shm.c ${CMAKE_SOURCE_DIR}/src/shared/dlt_offline_trace.c)
+set(dlt_daemon_SRCS dlt-daemon.c dlt_daemon_common.c ${CMAKE_SOURCE_DIR}/src/shared/dlt_user_shared.c ${CMAKE_SOURCE_DIR}/src/shared/dlt_common.c ${CMAKE_SOURCE_DIR}/src/shared/dlt_shm.c ${CMAKE_SOURCE_DIR}/src/shared/dlt_offline_trace.c)
 add_executable(dlt-daemon ${dlt_daemon_SRCS} ${systemd_SRCS})
 target_link_libraries(dlt-daemon rt ${CMAKE_THREAD_LIBS_INIT})
 
index 302a7ac..a44bd2e 100755 (executable)
 # @licence end@
 ########
 
-set(dlt_example_user_SRCS dlt-example-user)
+set(dlt_example_user_SRCS dlt-example-user.c)
 add_executable(dlt-example-user ${dlt_example_user_SRCS})
 target_link_libraries(dlt-example-user dlt)
 set_target_properties(dlt-example-user PROPERTIES LINKER_LANGUAGE C)
 
-set(dlt_example_user_func_SRCS dlt-example-user-func)
+set(dlt_example_user_func_SRCS dlt-example-user-func.c)
 add_executable(dlt-example-user-func ${dlt_example_user_func_SRCS})
 target_link_libraries(dlt-example-user-func dlt)
 set_target_properties(dlt-example-user-func PROPERTIES LINKER_LANGUAGE C)
 
-set(dlt_example_filetransfer_SRCS dlt-example-filetransfer)
+set(dlt_example_filetransfer_SRCS dlt-example-filetransfer.c)
 add_executable(        dlt-example-filetransfer ${dlt_example_filetransfer_SRCS})
 target_link_libraries(dlt-example-filetransfer dlt )
 set_target_properties(dlt-example-filetransfer PROPERTIES LINKER_LANGUAGE C)
index 7070bfc..d78b2e9 100644 (file)
@@ -18,9 +18,9 @@ if(WITH_SYSTEMD_WATCHDOG OR WITH_SYSTEMD OR WITH_SYSTEMD_JOURNAL)
     message( STATUS "Added ${systemd_SRCS} to dlt-system")
 endif(WITH_SYSTEMD_WATCHDOG OR WITH_SYSTEMD OR WITH_SYSTEMD_JOURNAL)
 
-set(dlt_system_SRCS dlt-system dlt-system-options dlt-system-process-handling 
-       dlt-system-filetransfer dlt-system-logfile dlt-system-processes dlt-system-shell
-       dlt-system-syslog dlt-system-watchdog dlt-system-journal)
+set(dlt_system_SRCS dlt-system.c dlt-system-options.c dlt-system-process-handling.c 
+       dlt-system-filetransfer.c dlt-system-logfile.c dlt-system-processes.c dlt-system-shell.c
+       dlt-system-syslog.c dlt-system-watchdog.c dlt-system-journal.c)
 add_executable(dlt-system ${dlt_system_SRCS} ${systemd_SRCS})
 if(WITH_SYSTEMD_JOURNAL)
        target_link_libraries(dlt-system dlt z systemd-journal systemd-id128)
index b84bec9..6a6a962 100644 (file)
 #
 # @licence end@
 ########
-set(dlt_test_multi_process_SRCS dlt-test-multi-process)
+set(dlt_test_multi_process_SRCS dlt-test-multi-process.c)
 add_executable(dlt-test-multi-process ${dlt_test_multi_process_SRCS})
 target_link_libraries(dlt-test-multi-process dlt)
 set_target_properties(dlt-test-multi-process PROPERTIES LINKER_LANGUAGE C)
 
-set(dlt_test_multi_process_client_SRCS dlt-test-multi-process-client)
+set(dlt_test_multi_process_client_SRCS dlt-test-multi-process-client.c)
 add_executable(dlt-test-multi-process-client ${dlt_test_multi_process_client_SRCS})
 target_link_libraries(dlt-test-multi-process-client dlt)
 set_target_properties(dlt-test-multi-process-client PROPERTIES LINKER_LANGUAGE C)
 
-set(dlt_test_user_SRCS dlt-test-user)
+set(dlt_test_user_SRCS dlt-test-user.c)
 add_executable(dlt-test-user ${dlt_test_user_SRCS})
 target_link_libraries(dlt-test-user dlt)
 set_target_properties(dlt-test-user PROPERTIES LINKER_LANGUAGE C)
 
-set(dlt_test_client_SRCS dlt-test-client)
+set(dlt_test_client_SRCS dlt-test-client.c)
 add_executable(dlt-test-client ${dlt_test_client_SRCS})
 target_link_libraries(dlt-test-client dlt)
 set_target_properties(dlt-test-client PROPERTIES LINKER_LANGUAGE C)
 
-set(dlt_test_stress_user_SRCS dlt-test-stress-user)
+set(dlt_test_stress_user_SRCS dlt-test-stress-user.c)
 add_executable(dlt-test-stress-user ${dlt_test_stress_user_SRCS})
 target_link_libraries(dlt-test-stress-user dlt)
 set_target_properties(dlt-test-stress-user PROPERTIES LINKER_LANGUAGE C)
 
-set(dlt_test_stress_client_SRCS dlt-test-stress-client)
+set(dlt_test_stress_client_SRCS dlt-test-stress-client.c)
 add_executable(dlt-test-stress-client ${dlt_test_stress_client_SRCS})
 target_link_libraries(dlt-test-stress-client dlt)
 set_target_properties(dlt-test-stress-client PROPERTIES LINKER_LANGUAGE C)
 
-set(dlt_test_stress_SRCS dlt-test-stress)
+set(dlt_test_stress_SRCS dlt-test-stress.c)
 add_executable(dlt-test-stress ${dlt_test_stress_SRCS})
 target_link_libraries(dlt-test-stress dlt)
 set_target_properties(dlt-test-stress PROPERTIES LINKER_LANGUAGE C)
 
-set(dlt_test_filetransfer_SRCS dlt-test-filetransfer)
+set(dlt_test_filetransfer_SRCS dlt-test-filetransfer.c)
 add_executable(dlt-test-filetransfer ${dlt_test_filetransfer_SRCS})
 target_link_libraries(dlt-test-filetransfer dlt)
 set_target_properties(dlt-test-filetransfer PROPERTIES LINKER_LANGUAGE C)