mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 02:18:54 +00:00
30 lines
932 B
Makefile
30 lines
932 B
Makefile
#!/usr/bin/make -f
|
|
# makefile for libmad
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
DEB_DH_MAKESHLIBS_ARGS_libmad0 = -V 'libmad0 (>= 0.15.1b-3)'
|
|
|
|
include /usr/share/dpkg/architecture.mk
|
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
|
include /usr/share/cdbs/1/class/autotools.mk
|
|
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
|
|
include /usr/share/cdbs/1/rules/autoreconf.mk
|
|
|
|
export AUTOMAKE = automake --foreign
|
|
|
|
DEB_CONFIGURE_EXTRA_FLAGS=--enable-shared --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
|
|
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
|
|
DEB_CONFIGURE_EXTRA_FLAGS += --enable-profiling --enable-debugging
|
|
else
|
|
DEB_CONFIGURE_EXTRA_FLAGS += --disable-profiling --disable-debugging
|
|
endif
|
|
|
|
clean::
|
|
# annoying lintian errors
|
|
rm -f config.cache libz/config.log libz/config.status
|
|
|
|
install/libmad0-dev::
|
|
install -m644 -D debian/mad.pc debian/libmad0-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/mad.pc
|