solaris fixes

This commit is contained in:
Ron Pedde
2004-01-13 04:29:30 +00:00
parent 25b3dd0679
commit b24a3200d0
4 changed files with 51 additions and 2 deletions

View File

@@ -6,6 +6,14 @@ AM_YFLAGS=-d
sbin_PROGRAMS = mt-daapd
if COND_NEED_STRCASESTR
STRCASESTR=strcasestr.c
endif
if COND_NEED_STRSEP
STRSEP=strsep.c
endif
if COND_REND_POSIX
RENDSRC=mdns/mDNS.c mdns/mDNSClientAPI.h mdns/mDNSDebug.h mdns/mDNSPosix.c mdns/mDNSUNP.c rend-posix.c mdns/mDNSPlatformFunctions.h
endif
@@ -22,10 +30,11 @@ 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 \
daap-proto.c daap-proto.h daap.c daap.h db-memory.c db-memory.h \
mp3-scanner.h mp3-scanner.c playlist.c playlist.h \
lexer.l parser.y $(RENDSRC)
lexer.l parser.y $(RENDSRC) $(STRCASESTR) $(STRSEP)
EXTRA_DIST = mdns/mDNS.c mdns/mDNSClientAPI.h mdns/mDNSDebug.h mdns/mDNSPosix.c \
mdns/mDNSUNP.c mdns/mDNSPlatformFunctions.h mdns/mDNSPosix.h mdns/mDNSUNP.h \
rend-howl.c rend-posix.c rend-osx.c
rend-howl.c rend-posix.c rend-osx.c strcasestr.c strsep.c