dns/Makefile

30 lines
649 B
Makefile
Raw Normal View History

2010-08-04 07:57:59 +10:00
# 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.
include $(GOROOT)/src/Make.inc
2010-08-04 07:57:59 +10:00
TARG=dns
GOFILES=\
msg.go\
resolver.go \
types.go\
2010-12-24 20:59:15 +11:00
dnssec.go\
edns.go \
2010-08-04 07:57:59 +10:00
include $(GOROOT)/src/Make.pkg
.PHONY: examples
2010-12-19 19:45:21 +11:00
examples:
(cd examples; make)
2010-08-05 08:00:15 +10:00
progs: manglertest dnssectest
# too lazy to lookup how this works again in Makefiles
2010-12-19 19:45:21 +11:00
manglertest: manglertest.go $(GOFILES)
6g -I _obj manglertest.go && 6l -L _obj -o manglertest manglertest.6
2010-12-21 08:20:13 +11:00
dnssectest: dnssectest.go $(GOFILES)
6g -I _obj dnssectest.go && 6l -L _obj -o dnssectest dnssectest.6