41 lines
606 B
Makefile
41 lines
606 B
Makefile
# Copyright 2009 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
.PHONY: examples _examples
|
|
|
|
include $(GOROOT)/src/Make.inc
|
|
|
|
TARG=dns
|
|
GOFILES=\
|
|
dns.go\
|
|
msg.go\
|
|
types.go\
|
|
edns.go\
|
|
tsig.go\
|
|
dnssec.go\
|
|
keygen.go\
|
|
string.go\
|
|
nsec3.go\
|
|
# y.go\
|
|
|
|
include $(GOROOT)/src/Make.pkg
|
|
|
|
#y.go: dns.y
|
|
# goyacc dns.y
|
|
|
|
|
|
all: package
|
|
gomake -C resolver package
|
|
gomake -C responder package
|
|
|
|
dnstest:
|
|
gotest
|
|
gomake -C resolver test
|
|
gomake -C responder test
|
|
|
|
_examples:
|
|
gomake -C _examples
|
|
|
|
examples:
|
|
gomake -C _examples
|