Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
oai
openairinterface5G
Commits
f47f596a
Commit
f47f596a
authored
Feb 26, 2016
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for liblfds7
parent
197726ce
Changes
178
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
178 changed files
with
22480 additions
and
4 deletions
+22480
-4
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+22
-4
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/gcc_and_gnumake/Makefile
...DS/liblfds7.0.0/liblfds700/build/gcc_and_gnumake/Makefile
+168
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/gcc_kbuild_and_gnumake/Kbuild
...blfds7.0.0/liblfds700/build/gcc_kbuild_and_gnumake/Kbuild
+76
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/gcc_kbuild_and_gnumake/Makefile
...fds7.0.0/liblfds700/build/gcc_kbuild_and_gnumake/Makefile
+14
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/sdk_for_windows_7_and_gnumake/liblfds700.def
...fds700/build/sdk_for_windows_7_and_gnumake/liblfds700.def
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/sdk_for_windows_7_and_gnumake/makefile
...0/liblfds700/build/sdk_for_windows_7_and_gnumake/makefile
+114
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012/liblfds700.def
...s700/build/visual_studio_professional_2012/liblfds700.def
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012/liblfds700.sln
...s700/build/visual_studio_professional_2012/liblfds700.sln
+46
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012/liblfds700.vcxproj
.../build/visual_studio_professional_2012/liblfds700.vcxproj
+705
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012/liblfds700.vcxproj.filters
...isual_studio_professional_2012/liblfds700.vcxproj.filters
+279
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012/liblfds700.vcxproj.user
...d/visual_studio_professional_2012/liblfds700.vcxproj.user
+4
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012_and_wdk_8.0/driver_entry.c
...isual_studio_professional_2012_and_wdk_8.0/driver_entry.c
+1
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012_and_wdk_8.0/liblfds700.def
...isual_studio_professional_2012_and_wdk_8.0/liblfds700.def
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012_and_wdk_8.0/liblfds700.sln
...isual_studio_professional_2012_and_wdk_8.0/liblfds700.sln
+46
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012_and_wdk_8.0/liblfds700.vcxproj
...l_studio_professional_2012_and_wdk_8.0/liblfds700.vcxproj
+733
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012_and_wdk_8.0/liblfds700.vcxproj.filters
..._professional_2012_and_wdk_8.0/liblfds700.vcxproj.filters
+279
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2012_and_wdk_8.0/liblfds700.vcxproj.user
...dio_professional_2012_and_wdk_8.0/liblfds700.vcxproj.user
+4
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2013_and_wdk_8.1/driver_entry.c
...isual_studio_professional_2013_and_wdk_8.1/driver_entry.c
+1
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2013_and_wdk_8.1/liblfds700.def
...isual_studio_professional_2013_and_wdk_8.1/liblfds700.def
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2013_and_wdk_8.1/liblfds700.sln
...isual_studio_professional_2013_and_wdk_8.1/liblfds700.sln
+59
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2013_and_wdk_8.1/liblfds700.vcxproj
...l_studio_professional_2013_and_wdk_8.1/liblfds700.vcxproj
+1054
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2013_and_wdk_8.1/liblfds700.vcxproj.filters
..._professional_2013_and_wdk_8.1/liblfds700.vcxproj.filters
+279
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/visual_studio_professional_2013_and_wdk_8.1/liblfds700.vcxproj.user
...dio_professional_2013_and_wdk_8.1/liblfds700.vcxproj.user
+4
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/dirs
...air2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/dirs
+3
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/driver_entry_renamed_to_avoid_compiler_warning.c
.../wdk_7.1/driver_entry_renamed_to_avoid_compiler_warning.c
+23
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/liblfds700.def
...LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/liblfds700.def
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/readme_before_win_kernel_build.txt
...blfds700/build/wdk_7.1/readme_before_win_kernel_build.txt
+32
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/runme_before_win_kernel_dynamic_lib_build.bat
...ild/wdk_7.1/runme_before_win_kernel_dynamic_lib_build.bat
+22
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/runme_before_win_kernel_static_lib_build.bat
...uild/wdk_7.1/runme_before_win_kernel_static_lib_build.bat
+21
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/sources.dynamic
...FDS/liblfds7.0.0/liblfds700/build/wdk_7.1/sources.dynamic
+62
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/sources.static
...LFDS/liblfds7.0.0/liblfds700/build/wdk_7.1/sources.static
+60
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700.h
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700.h
+31
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_btree_addonly_unbalanced.h
...lfds700/inc/liblfds700/lfds700_btree_addonly_unbalanced.h
+113
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_freelist.h
...liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_freelist.h
+54
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_hash_addonly.h
...fds7.0.0/liblfds700/inc/liblfds700/lfds700_hash_addonly.h
+127
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_list_addonly_ordered_singlylinked.h
...nc/liblfds700/lfds700_list_addonly_ordered_singlylinked.h
+85
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_list_addonly_singlylinked_unordered.h
.../liblfds700/lfds700_list_addonly_singlylinked_unordered.h
+90
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_misc.h
...FDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_misc.h
+192
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_porting_abstraction_layer_compiler.h
...c/liblfds700/lfds700_porting_abstraction_layer_compiler.h
+478
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_porting_abstraction_layer_operating_system.h
...s700/lfds700_porting_abstraction_layer_operating_system.h
+133
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_porting_abstraction_layer_processor.h
.../liblfds700/lfds700_porting_abstraction_layer_processor.h
+544
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_queue.h
...DS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_queue.h
+60
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_queue_bounded_singleconsumer_singleproducer.h
...700/lfds700_queue_bounded_singleconsumer_singleproducer.h
+59
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_ringbuffer.h
...blfds7.0.0/liblfds700/inc/liblfds700/lfds700_ringbuffer.h
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_stack.h
...DS/liblfds7.0.0/liblfds700/inc/liblfds700/lfds700_stack.h
+55
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_cleanup.c
...nly_unbalanced/lfds700_btree_addonly_unbalanced_cleanup.c
+117
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_get.c
...addonly_unbalanced/lfds700_btree_addonly_unbalanced_get.c
+467
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_init.c
...ddonly_unbalanced/lfds700_btree_addonly_unbalanced_init.c
+32
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_insert.c
...only_unbalanced/lfds700_btree_addonly_unbalanced_insert.c
+156
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_internal.h
...ly_unbalanced/lfds700_btree_addonly_unbalanced_internal.h
+23
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_query.c
...donly_unbalanced/lfds700_btree_addonly_unbalanced_query.c
+121
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_freelist/lfds700_freelist_cleanup.c
...iblfds700/src/lfds700_freelist/lfds700_freelist_cleanup.c
+36
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_freelist/lfds700_freelist_init.c
...0/liblfds700/src/lfds700_freelist/lfds700_freelist_init.c
+27
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_freelist/lfds700_freelist_internal.h
...blfds700/src/lfds700_freelist/lfds700_freelist_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_freelist/lfds700_freelist_pop.c
....0/liblfds700/src/lfds700_freelist/lfds700_freelist_pop.c
+52
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_freelist/lfds700_freelist_push.c
...0/liblfds700/src/lfds700_freelist/lfds700_freelist_push.c
+42
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_freelist/lfds700_freelist_query.c
.../liblfds700/src/lfds700_freelist/lfds700_freelist_query.c
+123
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_cleanup.c
...0/src/lfds700_hash_addonly/lfds700_hash_addonly_cleanup.c
+61
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_get.c
...ds700/src/lfds700_hash_addonly/lfds700_hash_addonly_get.c
+37
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_init.c
...s700/src/lfds700_hash_addonly/lfds700_hash_addonly_init.c
+54
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_insert.c
...00/src/lfds700_hash_addonly/lfds700_hash_addonly_insert.c
+62
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_internal.h
.../src/lfds700_hash_addonly/lfds700_hash_addonly_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_iterate.c
...0/src/lfds700_hash_addonly/lfds700_hash_addonly_iterate.c
+58
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_query.c
...700/src/lfds700_hash_addonly/lfds700_hash_addonly_query.c
+112
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_cleanup.c
...inked/lfds700_list_addonly_ordered_singlylinked_cleanup.c
+37
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_get.c
...glylinked/lfds700_list_addonly_ordered_singlylinked_get.c
+29
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_init.c
...lylinked/lfds700_list_addonly_ordered_singlylinked_init.c
+37
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_insert.c
...linked/lfds700_list_addonly_ordered_singlylinked_insert.c
+134
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_internal.h
...nked/lfds700_list_addonly_ordered_singlylinked_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_query.c
...ylinked/lfds700_list_addonly_ordered_singlylinked_query.c
+121
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_cleanup.c
...red/lfds700_list_addonly_singlylinked_unordered_cleanup.c
+37
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_get.c
...ordered/lfds700_list_addonly_singlylinked_unordered_get.c
+29
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_init.c
...rdered/lfds700_list_addonly_singlylinked_unordered_init.c
+35
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_insert.c
...ered/lfds700_list_addonly_singlylinked_unordered_insert.c
+193
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_internal.h
...ed/lfds700_list_addonly_singlylinked_unordered_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_query.c
...dered/lfds700_list_addonly_singlylinked_unordered_query.c
+121
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_cleanup.c
...s7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_cleanup.c
+15
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_globals.c
...s7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_globals.c
+11
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_init.c
...lfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_init.c
+53
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_internal.h
...7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_internal.h
+10
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_prng.c
...lfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_prng.c
+144
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_query.c
...fds7.0.0/liblfds700/src/lfds700_misc/lfds700_misc_query.c
+48
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_cleanup.c
....0.0/liblfds700/src/lfds700_queue/lfds700_queue_cleanup.c
+48
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_dequeue.c
....0.0/liblfds700/src/lfds700_queue/lfds700_queue_dequeue.c
+109
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_enqueue.c
....0.0/liblfds700/src/lfds700_queue/lfds700_queue_enqueue.c
+74
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_init.c
...ds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_init.c
+43
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_internal.h
...0.0/liblfds700/src/lfds700_queue/lfds700_queue_internal.h
+14
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_query.c
...s7.0.0/liblfds700/src/lfds700_queue/lfds700_queue_query.c
+126
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_cleanup.c
...700_queue_bounded_singleconsumer_singleproducer_cleanup.c
+30
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_dequeue.c
...700_queue_bounded_singleconsumer_singleproducer_dequeue.c
+42
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_enqueue.c
...700_queue_bounded_singleconsumer_singleproducer_enqueue.c
+39
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_init.c
...fds700_queue_bounded_singleconsumer_singleproducer_init.c
+63
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_internal.h
...00_queue_bounded_singleconsumer_singleproducer_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_query.c
...ds700_queue_bounded_singleconsumer_singleproducer_query.c
+70
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_cleanup.c
...ds700/src/lfds700_ringbuffer/lfds700_ringbuffer_cleanup.c
+86
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_init.c
...blfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_init.c
+51
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_internal.h
...s700/src/lfds700_ringbuffer/lfds700_ringbuffer_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_query.c
...lfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_query.c
+72
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_read.c
...blfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_read.c
+44
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_write.c
...lfds700/src/lfds700_ringbuffer/lfds700_ringbuffer_write.c
+78
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_cleanup.c
....0.0/liblfds700/src/lfds700_stack/lfds700_stack_cleanup.c
+36
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_init.c
...ds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_init.c
+27
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_internal.h
...0.0/liblfds700/src/lfds700_stack/lfds700_stack_internal.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_pop.c
...fds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_pop.c
+52
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_push.c
...ds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_push.c
+42
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_query.c
...s7.0.0/liblfds700/src/lfds700_stack/lfds700_stack_query.c
+123
-0
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/liblfds700_internal.h
...IL/LFDS/liblfds7.0.0/liblfds700/src/liblfds700_internal.h
+93
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/build/gcc_and_gnumake/Makefile
...TIL/LFDS/liblfds7.0.0/test/build/gcc_and_gnumake/Makefile
+129
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/build/sdk_for_windows_7_and_gnumake/makefile
...ds7.0.0/test/build/sdk_for_windows_7_and_gnumake/makefile
+106
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/build/visual_studio_professional_2012/test.sln
...7.0.0/test/build/visual_studio_professional_2012/test.sln
+67
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/build/visual_studio_professional_2012/test.vcxproj
...0/test/build/visual_studio_professional_2012/test.vcxproj
+554
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/build/visual_studio_professional_2012/test.vcxproj.filters
...uild/visual_studio_professional_2012/test.vcxproj.filters
+216
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/build/visual_studio_professional_2012/test.vcxproj.user
...t/build/visual_studio_professional_2012/test.vcxproj.user
+4
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/internal.h
openair2/UTIL/LFDS/liblfds7.0.0/test/src/internal.h
+157
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/main.c
openair2/UTIL/LFDS/liblfds7.0.0/test/src/main.c
+135
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/misc.c
openair2/UTIL/LFDS/liblfds7.0.0/test/src/misc.c
+191
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_btree_addonly_unbalanced.c
...fds7.0.0/test/src/test_lfds700_btree_addonly_unbalanced.c
+32
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_btree_addonly_unbalanced_alignment.c
...est/src/test_lfds700_btree_addonly_unbalanced_alignment.c
+64
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_btree_addonly_unbalanced_random_adds_fail.c
.../test_lfds700_btree_addonly_unbalanced_random_adds_fail.c
+319
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_btree_addonly_unbalanced_random_adds_fail_and_overwrite.c
...btree_addonly_unbalanced_random_adds_fail_and_overwrite.c
+140
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_btree_addonly_unbalanced_random_adds_overwrite.c
..._lfds700_btree_addonly_unbalanced_random_adds_overwrite.c
+322
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist.c
...2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist.c
+33
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist_alignment.c
...S/liblfds7.0.0/test/src/test_lfds700_freelist_alignment.c
+43
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist_popping.c
...FDS/liblfds7.0.0/test/src/test_lfds700_freelist_popping.c
+205
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist_popping_and_pushing.c
....0.0/test/src/test_lfds700_freelist_popping_and_pushing.c
+319
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist_pushing.c
...FDS/liblfds7.0.0/test/src/test_lfds700_freelist_pushing.c
+246
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_freelist_rapid_popping_and_pushing.c
...est/src/test_lfds700_freelist_rapid_popping_and_pushing.c
+216
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly.c
...IL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly.c
+33
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly_alignment.c
...blfds7.0.0/test/src/test_lfds700_hash_addonly_alignment.c
+40
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly_iterate.c
...liblfds7.0.0/test/src/test_lfds700_hash_addonly_iterate.c
+224
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly_random_adds_fail.c
...0.0/test/src/test_lfds700_hash_addonly_random_adds_fail.c
+314
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly_random_adds_fail_and_overwrite.c
...est_lfds700_hash_addonly_random_adds_fail_and_overwrite.c
+137
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_hash_addonly_random_adds_overwrite.c
...est/src/test_lfds700_hash_addonly_random_adds_overwrite.c
+388
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_ordered_singlylinked.c
...test/src/test_lfds700_list_addonly_ordered_singlylinked.c
+31
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_ordered_singlylinked_alignment.c
...est_lfds700_list_addonly_ordered_singlylinked_alignment.c
+58
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_ordered_singlylinked_new_ordered.c
...t_lfds700_list_addonly_ordered_singlylinked_new_ordered.c
+278
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_ordered_singlylinked_new_ordered_with_cursor.c
...st_addonly_ordered_singlylinked_new_ordered_with_cursor.c
+366
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_singlylinked_unordered.c
...st/src/test_lfds700_list_addonly_singlylinked_unordered.c
+32
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_singlylinked_unordered_alignment.c
...t_lfds700_list_addonly_singlylinked_unordered_alignment.c
+61
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_singlylinked_unordered_new_after.c
...t_lfds700_list_addonly_singlylinked_unordered_new_after.c
+254
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_singlylinked_unordered_new_end.c
...est_lfds700_list_addonly_singlylinked_unordered_new_end.c
+229
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_list_addonly_singlylinked_unordered_new_start.c
...t_lfds700_list_addonly_singlylinked_unordered_new_start.c
+229
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_porting_abstraction_layer_atomic.c
.../test/src/test_lfds700_porting_abstraction_layer_atomic.c
+33
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_porting_abstraction_layer_atomic_cas.c
...t/src/test_lfds700_porting_abstraction_layer_atomic_cas.c
+176
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_porting_abstraction_layer_atomic_dcas.c
.../src/test_lfds700_porting_abstraction_layer_atomic_dcas.c
+177
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_porting_abstraction_layer_atomic_exchange.c
.../test_lfds700_porting_abstraction_layer_atomic_exchange.c
+333
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue.c
...air2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue.c
+35
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_alignment.c
...LFDS/liblfds7.0.0/test/src/test_lfds700_queue_alignment.c
+55
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_bounded_singleconsumer_singleproducer.c
...est_lfds700_queue_bounded_singleconsumer_singleproducer.c
+25
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_bounded_singleconsumer_singleproducer_dequeuing.c
...0_queue_bounded_singleconsumer_singleproducer_dequeuing.c
+61
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_bounded_singleconsumer_singleproducer_enqueuing.c
...0_queue_bounded_singleconsumer_singleproducer_enqueuing.c
+59
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_bounded_singleconsumer_singleproducer_enqueuing_and_dequeuing.c
...d_singleconsumer_singleproducer_enqueuing_and_dequeuing.c
+260
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_dequeuing.c
...LFDS/liblfds7.0.0/test/src/test_lfds700_queue_dequeuing.c
+215
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_enqueuing.c
...LFDS/liblfds7.0.0/test/src/test_lfds700_queue_enqueuing.c
+239
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_enqueuing_and_dequeuing.c
...0.0/test/src/test_lfds700_queue_enqueuing_and_dequeuing.c
+250
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_enqueuing_and_dequeuing_with_free.c
...rc/test_lfds700_queue_enqueuing_and_dequeuing_with_free.c
+241
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_enqueuing_with_malloc_and_dequeuing_with_free.c
...700_queue_enqueuing_with_malloc_and_dequeuing_with_free.c
+208
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_queue_rapid_enqueuing_and_dequeuing.c
...st/src/test_lfds700_queue_rapid_enqueuing_and_dequeuing.c
+264
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_ringbuffer.c
...UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_ringbuffer.c
+31
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_ringbuffer_reading.c
...S/liblfds7.0.0/test/src/test_lfds700_ringbuffer_reading.c
+217
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_ringbuffer_reading_and_writing.c
....0/test/src/test_lfds700_ringbuffer_reading_and_writing.c
+261
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_ringbuffer_writing.c
...S/liblfds7.0.0/test/src/test_lfds700_ringbuffer_writing.c
+272
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack.c
...air2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack.c
+33
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_alignment.c
...LFDS/liblfds7.0.0/test/src/test_lfds700_stack_alignment.c
+43
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_popping.c
...L/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_popping.c
+202
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_popping_and_pushing.c
...ds7.0.0/test/src/test_lfds700_stack_popping_and_pushing.c
+316
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_pushing.c
...L/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_pushing.c
+251
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_lfds700_stack_rapid_popping_and_pushing.c
...0/test/src/test_lfds700_stack_rapid_popping_and_pushing.c
+217
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_porting_abstraction_layer_get_logical_core_ids.c
...src/test_porting_abstraction_layer_get_logical_core_ids.c
+245
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_porting_abstraction_layer_operating_system.h
...est/src/test_porting_abstraction_layer_operating_system.h
+82
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_porting_abstraction_layer_thread_start.c
....0/test/src/test_porting_abstraction_layer_thread_start.c
+336
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/test_porting_abstraction_layer_thread_wait.c
...0.0/test/src/test_porting_abstraction_layer_thread_wait.c
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_cmdline.c
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_cmdline.c
+184
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_cmdline.h
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_cmdline.h
+69
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_memory_helpers.c
...ir2/UTIL/LFDS/liblfds7.0.0/test/src/util_memory_helpers.c
+75
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_memory_helpers.h
...ir2/UTIL/LFDS/liblfds7.0.0/test/src/util_memory_helpers.h
+5
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_thread_starter.c
...ir2/UTIL/LFDS/liblfds7.0.0/test/src/util_thread_starter.c
+151
-0
openair2/UTIL/LFDS/liblfds7.0.0/test/src/util_thread_starter.h
...ir2/UTIL/LFDS/liblfds7.0.0/test/src/util_thread_starter.h
+41
-0
No files found.
cmake_targets/CMakeLists.txt
View file @
f47f596a
...
...
@@ -757,6 +757,7 @@ include_directories("${OPENAIR_DIR}/targets/ARCH/EXMIMO/DEFS")
include_directories
(
"
${
OPENAIR2_DIR
}
/ENB_APP"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/UTIL/OSA"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/UTIL/LFDS/liblfds6.1.1/liblfds611/inc"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/UTIL/LFDS/liblfds7.0.0/liblfds700/inc"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/UTIL/MEM"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/UTIL/LISTS"
)
include_directories
(
"
${
OPENAIR2_DIR
}
/UTIL/FIFO"
)
...
...
@@ -1475,6 +1476,23 @@ add_library(LFDS
${
lfds
}
/lfds611_abstraction/lfds611_abstraction_malloc.c
)
set
(
lfds7
${
OPENAIR2_DIR
}
/UTIL/LFDS/liblfds7.0.0/liblfds700/src/
)
file
(
GLOB lfds7_queue
${
lfds7
}
/lfds700_queue/*.c
)
file
(
GLOB lfds7_ring
${
lfds7
}
/lfds700_ringbuffer/*.c
)
file
(
GLOB lfds7_qbss
${
lfds7
}
/lfds700_queue_bounded_singleconsumer_singleproducer/*.c
)
file
(
GLOB lfds7_stack
${
lfds7
}
/lfds700_stack/*.c
)
file
(
GLOB lfds7_freelist
${
lfds7
}
/lfds700_freelist/*.c
)
file
(
GLOB lfds7_btree
${
lfds7
}
/lfds700_btree_addonly_unbalanced/*.c
)
file
(
GLOB lfds7_hash
${
lfds7
}
/lfds700_hash_addonly/*.c
)
file
(
GLOB lfds7_ordered_list
${
lfds7
}
/lfds700_list_addonly_ordered_singlylinked/*.c
)
file
(
GLOB lfds7_unordered_list
${
lfds7
}
/lfds700_list_addonly_singlylinked_unordered/*.c
)
file
(
GLOB lfds7_misc
${
lfds7
}
/lfds700_misc/*.c
)
include_directories
(
${
lfds7
}
)
add_library
(
LFDS7
${
lfds7_queue
}
${
lfds7_ring
}
${
lfds7_qbss
}
${
lfds7_stack
}
${
lfds7_freelist
}
${
lfds7_btree
}
${
lfds7_hash
}
${
lfds7_ordered_list
}
${
lfds7_unordered_list
}
${
lfds7_misc
}
)
# Simulation library
##########################
add_library
(
SIMU
...
...
@@ -1604,7 +1622,7 @@ add_executable(lte-softmodem
target_link_libraries
(
lte-softmodem
-Wl,--start-group
RRC_LIB S1AP_LIB S1AP_ENB GTPV1U SECU_CN SECU_OSA UTIL HASHTABLE SCTP_CLIENT UDP SCHED_LIB PHY LFDS L2
${
MSC_LIB
}
${
RAL_LIB
}
${
NAS_UE_LIB
}
${
ITTI_LIB
}
${
MIH_LIB
}
${
PRPT_MSG_LIB
}
${
ASYNC_IF_LIB
}
${
ENB_AGENT_LIB
}
RRC_LIB S1AP_LIB S1AP_ENB GTPV1U SECU_CN SECU_OSA UTIL HASHTABLE SCTP_CLIENT UDP SCHED_LIB PHY LFDS L2
${
MSC_LIB
}
${
RAL_LIB
}
${
NAS_UE_LIB
}
${
ITTI_LIB
}
${
MIH_LIB
}
${
PRPT_MSG_LIB
}
${
ASYNC_IF_LIB
}
${
ENB_AGENT_LIB
}
LFDS7
-Wl,--end-group
)
...
...
@@ -1639,7 +1657,7 @@ add_executable(lte-softmodem-nos1
)
target_link_libraries
(
lte-softmodem-nos1
-Wl,--start-group
RRC_LIB SECU_CN SECU_OSA UTIL HASHTABLE SCHED_LIB PHY LFDS L2
${
MSC_LIB
}
${
RAL_LIB
}
${
ITTI_LIB
}
${
MIH_LIB
}
${
PRPT_MSG_LIB
}
${
ASYNC_IF_LIB
}
${
ENB_AGENT_LIB
}
RRC_LIB SECU_CN SECU_OSA UTIL HASHTABLE SCHED_LIB PHY LFDS L2
${
MSC_LIB
}
${
RAL_LIB
}
${
ITTI_LIB
}
${
MIH_LIB
}
${
PRPT_MSG_LIB
}
${
ASYNC_IF_LIB
}
${
ENB_AGENT_LIB
}
LFDS7
-Wl,--end-group
)
target_link_libraries
(
lte-softmodem-nos1
${
LIBXML2_LIBRARIES
}
)
...
...
@@ -1775,7 +1793,7 @@ add_executable(oaisim_nos1
target_include_directories
(
oaisim_nos1 PUBLIC
${
OPENAIR_TARGETS
}
/SIMU/USER
)
target_link_libraries
(
oaisim_nos1
-Wl,--start-group
RRC_LIB X2AP_LIB SECU_CN UTIL HASHTABLE SCHED_LIB PHY LFDS
${
MSC_LIB
}
L2
${
RAL_LIB
}
SIMU SIMU_ETH SECU_OSA
${
ITTI_LIB
}
${
MIH_LIB
}
${
PRPT_MSG_LIB
}
${
ASYNC_IF_LIB
}
${
ENB_AGENT_LIB
}
RRC_LIB X2AP_LIB SECU_CN UTIL HASHTABLE SCHED_LIB PHY LFDS
${
MSC_LIB
}
L2
${
RAL_LIB
}
SIMU SIMU_ETH SECU_OSA
${
ITTI_LIB
}
${
MIH_LIB
}
${
PRPT_MSG_LIB
}
${
ASYNC_IF_LIB
}
${
ENB_AGENT_LIB
}
LFDS7
-Wl,--end-group
)
target_link_libraries
(
oaisim_nos1
${
LIBXML2_LIBRARIES
}
${
LAPACK_LIBRARIES
}
)
...
...
@@ -1796,7 +1814,7 @@ foreach(myExe dlsim ulsim pbchsim scansim mbmssim pdcchsim pucchsim prachsim syn
${
XFORMS_SOURCE
}
)
target_link_libraries
(
${
myExe
}
-Wl,--start-group SIMU UTIL SCHED_LIB PHY LFDS
${
ITTI_LIB
}
-Wl,--end-group
-Wl,--start-group SIMU UTIL SCHED_LIB PHY LFDS
${
ITTI_LIB
}
LFDS7
-Wl,--end-group
pthread m rt
${
CONFIG_LIBRARIES
}
${
ATLAS_LIBRARIES
}
${
XFORMS_LIBRARIES
}
)
endforeach
(
myExe
)
...
...
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/gcc_and_gnumake/Makefile
0 → 100644
View file @
f47f596a
##### paths #####
BINDIR
:=
../../bin
INCDIR
:=
../../inc
OBJDIR
:=
../../obj
SRCDIR
:=
../../src
##### misc #####
QUIETLY
:=
1>/dev/null 2>/dev/null
VERSION_NUMBER
:=
1
MINOR_NUMBER
:=
0
RELEASE_NUMBER
:=
0
##### sources, objects and libraries #####
BINNAME
:=
liblfds700
ARFILENAME
:=
$(BINNAME)
.a
ARPATHNAME
:=
$(BINDIR)
/
$(ARFILENAME)
SOBASENAME
:=
$(BINNAME)
.so
SONAME
:=
$(SOBASENAME)
.
$(VERSION_NUMBER)
SOFILENAME
:=
$(SONAME)
.
$(MINOR_NUMBER)
.
$(RELEASE_NUMBER)
SOPATHNAME
:=
$(BINDIR)
/
$(SOFILENAME)
INCNAME
:=
$(INCDIR)
/
$(BINNAME)
.h
SRCDIRS
:=
lfds700_btree_addonly_unbalanced lfds700_freelist lfds700_hash_addonly lfds700_list_addonly_ordered_singlylinked lfds700_list_addonly_singlylinked_unordered lfds700_misc lfds700_queue lfds700_queue_bounded_singleconsumer_singleproducer lfds700_ringbuffer lfds700_stack
SOURCES
:=
lfds700_hash_addonly_cleanup.c lfds700_hash_addonly_get.c lfds700_hash_addonly_init.c lfds700_hash_addonly_insert.c lfds700_hash_addonly_iterate.c lfds700_hash_addonly_query.c
\
lfds700_list_addonly_ordered_singlylinked_cleanup.c lfds700_list_addonly_ordered_singlylinked_get.c lfds700_list_addonly_ordered_singlylinked_init.c lfds700_list_addonly_ordered_singlylinked_insert.c lfds700_list_addonly_ordered_singlylinked_query.c
\
lfds700_list_addonly_singlylinked_unordered_cleanup.c lfds700_list_addonly_singlylinked_unordered_get.c lfds700_list_addonly_singlylinked_unordered_init.c lfds700_list_addonly_singlylinked_unordered_insert.c lfds700_list_addonly_singlylinked_unordered_query.c
\
lfds700_btree_addonly_unbalanced_cleanup.c lfds700_btree_addonly_unbalanced_get.c lfds700_btree_addonly_unbalanced_init.c lfds700_btree_addonly_unbalanced_insert.c lfds700_btree_addonly_unbalanced_query.c
\
lfds700_freelist_cleanup.c lfds700_freelist_init.c lfds700_freelist_pop.c lfds700_freelist_push.c lfds700_freelist_query.c
\
lfds700_misc_cleanup.c lfds700_misc_globals.c lfds700_misc_init.c lfds700_misc_prng.c lfds700_misc_query.c
\
lfds700_queue_cleanup.c lfds700_queue_dequeue.c lfds700_queue_enqueue.c lfds700_queue_init.c lfds700_queue_query.c
\
lfds700_queue_bounded_singleconsumer_singleproducer_cleanup.c lfds700_queue_bounded_singleconsumer_singleproducer_dequeue.c lfds700_queue_bounded_singleconsumer_singleproducer_enqueue.c lfds700_queue_bounded_singleconsumer_singleproducer_init.c lfds700_queue_bounded_singleconsumer_singleproducer_query.c
\
lfds700_ringbuffer_cleanup.c lfds700_ringbuffer_init.c lfds700_ringbuffer_query.c lfds700_ringbuffer_read.c lfds700_ringbuffer_write.c
\
lfds700_stack_cleanup.c lfds700_stack_init.c lfds700_stack_pop.c lfds700_stack_push.c lfds700_stack_query.c
OBJECTS
:=
$(
patsubst
%.c,
$(OBJDIR)
/%.o,
$(
notdir
$(SOURCES)
))
SYSLIBS
:=
##### default paths fix up #####
CPATH
:=
$(
subst
: ,:,
$(SRCDIR)
:
$(INCDIR)
)
##### tools #####
MAKE
:=
make
MFLAGS
:=
DG
:=
gcc
DGFLAGS
:=
-MM
-std
=
gnu89
CC
:=
gcc
CFBASE
:=
-c
-fno-strict-aliasing
-std
=
gnu89
-Wall
-Werror
-Wno-unknown-pragmas
-Wno-unused-but-set-variable
-Wno-unused-variable
CFCOV
:=
-O0
-ggdb
-DCOVERAGE
-fprofile-arcs
-ftest-coverage
CFDBG
:=
-O0
-ggdb
-D_DEBUG
CFPROF
:=
-O0
-ggdb
-DPROF
-pg
CFREL
:=
-O2
-DNDEBUG
-finline-functions
CFTSAN
:=
-O0
-ggdb
-DTSAN
-fsanitize
=
thread
-fPIC
CFBARE
:=
-ffreestanding
-nodefaultlibs
-nostdinc
-nostdlib
AR
:=
ar
AFLAGS
:=
-rcs
LD
:=
gcc
LFBASE
:=
-pthread
-shared
-std
=
gnu89
-Wl
,-soname,
$(SONAME)
-o
$(SOPATHNAME)
-Wall
-Werror
LFCOV
:=
-O0
-fprofile-arcs
-ftest-coverage
LFDBG
:=
-O0
-ggdb
LFPROF
:=
-O0
-pg
LFREL
:=
-O2
-s
-finline-functions
LFTSAN
:=
-O0
-fsanitize
=
thread
-fPIC
LFBARE
:=
-ffreestanding
-nodefaultlibs
-nostdinc
-nostdlib
##### CPU variants #####
GCCARCH
:=
native
CFBASE
+=
-march
=
$(GCCARCH)
##### build variants #####
ifeq
($(findstring so,$(MAKECMDGOALS)),so)
CFBASE
+=
-fPIC
endif
CFLAGS
+=
$(CFBASE)
LFLAGS
+=
$(LFBASE)
ifeq
($(MAKECMDGOALS),)
CFLAGS
+=
$(CFDBG)
LFLAGS
+=
$(LFDBG)
endif
ifeq
($(findstring cov,$(MAKECMDGOALS)),cov)
CFLAGS
+=
$(CFCOV)
LFLAGS
+=
$(LFCOV)
SYSLIBS
+=
-lgcov
endif
ifeq
($(findstring dbg,$(MAKECMDGOALS)),dbg)
CFLAGS
+=
$(CFDBG)
LFLAGS
+=
$(LFDBG)
endif
ifeq
($(findstring prof,$(MAKECMDGOALS)),prof)
CFLAGS
+=
$(CFPROF)
LFLAGS
+=
$(LFPROF)
endif
ifeq
($(findstring rel,$(MAKECMDGOALS)),rel)
CFLAGS
+=
$(CFREL)
LFLAGS
+=
$(LFREL)
endif
ifeq
($(findstring tsan,$(MAKECMDGOALS)),tsan)
CFLAGS
+=
$(CFTSAN)
LFLAGS
+=
$(LFTSAN)
endif
ifeq
($(findstring b_,$(MAKECMDGOALS)),b_)
CFLAGS
+=
$(CFBARE)
LFLAGS
+=
$(CFBARE)
endif
##### search paths #####
vpath %.c $(patsubst %,$(SRCDIR)/%
:
,
$(SRCDIRS))
##### implicit rules #####
$(OBJDIR)/%.o
:
%.c
$(DG)
$(DGFLAGS)
$<
>
$(OBJDIR)
/
$*
.d
$(CC)
$(CFLAGS)
-o
$@
$<
##### explicit rules #####
$(ARPATHNAME)
:
$(OBJECTS)
$(AR)
$(AFLAGS)
$(ARPATHNAME)
$(OBJECTS)
$(SOPATHNAME)
:
$(OBJECTS)
$(LD)
$(LFLAGS)
$(OBJECTS)
-o
$(SOPATHNAME)
@
ln
-fs
$(SOFILENAME)
$(BINDIR)
/
$(SONAME)
@
ln
-fs
$(SOFILENAME)
$(BINDIR)
/
$(SOBASENAME)
##### phony #####
.PHONY
:
clean bare_ar_cov bare_ar_dbg bare_ar_prof bare_ar_rel bare_ar_tsan bare_so_cov bare_so_dbg bare_so_prof bare_so_rel bare_so_tsan hosted_ar_cov hosted_ar_dbg hosted_ar_prof hosted_ar_rel hosted_ar_tsan hosted_so_cov hosted_so_dbg hosted_so_prof hosted_so_rel hosted_so_tsan
clean
:
@
rm
-f
$(BINDIR)
/
*
$(OBJDIR)
/
*
bare_ar_cov
:
$(ARPATHNAME)
#
bare
,
archive (.a)
,
coverage
bare_ar_dbg
:
$(ARPATHNAME)
#
bare
,
archive (.a)
,
debug
bare_ar_prof
:
$(ARPATHNAME)
#
bare
,
archive (.a)
,
profiling
bare_ar_rel
:
$(ARPATHNAME)
#
bare
,
archive (.a)
,
release
bare_ar_tsan
:
$(ARPATHNAME)
#
bare
,
archive (.a)
,
thread sanitizer
bare_so_cov
:
$(SOPATHNAME)
#
bare
,
shared (.so)
,
coverage
bare_so_dbg
:
$(SOPATHNAME)
#
bare
,
shared (.so)
,
debug
bare_so_prof
:
$(SOPATHNAME)
#
bare
,
shared (.so)
,
profiling
bare_so_rel
:
$(SOPATHNAME)
#
bare
,
shared (.so)
,
release
bare_so_tsan
:
$(SOPATHNAME)
#
bare
,
shared (.so)
,
thread sanitizer
hosted_ar_cov
:
$(ARPATHNAME)
#
hosted implementation
,
archive (.a)
,
coverage
hosted_ar_dbg
:
$(ARPATHNAME)
#
hosted implementation
,
archive (.a)
,
debug
hosted_ar_prof
:
$(ARPATHNAME)
#
hosted implementation
,
archive (.a)
,
profiling
hosted_ar_rel
:
$(ARPATHNAME)
#
hosted implementation
,
archive (.a)
,
release
hosted_ar_tsan
:
$(ARPATHNAME)
#
hosted implementation
,
archive (.a)
,
thread sanitizer
hosted_so_cov
:
$(SOPATHNAME)
#
hosted implementation
,
shared (.so)
,
coverage
hosted_so_dbg
:
$(SOPATHNAME)
#
hosted implementation
,
shared (.so)
,
debug
hosted_so_prof
:
$(SOPATHNAME)
#
hosted implementation
,
shared (.so)
,
profiling
hosted_so_rel
:
$(SOPATHNAME)
#
hosted implementation
,
shared (.so)
,
release
hosted_so_tsan
:
$(SOPATHNAME)
#
hosted implementation
,
shared (.so)
,
thread sanitizer
##### dependencies #####
-include
$(DEPENDS)
##### notes #####
# TRD : we use -std=gnu89 for C++ style comments
# hosted implementation differs from bare simply in that <assert.h> ends up being included
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/gcc_kbuild_and_gnumake/Kbuild
0 → 100644
View file @
f47f596a
lib-y :=
lib-y += ../../src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_cleanup.o
lib-y += ../../src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_get.o
lib-y += ../../src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_init.o
lib-y += ../../src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_insert.o
lib-y += ../../src/lfds700_btree_addonly_unbalanced/lfds700_btree_addonly_unbalanced_query.o
lib-y += ../../src/lfds700_freelist/lfds700_freelist_cleanup.o
lib-y += ../../src/lfds700_freelist/lfds700_freelist_init.o
lib-y += ../../src/lfds700_freelist/lfds700_freelist_pop.o
lib-y += ../../src/lfds700_freelist/lfds700_freelist_push.o
lib-y += ../../src/lfds700_freelist/lfds700_freelist_query.o
lib-y += ../../src/lfds700_hash_addonly/lfds700_hash_addonly_cleanup.o
lib-y += ../../src/lfds700_hash_addonly/lfds700_hash_addonly_get.o
lib-y += ../../src/lfds700_hash_addonly/lfds700_hash_addonly_init.o
lib-y += ../../src/lfds700_hash_addonly/lfds700_hash_addonly_insert.o
lib-y += ../../src/lfds700_hash_addonly/lfds700_hash_addonly_iterate.o
lib-y += ../../src/lfds700_hash_addonly/lfds700_hash_addonly_query.o
lib-y += ../../src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_cleanup.o
lib-y += ../../src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_get.o
lib-y += ../../src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_init.o
lib-y += ../../src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_insert.o
lib-y += ../../src/lfds700_list_addonly_ordered_singlylinked/lfds700_list_addonly_ordered_singlylinked_query.o
lib-y += ../../src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_cleanup.o
lib-y += ../../src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_get.o
lib-y += ../../src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_init.o
lib-y += ../../src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_insert.o
lib-y += ../../src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_query.o
lib-y += ../../src/lfds700_misc/lfds700_misc_cleanup.o
lib-y += ../../src/lfds700_misc/lfds700_misc_globals.o
lib-y += ../../src/lfds700_misc/lfds700_misc_init.o
lib-y += ../../src/lfds700_misc/lfds700_misc_prng.o
lib-y += ../../src/lfds700_misc/lfds700_misc_query.o
lib-y += ../../src/lfds700_queue/lfds700_queue_cleanup.o
lib-y += ../../src/lfds700_queue/lfds700_queue_dequeue.o
lib-y += ../../src/lfds700_queue/lfds700_queue_enqueue.o
lib-y += ../../src/lfds700_queue/lfds700_queue_init.o
lib-y += ../../src/lfds700_queue/lfds700_queue_query.o
lib-y += ../../src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_cleanup.o
lib-y += ../../src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_dequeue.o
lib-y += ../../src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_enqueue.o
lib-y += ../../src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_init.o
lib-y += ../../src/lfds700_queue_bounded_singleconsumer_singleproducer/lfds700_queue_bounded_singleconsumer_singleproducer_query.o
lib-y += ../../src/lfds700_ringbuffer/lfds700_ringbuffer_cleanup.o
lib-y += ../../src/lfds700_ringbuffer/lfds700_ringbuffer_init.o
lib-y += ../../src/lfds700_ringbuffer/lfds700_ringbuffer_query.o
lib-y += ../../src/lfds700_ringbuffer/lfds700_ringbuffer_read.o
lib-y += ../../src/lfds700_ringbuffer/lfds700_ringbuffer_write.o
lib-y += ../../src/lfds700_stack/lfds700_stack_cleanup.o
lib-y += ../../src/lfds700_stack/lfds700_stack_init.o
lib-y += ../../src/lfds700_stack/lfds700_stack_pop.o
lib-y += ../../src/lfds700_stack/lfds700_stack_push.o
lib-y += ../../src/lfds700_stack/lfds700_stack_query.o
libs-y := ../../bin/
ccflags-y := -I$(src)/../../inc
ccflags-y += -I$(src)/../../inc/liblfds700
ccflags-y += -D_KERNEL_MODE
ccflags-y += -fno-strict-aliasing
ccflags-y += -std=gnu89
ccflags-y += -Wall
ccflags-y += -Werror
ccflags-y += -Wno-unknown-pragmas
ccflags-y += -Wno-unused-but-set-variable
ccflags-y += -Wno-unused-variable
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/gcc_kbuild_and_gnumake/Makefile
0 → 100644
View file @
f47f596a
default
:
$(MAKE)
-C
/lib/modules/
`
uname
-r
`
/build
M
=
$(PWD)
clean
:
$(MAKE)
-C
/lib/modules/
`
uname
-r
`
/build
M
=
$(PWD)
clean
find ../../src/
-name
"*.o"
-type
f
-delete
help
:
$(MAKE)
-C
/lib/modules/
`
uname
-r
`
/build
M
=
$(PWD)
help
modules
:
$(MAKE)
-C
/lib/modules/
`
uname
-r
`
/build
M
=
$(PWD)
modules
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/sdk_for_windows_7_and_gnumake/liblfds700.def
0 → 100644
View file @
f47f596a
EXPORTS
lfds700_btree_au_init_valid_on_current_logical_core = lfds700_btree_au_init_valid_on_current_logical_core
lfds700_btree_au_cleanup = lfds700_btree_au_cleanup
lfds700_btree_au_insert = lfds700_btree_au_insert
lfds700_btree_au_get_by_absolute_position_and_then_by_relative_position = lfds700_btree_au_get_by_absolute_position_and_then_by_relative_position
lfds700_btree_au_get_by_absolute_position = lfds700_btree_au_get_by_absolute_position
lfds700_btree_au_get_by_relative_position = lfds700_btree_au_get_by_relative_position
lfds700_btree_au_get_by_key = lfds700_btree_au_get_by_key
lfds700_btree_au_query = lfds700_btree_au_query
lfds700_freelist_init_valid_on_current_logical_core = lfds700_freelist_init_valid_on_current_logical_core
lfds700_freelist_cleanup = lfds700_freelist_cleanup
lfds700_freelist_push = lfds700_freelist_push
lfds700_freelist_pop = lfds700_freelist_pop
lfds700_freelist_query = lfds700_freelist_query
lfds700_hash_a_init_valid_on_current_logical_core = lfds700_hash_a_init_valid_on_current_logical_core
lfds700_hash_a_cleanup = lfds700_hash_a_cleanup
lfds700_hash_a_insert = lfds700_hash_a_insert
lfds700_hash_a_get_by_key = lfds700_hash_a_get_by_key
lfds700_hash_a_iterate_init = lfds700_hash_a_iterate_init
lfds700_hash_a_iterate = lfds700_hash_a_iterate
lfds700_hash_a_query = lfds700_hash_a_query
lfds700_list_aos_init_valid_on_current_logical_core = lfds700_list_aos_init_valid_on_current_logical_core
lfds700_list_aos_cleanup = lfds700_list_aos_cleanup
lfds700_list_aos_insert = lfds700_list_aos_insert
lfds700_list_aos_get_by_key = lfds700_list_aos_get_by_key
lfds700_list_aos_query = lfds700_list_aos_query
lfds700_list_asu_init_valid_on_current_logical_core = lfds700_list_asu_init_valid_on_current_logical_core
lfds700_list_asu_cleanup = lfds700_list_asu_cleanup
lfds700_list_asu_insert_at_position = lfds700_list_asu_insert_at_position
lfds700_list_asu_insert_at_start = lfds700_list_asu_insert_at_start
lfds700_list_asu_insert_at_end = lfds700_list_asu_insert_at_end
lfds700_list_asu_insert_after_element = lfds700_list_asu_insert_after_element
lfds700_list_asu_get_by_key = lfds700_list_asu_get_by_key
lfds700_list_asu_query = lfds700_list_asu_query
lfds700_misc_library_init_valid_on_current_logical_core = lfds700_misc_library_init_valid_on_current_logical_core
lfds700_misc_library_cleanup = lfds700_misc_library_cleanup
lfds700_misc_prng_init = lfds700_misc_prng_init
lfds700_misc_query = lfds700_misc_query
lfds700_queue_init_valid_on_current_logical_core = lfds700_queue_init_valid_on_current_logical_core
lfds700_queue_cleanup = lfds700_queue_cleanup
lfds700_queue_enqueue = lfds700_queue_enqueue
lfds700_queue_dequeue = lfds700_queue_dequeue
lfds700_queue_query = lfds700_queue_query
lfds700_queue_bss_init_valid_on_current_logical_core = lfds700_queue_bss_init_valid_on_current_logical_core
lfds700_queue_bss_cleanup = lfds700_queue_bss_cleanup
lfds700_queue_bss_enqueue = lfds700_queue_bss_enqueue
lfds700_queue_bss_dequeue = lfds700_queue_bss_dequeue
lfds700_queue_bss_query = lfds700_queue_bss_query
lfds700_ringbuffer_init_valid_on_current_logical_core = lfds700_ringbuffer_init_valid_on_current_logical_core
lfds700_ringbuffer_cleanup = lfds700_ringbuffer_cleanup
lfds700_ringbuffer_read = lfds700_ringbuffer_read
lfds700_ringbuffer_write = lfds700_ringbuffer_write
lfds700_ringbuffer_query = lfds700_ringbuffer_query
lfds700_stack_init_valid_on_current_logical_core = lfds700_stack_init_valid_on_current_logical_core
lfds700_stack_cleanup = lfds700_stack_cleanup
lfds700_stack_push = lfds700_stack_push
lfds700_stack_pop = lfds700_stack_pop
lfds700_stack_query = lfds700_stack_query
openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/build/sdk_for_windows_7_and_gnumake/makefile
0 → 100644
View file @
f47f596a
##### paths #####
BINDIR
:=
..
\.
.
\b
in
INCDIR
:=
..
\.
.
\i
nc
OBJDIR
:=
..
\.
.
\o
bj
SRCDIR
:=
..
\.
.
\s
rc
##### misc #####
QUIETLY
:=
1>nul 2>nul
NULL
:=
SPACE
:=
$(NULL)
# TRD : with a trailing space
##### sources, objects and libraries #####
BINNAME
:=
liblfds700
LIB_BINARY
:=
$(BINDIR)
\$
(
BINNAME
)
.lib
DLL_BINARY
:=
$(BINDIR)
\$
(
BINNAME
)
.dll
SRCDIRS
:=
lfds700_btree_addonly_unbalanced lfds700_freelist lfds700_hash_addonly lfds700_list_addonly_ordered_singlylinked lfds700_list_addonly_singlylinked_unordered lfds700_misc lfds700_queue lfds700_queue_bounded_singleconsumer_singleproducer lfds700_ringbuffer lfds700_stack
SOURCES
:=
lfds700_hash_addonly_cleanup.c lfds700_hash_addonly_get.c lfds700_hash_addonly_init.c lfds700_hash_addonly_insert.c lfds700_hash_addonly_iterate.c lfds700_hash_addonly_query.c
\
lfds700_list_addonly_ordered_singlylinked_cleanup.c lfds700_list_addonly_ordered_singlylinked_get.c lfds700_list_addonly_ordered_singlylinked_init.c lfds700_list_addonly_ordered_singlylinked_insert.c lfds700_list_addonly_ordered_singlylinked_query.c
\
lfds700_list_addonly_singlylinked_unordered_cleanup.c lfds700_list_addonly_singlylinked_unordered_get.c lfds700_list_addonly_singlylinked_unordered_init.c lfds700_list_addonly_singlylinked_unordered_insert.c lfds700_list_addonly_singlylinked_unordered_query.c
\
lfds700_btree_addonly_unbalanced_cleanup.c lfds700_btree_addonly_unbalanced_get.c lfds700_btree_addonly_unbalanced_init.c lfds700_btree_addonly_unbalanced_insert.c lfds700_btree_addonly_unbalanced_query.c
\
lfds700_freelist_cleanup.c lfds700_freelist_init.c lfds700_freelist_pop.c lfds700_freelist_push.c lfds700_freelist_query.c
\
lfds700_misc_cleanup.c lfds700_misc_globals.c lfds700_misc_init.c lfds700_misc_prng.c lfds700_misc_query.c
\
lfds700_queue_cleanup.c lfds700_queue_dequeue.c lfds700_queue_enqueue.c lfds700_queue_init.c lfds700_queue_query.c
\
lfds700_queue_bounded_singleconsumer_singleproducer_cleanup.c lfds700_queue_bounded_singleconsumer_singleproducer_dequeue.c lfds700_queue_bounded_singleconsumer_singleproducer_enqueue.c lfds700_queue_bounded_singleconsumer_singleproducer_init.c lfds700_queue_bounded_singleconsumer_singleproducer_query.c
\
lfds700_ringbuffer_cleanup.c lfds700_ringbuffer_init.c lfds700_ringbuffer_query.c lfds700_ringbuffer_read.c lfds700_ringbuffer_write.c
\
lfds700_stack_cleanup.c lfds700_stack_init.c lfds700_stack_pop.c lfds700_stack_push.c lfds700_stack_query.c
OBJECTS
:=
$(
patsubst
%.c,
$(OBJDIR)
/%.obj,
$(
notdir
$(SOURCES)
))
SYSLIBS
:=
kernel32.lib
##### default paths fix up #####
INCDIRS
:=
$(
patsubst
%,%
;
,
$(INCDIR)
)
INCLUDE
+=
$(
subst
$(SPACE)
,,
$(INCDIRS)
)
##### tools #####
MAKE
:=
make
MFLAGS
:=
CC
:=
cl
CBASE
:=
/c
"-I
$(SRCDIR)
"
"/Fd
$(BINDIR)
\$
(BINNAME).pdb"
/D_CRT_SECURE_NO_WARNINGS /DWIN32_LEAN_AND_MEAN /DUNICODE /D_UNICODE /DUNICODE /nologo /W4 /wd 4068 /WX
CFREL
:=
/DNDEBUG /Ox
CFDBG
:=
/D_DEBUG /Gm /Od /Zi
AR
:=
lib
AFLAGS
:=
/nologo /subsystem:console /verbose /wx
LD
:=
link
LFBASE
:=
/def:
$(BINNAME)
.def /dll /nodefaultlib /nologo /nxcompat /subsystem:console /wx
LFREL
:=
/incremental:no
LFDBG
:=
/debug
"/pdb:
$(BINDIR)
\$
(BINNAME).pdb"
##### variants #####
CFLAGS
:=
$(CBASE)
$(CFDBG)
/MTd
ASFLAGS
:=
$(ASBASE)
$(ASDBG)
LFLAGS
:=
$(LFBASE)
$(LFDBG)
CLIB
:=
libcmtd.lib
ifeq
($(MAKECMDGOALS),librel)
CFLAGS
:=
$(CBASE)
$(CFREL)
/MT
ASFLAGS
:=
$(ASBASE)
$(ASREL)
LFLAGS
:=
$(LFBASE)
$(LFREL)
CLIB
:=
libcmt.lib
endif
ifeq
($(MAKECMDGOALS),libdbg)
CFLAGS
:=
$(CBASE)
$(CFDBG)
/MTd
ASFLAGS
:=
$(ASBASE)
$(ASDBG)
LFLAGS
:=
$(LFBASE)
$(LFDBG)
CLIB
:=
libcmtd.lib
endif
ifeq
($(MAKECMDGOALS),dllrel)
CFLAGS
:=
$(CBASE)
$(CFREL)
/MD
ASFLAGS
:=
$(ASBASE)
$(ASREL)
LFLAGS
:=
$(LFBASE)
$(LFREL)
CLIB
:=
msvcrt.lib
endif
ifeq
($(MAKECMDGOALS),dlldbg)
CFLAGS
:=
$(CBASE)
$(CFDBG)
/MDd
ASFLAGS
:=
$(ASBASE)
$(ASDBG)
LFLAGS
:=
$(LFBASE)
$(LFDBG)
CLIB
:=
msvcrtd.lib
endif
##### search paths #####
vpath
%.c
$(patsubst
%,$(SRCDIR)/%;,$(SRCDIRS))
##### implicit rules #####
$(OBJDIR)/%.obj
:
%.c
$(CC)
$(CFLAGS)
"/Fo
$@
"
$<
##### explicit rules #####
$(LIB_BINARY)
:
$(OBJECTS)
$(AR)
$(AFLAGS)
$(OBJECTS)
/out:
$(LIB_BINARY)
$(DLL_BINARY)
:
$(OBJECTS)
$(LD)
$(LFLAGS)
$(CLIB)
$(SYSLIBS)
$(OBJECTS)
/out:
$(DLL_BINARY)
##### phony #####
.PHONY
:
clean librel libdbg dllrel dlldbg
clean
:
@
erase /Q
$(BINDIR)
\$
(
BINNAME
)
.
*
$(OBJDIR)
\*
.obj
$(QUIETLY)
dlldbg
:
$(DLL_BINARY)
dllrel
:
$(DLL_BINARY)