mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-17 05:10:00 +01:00
28 lines
772 B
Makefile
Executable File
28 lines
772 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
|
|
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
|
|
|
|
%:
|
|
dh $@
|
|
|
|
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
|