|
|
1.1 ! root 1: # ! 2: # nono ! 3: # Copyright (C) 2019 [email protected] ! 4: # ! 5: # Host ! 6: # ! 7: ! 8: TARGETS= libnnhost.a ! 9: NETDRIVER= @NETDRIVER@ ! 10: CPPFLAGS+= -I. -I.. -I../lib -I../vm -I../debugger ! 11: CPPFLAGS+= -Dkevent_udata_t='@KEVENT_UDATA_T@' ! 12: ! 13: CXXSRCS= \ ! 14: netdriver.cpp \ ! 15: netdriver_none.cpp \ ! 16: ! 17: .if ${NETDRIVER} == "tap" ! 18: CXXSRCS+= netdriver_tap.cpp ! 19: .endif ! 20: .if ${NETDRIVER} == "bpf" ! 21: CXXSRCS+= netdriver_bpf.cpp ! 22: .endif ! 23: ! 24: OBJS= ${CXXSRCS:.cpp=.o} ! 25: ! 26: CLEANDIRFILES= Makefile ! 27: ! 28: .include "../Makefile.inc" ! 29: ! 30: libnnhost.a: ${OBJS} ! 31: rm -f $@ ! 32: ${AR} r $@ $> ! 33: ${RANLIB} $@
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.