|
|
1.1 root 1: #
2: # nono
3: # Copyright (C) 2020 nono project
4: # Licensed under nono-license.txt
5: #
6:
7: #
8: # Host
9: #
10:
11: .include "../Makefile.inc"
12:
13: TARGETS= libnnhost.a
14:
15: CXXSRCS= \
16: comdriver.cpp \
17: comdriver_cons.cpp \
18: comdriver_none.cpp \
19: comdriver_stdio.cpp \
20: comdriver_tcp.cpp \
21: diskimage.cpp \
22: diskimage_raw.cpp \
23: driver.cpp \
24: hostcom.cpp \
25: hostdevice.cpp \
26: hostnet.cpp \
27: hostwindrv.cpp \
1.1.1.2 ! root 28: logger.cpp \
1.1 root 29: netdriver.cpp \
30: netdriver_none.cpp \
31: signalthread.cpp \
32:
33: .if "${HOSTNET_AFPACKET}" == "yes"
34: CXXSRCS+= netdriver_afpacket.cpp
35: .endif
36: .if "${HOSTNET_TAP}" == "yes"
37: CXXSRCS+= netdriver_tap.cpp
38: .endif
39: .if "${HOSTNET_BPF}" == "yes"
40: CXXSRCS+= netdriver_bpf.cpp
41: .endif
42: .if "${HOSTNET_SLIRP}" == "yes"
43: CXXSRCS+= netdriver_slirp.cpp
44: CPPFLAGS+= ${CPPFLAGS_SLIRP}
45: .endif
46:
47: OBJS= ${CXXSRCS:.cpp=.o}
48:
49: libnnhost.a: ${OBJS}
50: rm -f $@
51: ${AR} r $@ $>
52: ${RANLIB} $@
53:
54: .include "../Makefile.rule"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.