owntone-server/src/Makefile.am
Julien BLACHE e3ab6de328 Replace old config code, remove old code
Activate the new confuse-based config code, add compatibility functions
for the old config code.
2009-04-19 19:37:47 +02:00

37 lines
1.0 KiB
Makefile

SUBDIRS = plugins
sbin_PROGRAMS = mt-daapd
if COND_FLAC
FLACSRC=scan-flac.c
endif
if COND_MUSEPACK
MUSEPACKSRC=scan-mpc.c
endif
mt_daapd_CPPFLAGS = @AVAHI_CFLAGS@ @SQLITE3_CFLAGS@ @FFMPEG_CFLAGS@ @CONFUSE_CFLAGS@ @TAGLIB_CFLAGS@
mt_daapd_LDADD = @AVAHI_LIBS@ @SQLITE3_LIBS@ @FFMPEG_LIBS@ @CONFUSE_LIBS@ @FLAC_LIBS@ @TAGLIB_LIBS@ @LIBEVENT_LIBS@ @LIBDL@
mt_daapd_LDFLAGS = -export-dynamic
mt_daapd_SOURCES = main.c daapd.h webserver.c \
webserver.h configfile.c configfile.h err.c err.h \
mp3-scanner.h mp3-scanner.c \
conffile.c conffile.h \
filescanner_ffmpeg.c \
mdns_avahi.c mdns_avahi.h \
db-generic.c db-generic.h ff-plugins.c ff-plugins.h \
rxml.c rxml.h redblack.c redblack.h \
scan-xml.c scan-wma.c scan-url.c \
smart-parser.c smart-parser.h xml-rpc.c xml-rpc.h \
util.c util.h \
plugin.c plugin.h db-sql-updates.c \
io.h io.c io-errors.h io-plugin.h \
db-sql.c db-sql.h db-sql-sqlite3.c db-sql-sqlite3.h\
$(FLACSRC) $(MUSEPACKSRC)
EXTRA_DIST = scan-mpc.c \
scan-flac.c \
conf.h \
ff-plugins.h ff-dbstruct.h ff-plugin-events.h