|
|
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 \ ! 28: netdriver.cpp \ ! 29: netdriver_none.cpp \ ! 30: signalthread.cpp \ ! 31: ! 32: .if "${HOSTNET_AFPACKET}" == "yes" ! 33: CXXSRCS+= netdriver_afpacket.cpp ! 34: .endif ! 35: .if "${HOSTNET_TAP}" == "yes" ! 36: CXXSRCS+= netdriver_tap.cpp ! 37: .endif ! 38: .if "${HOSTNET_BPF}" == "yes" ! 39: CXXSRCS+= netdriver_bpf.cpp ! 40: .endif ! 41: .if "${HOSTNET_SLIRP}" == "yes" ! 42: CXXSRCS+= netdriver_slirp.cpp ! 43: CPPFLAGS+= ${CPPFLAGS_SLIRP} ! 44: .endif ! 45: ! 46: OBJS= ${CXXSRCS:.cpp=.o} ! 47: ! 48: libnnhost.a: ${OBJS} ! 49: rm -f $@ ! 50: ${AR} r $@ $> ! 51: ${RANLIB} $@ ! 52: ! 53: .include "../Makefile.rule"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.