1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-24 06:10:09 +01:00

lib-src/Makefile.am: Separate optional subdirs into separate variable.

This commit is contained in:
benjamin.drung@gmail.com
2014-05-24 17:57:39 +00:00
parent b74ecf29aa
commit 5e54fc635c

View File

@@ -48,20 +48,18 @@ include dist-portaudio.mk
# libscorealign, mod-null, mod-nyq-bench, mod-script-pipe, mod-track-panel, portmidi # libscorealign, mod-null, mod-nyq-bench, mod-script-pipe, mod-track-panel, portmidi
SUBDIRS = FileDialog SUBDIRS = FileDialog
OPTIONAL_SUBDIRS =
if USE_LOCAL_EXPAT if USE_LOCAL_EXPAT
# Note: This library will not be distributed in the source tarball. OPTIONAL_SUBDIRS += expat
SUBDIRS += expat
endif endif
if USE_LOCAL_LIBID3TAG if USE_LOCAL_LIBID3TAG
# Note: This library will not be distributed in the source tarball. OPTIONAL_SUBDIRS += libid3tag
SUBDIRS += libid3tag
endif endif
if USE_LOCAL_LIBMAD if USE_LOCAL_LIBMAD
# Note: This library will not be distributed in the source tarball. OPTIONAL_SUBDIRS += libmad
SUBDIRS += libmad
endif endif
if USE_LOCAL_LIBNYQUIST if USE_LOCAL_LIBNYQUIST
@@ -73,18 +71,15 @@ SUBDIRS += libresample
endif endif
if USE_LOCAL_LIBSAMPLERATE if USE_LOCAL_LIBSAMPLERATE
# Note: This library will not be distributed in the source tarball. OPTIONAL_SUBDIRS += libsamplerate
SUBDIRS += libsamplerate
endif endif
if USE_LOCAL_LIBSNDFILE if USE_LOCAL_LIBSNDFILE
# Note: This library will not be distributed in the source tarball. OPTIONAL_SUBDIRS += libsndfile
SUBDIRS += libsndfile
endif endif
if USE_LOCAL_LIBSOUNDTOUCH if USE_LOCAL_LIBSOUNDTOUCH
# Note: This library will not be distributed in the source tarball. OPTIONAL_SUBDIRS += soundtouch
SUBDIRS += soundtouch
endif endif
if USE_LOCAL_LIBSOXR if USE_LOCAL_LIBSOXR
@@ -92,19 +87,16 @@ SUBDIRS += libsoxr
endif endif
if USE_LOCAL_LIBTWOLAME if USE_LOCAL_LIBTWOLAME
# Note: This library will not be distributed in the source tarball. OPTIONAL_SUBDIRS += twolame
SUBDIRS += twolame
endif endif
if USE_LOCAL_LIBVORBIS if USE_LOCAL_LIBVORBIS
# Note: These libraries will not be distributed in the source tarball. OPTIONAL_SUBDIRS += libogg libvorbis
SUBDIRS += libogg libvorbis
endif endif
if USE_LOCAL_LIBFLAC if USE_LOCAL_LIBFLAC
# Note: libflac needs to be linked against (the local or system) libogg. # Note: libflac needs to be linked against (the local or system) libogg.
# Note: This library will not be distributed in the source tarball. OPTIONAL_SUBDIRS += libflac
SUBDIRS += libflac
endif endif
if USE_LOCAL_LV2 if USE_LOCAL_LV2
@@ -134,6 +126,9 @@ if USE_LOCAL_WIDGETEXTRA
SUBDIRS += lib-widget-extra SUBDIRS += lib-widget-extra
endif endif
# Note: These optional libraries will not be distributed in the source tarball.
SUBDIRS += $(OPTIONAL_SUBDIRS)
# Overwrite install* targets from automake. We do not want to install anything # Overwrite install* targets from automake. We do not want to install anything
# from the lib-src libraries, because we statically link these libraries. # from the lib-src libraries, because we statically link these libraries.
install: install: