# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

# $Id: Makefile,v 1.1 2005/06/24 22:39:31 cylang Exp $
#


SHELL = /bin/sh

srcdir = .
top_srcdir = ..
prefix = /usr
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
webrootdir = ${datadir}/daapd/admin-root
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/daapd
pkglibdir = $(libdir)/daapd
pkgincludedir = $(includedir)/daapd

top_builddir = ..

ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader

INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = mips-linux-gnu
host_triplet = mips-linux-gnu
CROSS = mipsel-linux-
CC = $(CROSS)gcc
HAVE_LIB = @HAVE_LIB@
LEX = flex
LIB = @LIB@
LTLIB = @LTLIB@
MAKEINFO = makeinfo
PACKAGE = daapd
VERSION = 0.2.1.1
V_NETLIBS = 
YACC = bison -y

BUILT_SOURCES = parser.h
AM_YFLAGS = -d

sbin_PROGRAMS = daapd
etc_FILES = mt-daapd.conf mt-daapd.playlist

PRENDSRC = mDNS.c mDNSClientAPI.h mDNSDebug.h mDNSPosix.c mDNSUNP.c rend-posix.c mDNSPlatformFunctions.h rend-unix.c

#HRENDSRC = rend-howl.c rend-unix.c

#ORENDSRC = rend-osx.c rend-unix.c

#OGGVORBISSRC = ogg.c

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-gdbm.c db-memory.h 	mp3-scanner.h mp3-scanner.c playlist.c playlist.h 	rend-unix.h lexer.l parser.y strcasestr.c strcasestr.h strsep.c 	redblack.c redblack.h dynamic-art.c dynamic-art.h query.c query.h 	$(PRENDSRC) $(ORENDSRC) $(HRENDSRC) $(OGGVORBISSRC)


EXTRA_DIST = mDNS.c mDNSClientAPI.h mDNSDebug.h mDNSPosix.c 	mDNSUNP.c mDNSPlatformFunctions.h mDNSPosix.h mDNSUNP.h 	rend-howl.c rend-posix.c rend-osx.c db-memory.c 	db-gdbm.c strcasestr.h redblack.c redblack.h db-memory.c 	parser.h ogg.c

mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES = 
PROGRAMS =  $(sbin_PROGRAMS)


DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.. -I../../gdbm -I../../libid3tag -I../../zlib
CPPFLAGS =  -g -DWITHOUT_MDNS -DHOST='"mips-linux-gnu"' -DNOT_HAVE_SA_LEN
LDFLAGS =  -L../../gdbm -L../../zlib -L../../libid3tag -lpthread -lgdbm -lz -lid3tag
LIBS = 
daapd_OBJECTS =  \
main.o \
uici.o \
webserver.o \
configfile.o \
err.o \
restart.o \
daap-proto.o \
daap.o \
db-gdbm.o \
mp3-scanner.o \
playlist.o \
lexer.o \
parser.o \
strcasestr.o \
strsep.o \
redblack.o \
dynamic-art.o \
query.o
daapd_LDADD = $(LDADD)
daapd_DEPENDENCIES = 
daapd_LDFLAGS = 
LEX_OUTPUT_ROOT = lex.yy
LEXLIB = -lfl
CFLAGS = -O2
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON =  Makefile.am Makefile.in lexer.c parser.c


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = tar
GZIP_ENV = --best
SOURCES = $(daapd_SOURCES)
OBJECTS = $(daapd_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .l .o .s .y
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status


mostlyclean-sbinPROGRAMS:

clean-sbinPROGRAMS:
	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)

distclean-sbinPROGRAMS:

maintainer-clean-sbinPROGRAMS:

