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