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 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
|
(library
(name avutil)
(public_name ffmpeg-avutil)
(synopsis "Bindings to ffmpeg's avutil library")
(foreign_stubs
(language c)
(names avutil_stubs)
(flags
(:include c_flags.sexp)))
(c_library_flags
(:include c_library_flags.sexp))
(install_c_headers
avutil_stubs
polymorphic_variant_values_stubs
media_types_stubs)
(libraries threads))
(rule
(targets c_flags c_flags.sexp c_library_flags.sexp)
(action
(run ./config/discover.exe)))
(rule
(targets avutil_stubs.c)
(mode fallback)
(deps
polymorphic_variant_values_stubs.h
pixel_format_stubs.h
media_types_stubs.h
hw_device_type_stubs.h
pixel_format_flag_stubs.h
sample_format_stubs.h
channel_layout_stubs.h)
(action
(echo "this should not happen")))
(rule
(targets hw_device_type_stubs.h)
(deps c_flags)
(action
(run
../gen_code/gen_code.exe
"%{cc}"
hw_device_type
h
%{read-lines:c_flags})))
(rule
(targets hw_device_type.ml)
(deps hw_device_type_stubs.h c_flags)
(action
(run
../gen_code/gen_code.exe
"%{cc}"
hw_device_type
ml
%{read-lines:c_flags})))
(rule
(targets media_types_stubs.h)
(deps c_flags)
(action
(run ../gen_code/gen_code.exe "%{cc}" media_types h %{read-lines:c_flags})))
(rule
(targets media_types.ml)
(deps media_types_stubs.h c_flags)
(action
(run ../gen_code/gen_code.exe "%{cc}" media_types ml %{read-lines:c_flags})))
(rule
(targets polymorphic_variant_values_stubs.h)
(deps c_flags)
(action
(run
../gen_code/gen_code.exe
"%{cc}"
polymorphic_variant
h
%{read-lines:c_flags})))
(rule
(targets pixel_format_stubs.h)
(deps c_flags)
(action
(run ../gen_code/gen_code.exe "%{cc}" pixel_format h %{read-lines:c_flags})))
(rule
(targets pixel_format.ml)
(deps c_flags)
(action
(run
../gen_code/gen_code.exe
"%{cc}"
pixel_format
ml
%{read-lines:c_flags})))
(rule
(targets pixel_format_flag_stubs.h)
(deps c_flags)
(action
(run
../gen_code/gen_code.exe
"%{cc}"
pixel_format_flag
h
%{read-lines:c_flags})))
(rule
(targets pixel_format_flag.ml)
(deps c_flags)
(action
(run
../gen_code/gen_code.exe
"%{cc}"
pixel_format_flag
ml
%{read-lines:c_flags})))
(rule
(targets sample_format_stubs.h)
(deps c_flags)
(action
(run
../gen_code/gen_code.exe
"%{cc}"
sample_format
h
%{read-lines:c_flags})))
(rule
(targets sample_format.ml)
(deps c_flags)
(action
(run
../gen_code/gen_code.exe
"%{cc}"
sample_format
ml
%{read-lines:c_flags})))
(rule
(targets channel_layout_stubs.h)
(deps c_flags)
(action
(run
../gen_code/gen_code.exe
"%{cc}"
channel_layout
h
%{read-lines:c_flags})))
(rule
(targets channel_layout.ml)
(deps c_flags)
(action
(run
../gen_code/gen_code.exe
"%{cc}"
channel_layout
ml
%{read-lines:c_flags})))
|