summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-01-02 14:56:19 -0600
committerbaude <bbaude@redhat.com>2019-01-07 12:43:57 -0600
commit41fb81d074f57bcf562e7dee78a78896e9a0bc64 (patch)
treecfb79058783d99bcfd58c1e8d46e70686c5ab834 /Makefile
parente796f522f6b74a9fef16976709e773f6395ef5e2 (diff)
downloadpodman-41fb81d074f57bcf562e7dee78a78896e9a0bc64.tar.gz
podman-41fb81d074f57bcf562e7dee78a78896e9a0bc64.tar.bz2
podman-41fb81d074f57bcf562e7dee78a78896e9a0bc64.zip
Add ability to build golang remote client
Add the ability to build a remote client in golang that uses all the same front-end cli code and output code. The initial limitations here are that it can only be a local client while the bridge and resolver code is being written for the golang varlink client. Tests and docs will be added in subsequent PRs. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c423d82f2..316815f00 100644
--- a/Makefile
+++ b/Makefile
@@ -111,6 +111,9 @@ test/goecho/goecho: .gopathok $(wildcard test/goecho/*.go)
podman: .gopathok $(PODMAN_VARLINK_DEPENDENCIES)
$(GO) build -ldflags '$(LDFLAGS_PODMAN)' -tags "$(BUILDTAGS)" -o bin/$@ $(PROJECT)/cmd/podman
+podman-remote: .gopathok $(PODMAN_VARLINK_DEPENDENCIES)
+ $(GO) build -ldflags '$(LDFLAGS_PODMAN)' -tags "$(BUILDTAGS) remoteclient" -o bin/$@ $(PROJECT)/cmd/podman
+
local-cross: $(CROSS_BUILD_TARGETS)
bin/podman.cross.%: .gopathok