Update changelog.
[deb_x265.git] / debian / confflags
... / ...
CommitLineData
1libdir := lib/$(DEB_HOST_MULTIARCH)
2
3
4common_confflags := \
5 -DCMAKE_INSTALL_PREFIX=/usr \
6 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
7 -DCMAKE_VERBOSE_MAKEFILE=ON
8
98bit_confflags := \
10 $(common_confflags) \
11 -DLIB_INSTALL_DIR=$(libdir)
12
1310bit_confflags := \
14 $(common_confflags) \
15 -DBIN_INSTALL_DIR=$(libdir)/x265-10bit \
16 -DLIB_INSTALL_DIR=$(libdir)/x265-10bit \
17 -DHIGH_BIT_DEPTH=ON
18
19
20static_confflags := \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_VERBOSE_MAKEFILE=ON \
24 -DENABLE_CLI=OFF \
25 -DENABLE_SHARED=OFF
26
278bit_static_confflags := \
28 $(static_confflags) \
29 -DLIB_INSTALL_DIR=$(libdir)
30
3110bit_static_confflags := \
32 $(static_confflags) \
33 -DLIB_INSTALL_DIR=$(libdir)/x265-10bit \
34 -DHIGH_BIT_DEPTH=ON
35
36
37# disable assembly on x86 and arm
38ifneq (,$(filter i386 i486 i586 i686 pentium arm,$(DEB_HOST_GNU_CPU)))
39noasm = -DENABLE_ASSEMBLY=OFF -DCMAKE_CXX_FLAGS='-DX86_64=0'
408bit_confflags += $(noasm)
4110bit_confflags += $(noasm)
428bit_static_confflags += $(noasm)
4310bit_static_confflags += $(noasm)
44endif
45