summaryrefslogtreecommitdiff
path: root/plugins/flac/Makefile.am
blob: 5b1f5c7ef32f33e5bbae8fd5442e20d388313e6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if HAVE_FLAC
flacdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = flac.la
flac_la_SOURCES = flac.c
flac_la_LDFLAGS = -module -avoid-version -export-symbols-regex flac_load

if HAVE_OGG
oggedit_def = -DUSE_OGGEDIT=1 $(OGG_CFLAGS)
oggedit_lib = ../liboggedit/liboggedit.a $(OGG_LIBS)
endif

flac_la_LIBADD = $(LDADD) $(FLAC_LIBS) $(oggedit_lib)
AM_CFLAGS = $(CFLAGS) $(FLAC_CFLAGS) $(oggedit_def) -std=c99
endif