Files
veejay/veejay-current/veejay-server/debian/rules
2011-02-06 13:26:08 +01:00

28 lines
793 B
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
%:
dh --with autotools_dev $@
override_dh_auto_configure:
ifeq ($(DEB_HOST_ARCH),i386)
dh_auto_configure -- --enable-debug
sed -i "s%#define HAVE_ASM_3DNOW%/* #undef HAVE_ASM_3DNOW */%g" config.h
sed -i "s%#define HAVE_ASM_MMX2%/* #undef HAVE_ASM_MMX2 */%g" config.h
sed -i "s%#define HAVE_ASM_SSE2%/* #undef HAVE_ASM_SSE2 */%g" config.h
sed -i "s%#define HAVE_CMOV%/* #undef HAVE_CMOV */%g" config.h
endif
ifeq ($(DEB_HOST_ARCH),amd64)
dh_auto_configure -- --enable-debug
sed -i "s%#define HAVE_ASM_3DNOW%/* #undef HAVE_ASM_3DNOW */%g" config.h
endif
override_dh_strip:
dh_strip --dbg-package=veejay-dbg
override_dh_auto_install:
dh_auto_install
find debian/tmp -type f -name "*.la" -ls -delete