|
|
nono 1.7.0
#
# nono
# Copyright (C) 2020 nono project
# Licensed under nono-license.txt
#
#
# Host
#
.include "../Makefile.inc"
TARGETS= libnnhost.a
CXXSRCS= \
comdriver.cpp \
comdriver_cons.cpp \
comdriver_none.cpp \
comdriver_stdio.cpp \
comdriver_tcp.cpp \
diskdriver.cpp \
diskdriver_qcow2.cpp \
diskdriver_raw.cpp \
diskimage.cpp \
driver.cpp \
hostcom.cpp \
hostdevice.cpp \
hostnet.cpp \
hostsound.cpp \
hostwindrv.cpp \
logger.cpp \
netdriver.cpp \
netdriver_none.cpp \
signalthread.cpp \
sounddriver.cpp \
sounddriver_none.cpp \
sounddriver_wav.cpp \
.if "${HOSTNET_AFPACKET}" == "yes"
CXXSRCS+= netdriver_afpacket.cpp
.endif
.if "${HOSTNET_TAP}" == "yes"
CXXSRCS+= netdriver_tap.cpp
.endif
.if "${HOSTNET_BPF}" == "yes"
CXXSRCS+= netdriver_bpf.cpp
.endif
.if "${HOSTNET_SLIRP}" == "yes"
CXXSRCS+= netdriver_slirp.cpp
CPPFLAGS+= ${CPPFLAGS_SLIRP}
.endif
.if "${HOSTSOUND_ALSA}" == "yes"
CXXSRCS+= sounddriver_alsa.cpp
.endif
.if "${HOSTSOUND_NETBSD}" == "yes"
CXXSRCS+= sounddriver_netbsd.cpp
.endif
.if "${HOSTSOUND_SNDIO}" == "yes"
CXXSRCS+= sounddriver_sndio.cpp
.endif
OBJS= ${CXXSRCS:.cpp=.o}
libnnhost.a: ${OBJS}
rm -f $@
${AR} r $@ $>
${RANLIB} $@
.include "../Makefile.rule"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.