Pushed logging into sub-package to preserve windows client build

Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
Russ Magee 2018-10-26 16:05:01 -07:00
parent 871f1e0dfa
commit 2f83d488d6
6 changed files with 236 additions and 28 deletions

View file

@ -1,6 +1,6 @@
.PHONY: info clean common client server passwd subpkgs
SUBPKGS = spinsult hkexnet herradurakex
SUBPKGS = logger spinsult hkexnet herradurakex
TOOLS = hkexpasswd hkexsh hkexshd
SUBDIRS = $(LIBS) $(TOOLS)
@ -28,12 +28,16 @@ common:
client: common
$(MAKE) -C hkexsh
ifneq ($(MSYSTEM),)
server: common
echo "hkexshd server not (yet) supported on Windows"
else
ifeq ($(MSYSTEM),)
ifneq ($(GOOS),windows)
server: common
$(MAKE) -C hkexshd
else
echo "Cross-build of hkexshd server for Windows not yet supported"
endif
else
server: common
echo "hkexshd server not (yet) supported on Windows"
endif
passwd: common