x86: yasm: Use complete source path for macro helper %includes
authorDiego Biurrun <diego@biurrun.de>
Sun, 15 Jul 2012 09:48:21 +0000 (11:48 +0200)
committerDiego Biurrun <diego@biurrun.de>
Tue, 30 Oct 2012 23:37:42 +0000 (00:37 +0100)
This is more consistent with the way we handle C #includes and
it simplifies the build system.

34 files changed:
Makefile
libavcodec/x86/ac3dsp.asm
libavcodec/x86/dct32.asm
libavcodec/x86/deinterlace.asm
libavcodec/x86/dsputil.asm
libavcodec/x86/dsputilenc.asm
libavcodec/x86/fft.asm
libavcodec/x86/fmtconvert.asm
libavcodec/x86/h264_chromamc.asm
libavcodec/x86/h264_chromamc_10bit.asm
libavcodec/x86/h264_deblock.asm
libavcodec/x86/h264_deblock_10bit.asm
libavcodec/x86/h264_idct.asm
libavcodec/x86/h264_idct_10bit.asm
libavcodec/x86/h264_intrapred.asm
libavcodec/x86/h264_intrapred_10bit.asm
libavcodec/x86/h264_qpel_10bit.asm
libavcodec/x86/h264_weight.asm
libavcodec/x86/h264_weight_10bit.asm
libavcodec/x86/pngdsp.asm
libavcodec/x86/proresdsp.asm
libavcodec/x86/rv34dsp.asm
libavcodec/x86/rv40dsp.asm
libavcodec/x86/sbrdsp.asm
libavcodec/x86/vc1dsp.asm
libavcodec/x86/vp3dsp.asm
libavcodec/x86/vp56dsp.asm
libavcodec/x86/vp8dsp.asm
libavfilter/x86/hqdn3d.asm
libavresample/x86/audio_convert.asm
libavresample/x86/audio_mix.asm
libswscale/x86/input.asm
libswscale/x86/output.asm
libswscale/x86/scale.asm

index 1f73a0a6a8d257bb493562f2196f619d43ad9c9e..5e1dae66aab445cb597270819686a213c6a6769d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ CPPFLAGS   := $(IFLAGS) $(CPPFLAGS)
 CFLAGS     += $(ECFLAGS)
 CCFLAGS     = $(CPPFLAGS) $(CFLAGS)
 ASFLAGS    := $(CPPFLAGS) $(ASFLAGS)
-YASMFLAGS  += $(IFLAGS:%=%/) -I$(SRC_PATH)/libavutil/x86/ -Pconfig.asm
+YASMFLAGS  += $(IFLAGS:%=%/) -Pconfig.asm
 HOSTCCFLAGS = $(IFLAGS) $(HOSTCFLAGS)
 LDFLAGS    := $(ALLFFLIBS:%=$(LD_PATH)lib%) $(LDFLAGS)
 
index 01c1b8e7faa7ae7cbe186d05fa930f0eb887a88a..724b0dc97a147f9b6a4309c2428d145eef5f5b31 100644 (file)
@@ -19,7 +19,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index 53c24157cdbf7051225884b3ab5513c6c55b8625..25bc8f752dc778b914fbf253933338a2f8bbc7fa 100644 (file)
@@ -19,7 +19,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA 32
 
index f15b8ea3017469f162429339041404ebe1140f7e..b2828f3f1786a0d34b43404e35bb6050f328848b 100644 (file)
@@ -20,7 +20,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index 4b36ca828d3968ad7e4e18406f0b60b6cee10f48..0ed64aa458ac59e0c12aa859204a90bcc0705c21 100644 (file)
@@ -19,7 +19,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 pb_f: times 16 db 15
index 39031cb06ac99fc99bfde5ccd9dc14c32332ef8d..597f894c4e3e8c322e3ce2d87575dc1bd471f297 100644 (file)
@@ -21,7 +21,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;*****************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION .text
 
index 465c08b00b24062cc45aab80175ca119bb3f912b..8c69f1f7711722c3bb3e8f7003947ea26888d685 100644 (file)
@@ -28,7 +28,7 @@
 ; in blocks as conventient to the vector size.
 ; i.e. {4x real, 4x imaginary, 4x real, ...} (or 2x respectively)
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 %if ARCH_X86_64
 %define pointer resq
index d59c43ba7a76eb93212358d0e97297ec1d2bb286..2951b1672a0f83fcf5c56118279d22716584767d 100644 (file)
@@ -19,7 +19,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_TEXT
 
