2003-10-30 17:42:53 -05:00
|
|
|
# $Id$
|
|
|
|
#
|
2007-04-08 00:43:22 -04:00
|
|
|
SUBDIRS = plugins
|
2003-12-04 18:20:51 -05:00
|
|
|
|
2003-10-30 17:42:53 -05:00
|
|
|
sbin_PROGRAMS = mt-daapd
|
2006-05-28 00:06:14 -04:00
|
|
|
bin_PROGRAMS = wavstreamer
|
2003-10-30 17:42:53 -05:00
|
|
|
|
2007-04-08 00:43:22 -04:00
|
|
|
LDADD=
|
|
|
|
|
2003-11-17 11:37:39 -05:00
|
|
|
if COND_REND_POSIX
|
2007-04-08 00:43:22 -04:00
|
|
|
SUBDIRS += mdns
|
|
|
|
AM_CPPFLAGS = -I./mdns
|
|
|
|
LDADD+=mdns/libmdns.la
|
|
|
|
PRENDSRC=rend-unix.c rend-posix.c
|
2003-11-17 11:37:39 -05:00
|
|
|
endif
|
2003-10-30 17:42:53 -05:00
|
|
|
|
2003-11-17 11:37:39 -05:00
|
|
|
if COND_REND_HOWL
|
2004-10-30 12:42:20 -04:00
|
|
|
HRENDSRC=rend-howl.c rend-unix.c
|
2003-11-17 11:37:39 -05:00
|
|
|
endif
|
2003-10-30 17:42:53 -05:00
|
|
|
|
2003-12-01 00:27:54 -05:00
|
|
|
if COND_REND_OSX
|
2004-10-30 12:42:20 -04:00
|
|
|
ORENDSRC=rend-osx.c rend-unix.c
|
2003-12-01 00:27:54 -05:00
|
|
|
endif
|
|
|
|
|
2006-11-28 17:11:18 -05:00
|
|
|
if COND_REND_AVAHI
|
|
|
|
ARENDSRC=rend-avahi.c
|
|
|
|
endif
|
|
|
|
|
2004-12-05 22:06:12 -05:00
|
|
|
if COND_OGGVORBIS
|
2005-05-29 19:44:23 -04:00
|
|
|
OGGVORBISSRC=scan-ogg.c
|
2004-12-05 22:06:12 -05:00
|
|
|
endif
|
|
|
|
|
2005-02-26 19:41:55 -05:00
|
|
|
if COND_FLAC
|
2005-05-29 19:44:23 -04:00
|
|
|
FLACSRC=scan-flac.c
|
2005-02-26 19:41:55 -05:00
|
|
|
endif
|
|
|
|
|
2005-11-01 23:45:25 -05:00
|
|
|
if COND_MUSEPACK
|
|
|
|
MUSEPACKSRC=scan-mpc.c
|
|
|
|
endif
|
|
|
|
|
2005-02-28 23:19:27 -05:00
|
|
|
if COND_SQLITE
|
2006-01-06 12:43:38 -05:00
|
|
|
SQLITEDB=db-sql-sqlite2.c db-sql-sqlite2.h
|
2005-02-28 23:19:27 -05:00
|
|
|
endif
|
|
|
|
|
2006-01-06 12:43:38 -05:00
|
|
|
if COND_SQLITE3
|
|
|
|
SQLITE3DB=db-sql-sqlite3.c db-sql-sqlite3.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
if COND_SQL
|
|
|
|
SQLDB=db-sql.c db-sql.h
|
|
|
|
endif
|
|
|
|
|
2006-03-26 20:48:43 -05:00
|
|
|
if COND_GDBM
|
|
|
|
GDBM=db-gdbm.c db-gdbm.h
|
|
|
|
endif
|
2006-01-06 12:43:38 -05:00
|
|
|
|
2005-02-26 22:34:07 -05:00
|
|
|
wavstreamer_SOURCES = wavstreamer.c
|
|
|
|
|
2003-11-17 11:37:39 -05:00
|
|
|
mt_daapd_SOURCES = main.c daapd.h rend.h uici.c uici.h webserver.c \
|
|
|
|
webserver.h configfile.c configfile.h err.c err.h restart.c restart.h \
|
2006-04-15 04:53:56 -04:00
|
|
|
mp3-scanner.h mp3-scanner.c rend-unix.h \
|
2006-09-24 23:20:22 -04:00
|
|
|
db-generic.c db-generic.h \
|
2006-06-12 01:41:36 -04:00
|
|
|
rxml.c rxml.h redblack.c redblack.h scan-mp3.c scan-mp4.c scan-aif.c \
|
2005-06-01 10:40:28 -04:00
|
|
|
scan-xml.c scan-wma.c scan-aac.c scan-aac.h scan-wav.c scan-url.c \
|
2005-11-07 00:58:05 -05:00
|
|
|
smart-parser.c smart-parser.h xml-rpc.c xml-rpc.h \
|
2006-07-12 00:10:21 -04:00
|
|
|
os.h ll.c ll.h conf.c conf.h compat.c compat.h util.c util.h \
|
2006-06-29 02:21:41 -04:00
|
|
|
os-unix.h os-unix.c os.h plugin.c plugin.h db-sql-updates.c \
|
2007-01-16 20:06:16 -05:00
|
|
|
memdebug.c memdebug.h \
|
2006-11-28 17:11:18 -05:00
|
|
|
$(PRENDSRC) $(ORENDSRC) $(HRENDSRC) $(ARENDSRC) $(OGGVORBISSRC) \
|
|
|
|
$(FLACSRC) $(MUSEPACKSRC) $(SQLITEDB) $(SQLITE3DB) $(SQLDB) $(GDBM)
|
2003-10-30 17:42:53 -05:00
|
|
|
|
2007-04-08 00:43:22 -04:00
|
|
|
EXTRA_DIST = rend-howl.c rend-posix.c rend-osx.c scan-mpc.c \
|
2006-02-26 03:46:24 -05:00
|
|
|
scan-ogg.c scan-flac.c db-sql.c db-sql.h \
|
2006-01-06 12:43:38 -05:00
|
|
|
db-sql-sqlite2.h db-sql-sqlite2.c \
|
2006-02-26 03:46:24 -05:00
|
|
|
db-sql-sqlite3.h db-sql-sqlite3.c \
|
|
|
|
w32-eventlog.c w32-eventlog.h w32-service.c w32-service.h \
|
2006-05-29 07:58:23 -04:00
|
|
|
os-win32.h os-win32.c win32.h db-gdbm.c db-gdbm.h \
|
2006-10-03 10:41:24 -04:00
|
|
|
ff-plugins.h ff-dbstruct.h
|