summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartijn van Beurden <mvanb1@gmail.com>2022-08-13 15:20:42 +0200
committerGitHub <noreply@github.com>2022-08-13 15:20:42 +0200
commit010c60e1f9ad20b42863cfe7bed49593b4cccb1f (patch)
tree8cde771890f1a169bd6eee560ec402986837dc0b /src
parent9bc2cc4c3b4b6befa3cf09f364e4f6a0bdfc46e1 (diff)
downloadflac-010c60e1f9ad20b42863cfe7bed49593b4cccb1f.tar.gz
Add configure option to not build programs
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 988eff64..703cfa16 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,11 +24,14 @@ if FLaC__WITH_CPPLIBS
CPPLIBS_DIRS = libFLAC++ test_libFLAC++
endif
+if FLaC__WITH_PROGRAMS
+PROGRAMS_DIRS = flac metaflac
+endif
+
SUBDIRS = \
libFLAC \
share \
- flac \
- metaflac \
+ $(PROGRAMS_DIRS) \
$(XMMS_DIRS) \
test_grabbag \
test_libs_common \