install-sbinPROGRAMS: $(sbin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(INSTALLDIR)/lib
	#ln -sf ld.so.1 $(INSTALLDIR)/lib/ld-linux.so.2
	$(mkinstalldirs) $(INSTALLDIR)$(sbindir)
	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo "  $(INSTALL_PROGRAM) $$p $(INSTALLDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
	     $(INSTALL_PROGRAM) $$p $(INSTALLDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
	  else :; fi; \
	done
	$(STRIP) $(INSTALLDIR)$(sbindir)/daapd
	$(mkinstalldirs) $(INSTALLDIR)/etc
	@list='$(etc_FILES)'; for p in $$list; do \
		if test -f $$p; then \
			echo "  $(INSTALL_PROGRAM) $$p $(INSTALLDIR)/etc/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
			$(INSTALL_PROGRAM) $$p $(INSTALLDIR)/etc/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
		else :; fi; \
	done

uninstall-sbinPROGRAMS:
	@$(NORMAL_UNINSTALL)
	list='$(sbin_PROGRAMS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
	done

.c.o:
	$(COMPILE) -c $<

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

daapd: $(daapd_OBJECTS) $(daapd_DEPENDENCIES)
	@rm -f daapd
	$(LINK) $(daapd_LDFLAGS) $(daapd_OBJECTS) $(daapd_LDADD) $(LIBS)
.l.c:
	$(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
.y.c:
	$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
	if test -f y.tab.h; then \
	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
	else :; fi
parser.h: parser.c


tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

subdir = src

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$d/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done
configfile.o: configfile.c ../config.h restart.h configfile.h daapd.h \
	webserver.h err.h rend.h
daap-proto.o: daap-proto.c ../config.h daap-proto.h err.h restart.h
daap.o: daap.c ../config.h configfile.h daapd.h webserver.h db-memory.h \
	mp3-scanner.h daap-proto.h daap.h err.h query.h
db-gdbm.o: db-gdbm.c ../config.h err.h mp3-scanner.h playlist.h \
	redblack.h db-memory.h
dynamic-art.o: dynamic-art.c configfile.h daapd.h webserver.h err.h \
	playlist.h mp3-scanner.h restart.h
err.o: err.c ../config.h err.h
lexer.o: lexer.c err.h playlist.h mp3-scanner.h parser.h
main.o: main.c ../config.h restart.h configfile.h daapd.h webserver.h \
	db-memory.h mp3-scanner.h daap.h daap-proto.h err.h playlist.h \
	dynamic-art.h rend.h
mDNS.o: mDNS.c mDNSClientAPI.h mDNSDebug.h mDNSPlatformFunctions.h
mDNSPosix.o: mDNSPosix.c mDNSClientAPI.h mDNSDebug.h \
	mDNSPlatformFunctions.h mDNSPosix.h err.h mDNSUNP.h
mDNSUNP.o: mDNSUNP.c mDNSUNP.h
mp3-scanner.o: mp3-scanner.c ../config.h restart.h daapd.h db-memory.h \
	mp3-scanner.h err.h playlist.h
parser.o: parser.c playlist.h mp3-scanner.h
playlist.o: playlist.c ../config.h db-memory.h mp3-scanner.h err.h \
	playlist.h parser.h
query.o: query.c ../config.h err.h query.h
redblack.o: redblack.c redblack.h
rend-posix.o: rend-posix.c mDNSClientAPI.h mDNSDebug.h mDNSPosix.h \
	daapd.h err.h rend.h rend-unix.h
rend-unix.o: rend-unix.c ../config.h restart.h daapd.h err.h rend-unix.h
restart.o: restart.c err.h restart.h
strcasestr.o: strcasestr.c ../config.h
strsep.o: strsep.c ../config.h
uici.o: uici.c uici.h
webserver.o: webserver.c ../config.h restart.h uici.h err.h webserver.h

info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am: install-sbinPROGRAMS
install-exec: install-exec-am

install-data-am:
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-sbinPROGRAMS
uninstall: uninstall-am
all-am: Makefile $(PROGRAMS)
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(sbindir)


mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
	-test -z "lexerlparserhparserc$(BUILT_SOURCES)" || rm -f lexerl parserh parserc $(BUILT_SOURCES)
mostlyclean-am:  mostlyclean-sbinPROGRAMS mostlyclean-compile \
		mostlyclean-tags mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-sbinPROGRAMS clean-compile clean-tags clean-generic \
		mostlyclean-am

clean: clean-am

distclean-am:  distclean-sbinPROGRAMS distclean-compile distclean-tags \
		distclean-generic clean-am

distclean: distclean-am

maintainer-clean-am:  maintainer-clean-sbinPROGRAMS \
		maintainer-clean-compile maintainer-clean-tags \
		maintainer-clean-generic distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am

.PHONY: mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
install-sbinPROGRAMS mostlyclean-compile distclean-compile \
clean-compile maintainer-clean-compile tags mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
install-exec install-data-am install-data install-am install \
uninstall-am uninstall all-redirect all-am all installdirs \
mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
