summaryrefslogtreecommitdiff
path: root/webrtc/system_wrappers/Makefile.am
blob: 09973a768b317bf884e20a5f3b3e48f8e27d0aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
noinst_LTLIBRARIES = libsystem_wrappers.la

noinst_HEADERS = include/aligned_array.h \
		 include/asm_defines.h \
		 include/condition_variable_wrapper.h \
		 include/compile_assert_c.h \
		 include/event_wrapper.h \
		 include/scoped_vector.h \
		 include/static_instance.h \
		 include/stl_util.h

libsystem_wrappers_la_SOURCES = include/aligned_malloc.h \
				include/cpu_features_wrapper.h \
				include/critical_section_wrapper.h \
				include/file_wrapper.h \
				include/logging.h \
				include/metrics.h \
				include/rw_lock_wrapper.h \
				include/sleep.h \
				include/thread_wrapper.h \
				include/trace.h \
				source/aligned_malloc.cc \
				source/cpu_features.cc \
				source/event.cc \
				source/event_timer_posix.h \
				source/event_timer_win.h \
				source/file_impl.cc \
				source/file_impl.h \
				source/critical_section.cc \
				source/critical_section_posix.h \
				source/critical_section_win.h \
				source/logging.cc \
				source/metrics_default.cc \
				source/rw_lock.cc \
				source/rw_lock_generic.h \
				source/rw_lock_posix.h \
				source/rw_lock_win.h \
				source/sleep.cc \
				source/thread.cc \
				source/thread_posix.h \
				source/thread_win.h \
				source/trace_impl.cc \
				source/trace_impl.h \
				source/trace_posix.h \
				source/trace_win.h

EXTRA_DIST = BUILD.gn

if HAVE_POSIX
libsystem_wrappers_la_SOURCES += source/critical_section_posix.cc \
				 source/event_timer_posix.cc \
				 source/rw_lock_posix.cc \
				 source/thread_posix.cc \
				 source/trace_posix.cc
else
EXTRA_DIST += source/critical_section_posix.cc \
			  source/event_timer_posix.cc \
			  source/rw_lock_posix.cc \
			  source/thread_posix.cc \
			  source/trace_posix.cc
endif

if HAVE_WIN
libsystem_wrappers_la_SOURCES += include/fix_interlocked_exchange_pointer_win.h \
				 source/critical_section_win.cc \
				 source/condition_variable.cc \
				 source/condition_variable_event_win.cc \
				 source/condition_variable_event_win.h \
				 source/condition_variable_native_win.cc \
				 source/condition_variable_native_win.h \
				 source/event_timer_win.cc \
				 source/rw_lock_win.cc \
				 source/rw_lock_generic.cc \
				 source/thread_win.cc \
				 source/trace_win.cc
else
EXTRA_DIST += include/fix_interlocked_exchange_pointer_win.h \
	      source/critical_section_win.cc \
	      source/condition_variable.cc \
	      source/condition_variable_event_win.cc \
	      source/condition_variable_event_win.h \
	      source/condition_variable_native_win.cc \
	      source/condition_variable_native_win.h \
	      source/event_timer_win.cc \
	      source/rw_lock_generic.cc \
	      source/rw_lock_win.cc \
	      source/thread_win.cc \
	      source/trace_win.cc
endif

libsystem_wrappers_la_CXXFLAGS = $(AM_CXXFLAGS) $(COMMON_CXXFLAGS)