1# 2# mod.mk 3# 4# Copyright (C) 2010 Creytiv.com 5# 6 7SRCS += dns/client.c 8SRCS += dns/cstr.c 9SRCS += dns/dname.c 10SRCS += dns/hdr.c 11SRCS += dns/ns.c 12SRCS += dns/rr.c 13SRCS += dns/rrlist.c 14 15ifneq ($(HAVE_RESOLV),) 16SRCS += dns/res.c 17endif 18 19ifeq ($(OS),win32) 20SRCS += dns/win32/srv.c 21endif 22 23ifeq ($(OS),darwin) 24SRCS += dns/darwin/srv.c 25# add libraries for darwin dns servers 26LFLAGS += -framework SystemConfiguration -framework CoreFoundation 27endif 28