|
|
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+= -Dkevent_udata_t='@KEVENT_UDATA_T@'
11:
12: CXXSRCS= \
13: netdriver.cpp \
14: netdriver_none.cpp \
15:
16: .if ${NETDRIVER} == "tap"
17: CXXSRCS+= netdriver_tap.cpp
18: .endif
19: .if ${NETDRIVER} == "bpf"
20: CXXSRCS+= netdriver_bpf.cpp
21: .endif
22:
23: OBJS= ${CXXSRCS:.cpp=.o}
24:
25: CLEANDIRFILES= Makefile
26:
27: .include "../Makefile.inc"
28:
29: libnnhost.a: ${OBJS}
30: rm -f $@
31: ${AR} r $@ $>
32: ${RANLIB} $@
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.