index 46518839d582c0ff410ed5711812a102688ac63e..e3aff0b85e316bd38e85682d233291716ae60412 100644 (file)
@@ -20,7 +20,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index 254c69f2ce3d46c8411988de4b647a8d6d53d419..4481efef7f0ffd52e5c6c9f0e71d35fc91bba5e8 100644 (file)
@@ -22,7 +22,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index 103fb0d64e46654942038fe4a287a838250866a1..f5de7c9c77f344b6d4dc3f3bd686f6bf014b8632 100644 (file)
@@ -24,7 +24,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index e7186130057854175a0ac22320a370ae0821b1fe..e105c6cfda4b51b047bea54b6dcfed4999a102d5 100644 (file)
@@ -24,7 +24,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index 5ae32636df6f079047576f84a9dddc7c6f062d6a..5d861d3cab1dcd57ede11ff0f98e76e3aca08028 100644 (file)
@@ -26,7 +26,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;*****************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index ad923f94f6a3b6f625c3040517e64cff5a0b5a61..5ba241b3f3522f5553c29f339eedb705d3c9d290 100644 (file)
@@ -22,7 +22,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index 3a5a6d4ccde159a77e80309fe997aada7cd238d3..94d979c680930ae032f20e6c421f793c35646d00 100644 (file)
@@ -22,7 +22,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index 98c9118c796a21aa55822f3c6404f61fe275d753..50ebaa78c374537377e512e33fd5ef29e25fd911 100644 (file)
@@ -22,7 +22,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index 0a9c433b25d46bfb73446882c2322d3a6de2894a..a84b810955adf54995e98ea6e78418e495ee3f99 100644 (file)
@@ -22,7 +22,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA 32
 
index 6fe9a40b63cf72bdf576be32162951c0c7f3f744..bc3fb4baf1e00d8858cee61816f53e6210857e64 100644 (file)
@@ -21,7 +21,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION .text
 
index b2228bb0a6ced53b3ae3d2713e8fe881469f0a19..20d26a49c39c29b9ca93f672d4a8872498ac5733 100644 (file)
@@ -22,7 +22,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA 32
 
index e0b387198fd3fb5647bac49012b80fbc1d017244..1573363c9536dc6541c20b1bfe682e4d4cfdb6fd 100644 (file)
@@ -21,7 +21,7 @@
 ;* 51, Inc., Foundation Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index 5b7b7fc821fed434d2620d5b2bdd7a7faef74256..91e0800365cb430c7da893f993d933c3a2bdc82a 100644 (file)
@@ -21,7 +21,7 @@
 ;* 51, Inc., Foundation Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 %define W1sh2 22725 ; W1 = 90901 = 22725<<2 + 1
 %define W2sh2 21407 ; W2 = 85627 = 21407<<2 - 1
index d6a2897d48c5e2ad063363f3d8c36311543ee5b1..2f12446fb0dbaa38780eb4c05ee378a204668341 100644 (file)
@@ -19,7 +19,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 pw_row_coeffs:  times 4 dw 13
index 834b12b9315ddbfd86f6c704e31efbc974c664cb..02267ef53379b0a17186d10354b9979996afa466 100644 (file)
@@ -21,7 +21,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index b10b424bb45935076f8fe2538fed7d0cb308c418..c351de443076058eb497a2cefc5ffdd047f3dfba 100644 (file)
@@ -19,7 +19,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 ;SECTION_RODATA
 SECTION .text
index 0aa4cf48af09453f5825a9db2fb57f299e1bd2b5..e759cf5cf00e24506f761798bc3b5b2429c19d85 100644 (file)
@@ -19,7 +19,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 cextern pw_4
 cextern pw_5
index 865f17624fc3ece15a68d6331c42043ed40009af..d3003047eba647eb2b12ecd8e14149b9d087b623 100644 (file)
@@ -19,7 +19,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 ; MMX-optimized functions cribbed from the original VP3 source code.
 
index f89ec7f43a9b15428c8e01313b52eb6824bda4bc..80f8ca5f38f46f418b6fd8dd1bdbbdf58eb8ae3f 100644 (file)
@@ -20,7 +20,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 cextern pw_64
 
index b7355c4a119da1783f45d043eb7e51a6e8c21654..5dc4ca3bc62facb94df80544932bf0ff7543740d 100644 (file)
@@ -20,7 +20,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index a84c7b7d5f0716b0509ee5a0cc6e39a22c8af3a1..dee2c9613102a1454e19cf621056b8d760de7455 100644 (file)
@@ -18,7 +18,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION .text
 
index a1213a69d5807fe63705968eadd0719936904bc9..e7f715776c1b716611027f417ac42e83f0794c84 100644 (file)
@@ -20,7 +20,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 %include "util.asm"
 
 SECTION_RODATA 32
index 13b364aac2d4f9b41d033d0a2da6311e916917f7..7f3b5b90807b927d3e90308a1dc048d132755fb9 100644 (file)
@@ -19,7 +19,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 %include "util.asm"
 
 SECTION_TEXT
index 5d10e230cf4b1b549d8d1e688f757c10a0715d7c..a8d5a5a1874862a55ca31d85c1ecc46dd8c7f183 100644 (file)
@@ -21,7 +21,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index 7a138d1a6530f2710ccc59fc385566f8fe4dfdca..c29aa7ea18de8d1fc55d2b751ee9c4b2859b7435 100644 (file)
@@ -20,7 +20,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA
 
index 3a36ee62ebec9c993fe262a71dc14d00033044d1..440a27b0ba4fdc4437ccf7e5347ebcd0aca99a13 100644 (file)
@@ -19,7 +19,7 @@
 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 ;******************************************************************************
 
-%include "x86util.asm"
+%include "libavutil/x86/x86util.asm"
 
 SECTION_RODATA