]> Cypherpunks.ru repositories - nncp.git/blobdiff - common.mk
Remote command execution
[nncp.git] / common.mk
index 02dee666cc7c33dbc14172b9dd984db03e75590b..145e84397c3edbb4a656913382eda6dcc950d392 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -17,16 +17,18 @@ LDFLAGS = \
        -X cypherpunks.ru/nncp.DefaultLogPath=$(LOGPATH)
 
 ALL = \
+       nncp-bundle \
        nncp-call \
        nncp-caller \
+       nncp-cfgenc \
        nncp-cfgmin \
        nncp-cfgnew \
        nncp-check \
        nncp-daemon \
+       nncp-exec \
        nncp-file \
        nncp-freq \
        nncp-log \
-       nncp-mail \
        nncp-pkt \
        nncp-reass \
        nncp-rm \
@@ -36,12 +38,18 @@ ALL = \
 
 all: $(ALL)
 
+nncp-bundle:
+       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-bundle
+
 nncp-call:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-call
 
 nncp-caller:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-caller
 
+nncp-cfgenc:
+       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-cfgenc
+
 nncp-cfgmin:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-cfgmin
 
@@ -54,6 +62,9 @@ nncp-check:
 nncp-daemon:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-daemon
 
+nncp-exec:
+       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-exec
+
 nncp-file:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-file
 
@@ -63,9 +74,6 @@ nncp-freq:
 nncp-log:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-log
 
-nncp-mail:
-       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-mail
-
 nncp-pkt:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-pkt
 
@@ -85,7 +93,7 @@ nncp-xfer:
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/nncp/cmd/nncp-xfer
 
 test:
-       GOPATH=$(GOPATH) go test cypherpunks.ru/nncp/...
+       GOPATH=$(GOPATH) go test -failfast cypherpunks.ru/nncp/...
 
 clean:
        rm -f $(ALL)