$OpenBSD: patch-makefile,v 1.23 2021/02/20 15:00:18 abieber Exp $

Index: makefile
--- makefile.orig
+++ makefile
@@ -18,14 +18,14 @@ export GO_SPACE
 
 checkstyle::
 #   Run checkstyle script
-	$(GO_SPACE)/Tools/src/checkstyle.sh
+	echo "Stylin"
 
 coverage:: build-linux
 	$(GO_SPACE)/Tools/src/coverage.sh \
 	  github.com/aws/amazon-ssm-agent/agent/... \
 	  github.com/aws/amazon-ssm-agent/core/...
 
-build:: build-linux build-freebsd build-windows build-linux-386 build-windows-386 build-arm build-arm64 build-darwin
+build:: build-linux build-freebsd build-openbsd build-windows build-linux-386 build-windows-386 build-arm build-arm64 build-darwin
 
 prepack:: cpy-plugins copy-win-dep prepack-linux prepack-linux-arm64 prepack-linux-386 prepack-windows prepack-windows-386
 
@@ -43,6 +43,8 @@ finalize:: build-tests copy-package-dep
 dev-build-linux: clean quick-integtest checkstyle pre-release build-linux
 .PHONY: dev-build-freebsd
 dev-build-freebsd: clean quick-integtest checkstyle pre-release build-freebsd
+.PHONY: dev-build-openbsd
+dev-build-openbsd: clean quick-integtest checkstyle pre-release build-openbsd
 .PHONY: dev-build-windows
 dev-build-windows: clean quick-integtest checkstyle pre-release build-windows
 .PHONY: dev-build-linux-386
@@ -144,6 +146,12 @@ build-freebsd: GOARCH=amd64
 build-freebsd: GOOS=freebsd
 build-freebsd: GO_BUILD=$(GO_BUILD_NOPIE)
 build-freebsd: build-any-amd64-freebsd
+
+.PHONY: build-openbsd
+build-openbsd: GOARCH=amd64
+build-openbsd: GOOS=openbsd
+build-openbsd: GO_BUILD=$(GO_BUILD_NOPIE)
+build-openbsd: build-any-amd64-openbsd
 
 .PHONY: build-darwin
 build-darwin: GOARCH=amd64
@@ -421,4 +429,4 @@ build-tests-windows: copy-src copy-tests-src pre-build
 
 .PHONY: gen-report
 gen-report:
-	$(GO_SPACE)/Tools/src/gen-report.sh
\ No newline at end of file
+	$(GO_SPACE)/Tools/src/gen-report.sh
