From: RĂ©mi Denis-Courmont Date: Sun, 4 May 2008 12:51:15 +0000 (+0300) Subject: More avoidable directories X-Git-Tag: 0.9.0-test0~1192 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=7849b2496116224c43b78a09a463c5d57033c535 More avoidable directories --- diff --git a/Makefile.am b/Makefile.am index 2f12b66387..0ffc515011 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,10 +9,18 @@ # - libs/* are needed by modules EXTRA_SUBDIRS = m4 extras/package/ipkg \ bindings/python \ + libs/loader libs/srtp \ projects/mozilla projects/activex -SUBDIRS = po libs/loader libs/srtp src modules share doc test DIST_SUBDIRS = $(SUBDIRS) $(EXTRA_SUBDIRS) +SUBDIRS = po src +if LOADER +SUBDIRS += libs/loader +endif +if HAVE_LIBGCRYPT +SUBDIRS += libs/srtp +endif +SUBDIRS += modules share doc test if BUILD_MOZILLA SUBDIRS += projects/mozilla endif diff --git a/libs/loader/Makefile.am b/libs/loader/Makefile.am index f211c2f4aa..2e7c7f9397 100644 --- a/libs/loader/Makefile.am +++ b/libs/loader/Makefile.am @@ -9,9 +9,7 @@ # by their respective owner(s). # -if LOADER noinst_LTLIBRARIES = libloader.la -endif # TODO: real check for vsscanf() and AM_CPPFLAGS = -D__WINE__ -DHAVE_SYS_MMAN_H=1 -DHAVE_VSSCANF=1 \ diff --git a/libs/srtp/Makefile.am b/libs/srtp/Makefile.am index 31b74936ce..901003cc34 100644 --- a/libs/srtp/Makefile.am +++ b/libs/srtp/Makefile.am @@ -25,11 +25,9 @@ endif noinst_HEADERS = srtp.h EXTRA_PROGRAMS = srtp -if HAVE_LIBGCRYPT noinst_LTLIBRARIES = libvlc_srtp.la check_PROGRAMS = test-aes test-recv TESTS = $(check_PROGRAMS) -endif libvlc_srtp_la_SOURCES = srtp.c srtp_SOURCES = recv.c diff --git a/modules/access/Modules.am b/modules/access/Modules.am index 5d76ae05f5..349bd6da11 100644 --- a/modules/access/Modules.am +++ b/modules/access/Modules.am @@ -1,9 +1,16 @@ -SUBDIRS = bda dshow dvb mms cdda rtsp rtmp v4l2 vcd vcdx screen # Automake forgets to add a proper tag to libtool with Objective-C files. # Moreover Libtool should default tag to CC when none is specified but # obviously does not. Here is a fix for that. LIBTOOL=@LIBTOOL@ --tag=CC +EXTRA_SUBDIRS = bda dshow +SUBDIRS = dvb mms cdda rtsp rtmp v4l2 vcd vcdx screen +DIST_SUBDIRS = $(EXTRA_SUBDIRS) $(SUBDIRS) + +if HAVE_WIN32 +SUBDIRS += bda dshow +endif + SOURCES_access_file = file.c SOURCES_access_mmap = mmap.c SOURCES_access_directory = directory.c