# - . should come before mozilla/bindings because the plugin needs libvlc.a
# - po should come before . because VLC.app needs the pofiles
# - loader should come before modules because some plugins need it
-SUBDIRS = intl po libs/loader
-if HAVE_LIBGCRYPT
-SUBDIRS += libs/srtp
-endif
-SUBDIRS += src modules . \
+SUBDIRS = intl po libs/loader libs/srtp src modules . \
mozilla bindings activex share doc
DIST_SUBDIRS = $(SUBDIRS) m4 ipkg
${autoheader}
${automake} --add-missing --copy -Wall
-# patch for uclibc support on linux (remove when fixed)
-patch -s -p0 << 'EOF'
---- autotools/config.sub.orig 2007-05-16 13:16:41.000000000 +0200
-+++ autotools/config.sub 2007-05-16 13:17:34.000000000 +0200
-@@ -1110,6 +1110,9 @@
- -unixware*)
- os=-sysv4.2uw
- ;;
-+ -uclibc*)
-+ os=-linux
-+ ;;
- -gnu/linux*)
- os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
- ;;
-EOF
-
##
## files which need to be regenerated
##
#else
# if !defined (__PLUGIN__) || defined (HAVE_SHARED_LIBVLC)
# ifdef __cplusplus
-# if HAVE_ATTRIBUTE_VISIBILITY
-# define VLC_EXPORT( type, name, args ) extern "C" __attribute__((visibility("default"))) type name args
-# define VLC_INTERNAL( type, name, args ) extern "C" __attribute__((visibility("hidden"))) type name args
-# else
# define VLC_EXPORT( type, name, args ) extern "C" type name args
# define VLC_INTERNAL( type, name, args ) extern "C" type name args
-# endif
# else
-# if HAVE_ATTRIBUTE_VISIBILITY
-# define VLC_EXPORT( type, name, args ) __attribute__((visibility("default"))) type name args
-# define VLC_INTERNAL( type, name, args ) __attribute__((visibility("hidden"))) type name args
-# else
# define VLC_EXPORT( type, name, args ) type name args
# define VLC_INTERNAL( type, name, args ) type name args
-# endif
# endif
# else
# define VLC_EXPORT( type, name, args ) struct _u_n_u_s_e_d_