# Generated automatically from Makefile.in by configure.
#
# Makefile for dns_daemon
# Generated from tools/dns_daemon/Makefile.in
# Daniel Veillard, 1997
#
VPATH= ../../../tools/dns_daemon
THOTDIR = ../../..

include ../../Options

LIBS	= -ldl  

prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin

all dns_daemon : ../../bin ../../bin/dns_daemon

../../bin:
	@($(MKDIR) ../../bin)

../../bin/dns_daemon : dns_daemon.o
	$(LD) $(LDFLAGS) -o $@ dns_daemon.o $(LIBS)

dns_daemon.o: ../../../tools/dns_daemon/dns_daemon.c
	$(CC) $(CFLAGS) -c ../../../tools/dns_daemon/dns_daemon.c

clean :
	$(RM) -f *.o dns_daemon

install : all
	@(if test ! -d $(bindir) ; then $(MKDIR) $(bindir) ; fi)
	$(INSTALL_BIN) ../../bin/dns_daemon $(bindir)

uninstall :
	$(RM) -f $(bindir)/dns_daemon

include .depends

../mkdep/mkdep : 
	@(cd ../../tools/mkdep ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)")

.depends depend : ../mkdep/mkdep
	../mkdep/mkdep -relative -vpath $(VPATH) $(INCLUDES) $(VPATH)/*.c  > .depends


