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