+ # Build only VLC, with the non-PIC libs
+ $(MAKE) vlc
+
+ifneq ($(DEB_BUILD_ARCH),i386)
+ # Hackety hackety hack
+ if test ! -d CVS; then \
+ cd extras/ffmpeg/libavcodec \
+ && $(MAKE) clean \
+ && rm -f Makefile.pic \
+ && sed 's/^CFLAGS *=/&-fPIC -DPIC /' <Makefile >Makefile.pic \
+ && $(MAKE) -f Makefile.pic \
+ && rm -f Makefile.pic; \
+ fi
+
+ # HACKETY HACKETY HACK
+ if test ! -d CVS; then \
+ cd extras/faad/libfaad \
+ && $(MAKE) clean \
+ && $(MAKE) AM_CFLAGS=-fPIC; \
+ fi
+
+ # HACK ME PLENTY MORE!!!
+ if test ! -d CVS; then \
+ cd extras/mpeg2dec/libmpeg2 \
+ && $(MAKE) clean \
+ && $(MAKE) LIBMPEG2_CFLAGS=-fPIC; \
+ fi
+endif
+
+ # Build all the rest, with the PIC libs