mirror of
https://github.com/open-simh/simh.git
synced 2026-01-11 23:53:30 +00:00
vmnet.framework with legacy makefiles
I have not put as many checks as the CMake version has. Those may get unwieldy.
This commit is contained in:
parent
c1c2259b13
commit
d440d35560
7
makefile
7
makefile
@ -1063,6 +1063,13 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin)
|
||||
NETWORK_CCDEFS += -DUSE_NETWORK
|
||||
endif
|
||||
endif
|
||||
# XXX: Check for the target version of macOS, check for -fblocks
|
||||
ifeq (Darwin,$(OSTYPE))
|
||||
# Provide support for macOS vmnet.framework (requires 10.10)
|
||||
NETWORK_CCDEFS += -fblocks -DHAVE_VMNET_NETWORK
|
||||
NETWORK_LAN_FEATURES += vmnet.framework
|
||||
NETWORK_LDFLAGS += -framework vmnet
|
||||
endif
|
||||
ifeq (slirp,$(shell if ${TEST} -e slirp_glue/sim_slirp.c; then echo slirp; fi))
|
||||
NETWORK_CCDEFS += -Islirp -Islirp_glue -Islirp_glue/qemu -DHAVE_SLIRP_NETWORK -DUSE_SIMH_SLIRP_DEBUG slirp/*.c slirp_glue/*.c
|
||||
NETWORK_LAN_FEATURES += NAT(SLiRP)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user