diff options
author | Zheng Da <zhengda1936@gmail.com> | 2016-11-02 17:52:35 +0100 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-11-04 15:40:17 +0100 |
commit | 50e14fce11f2bebb4faad220f8f610a55f4110c5 (patch) | |
tree | a23f2e0a2639cf35ec546b77c77b63fc9fc571cb /libbpf/Makefile | |
parent | 0bc74163d5406e305b84f8f51dbce097bb46fa90 (diff) |
libbpf: Merge the Berkeley Packet Filter library.
* Makefile (lib-subdirs): Add new library.
* NEWS: Update.
* libbpf/Makefile: New file.
* libbpf/bpf_impl.c: Likewise.
* libbpf/bpf_impl.h: Likewise.
* libbpf/queue.c: Likewise.
* libbpf/queue.h: Likewise.
* libbpf/util.h: Likewise.
The Berkeley Packet Filter implementation has been extracted from the
Mach kernel by Zheng Da. This merges his work into the main
repository.
Diffstat (limited to 'libbpf/Makefile')
-rw-r--r-- | libbpf/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libbpf/Makefile b/libbpf/Makefile new file mode 100644 index 00000000..0a7ba90f --- /dev/null +++ b/libbpf/Makefile @@ -0,0 +1,33 @@ +# +# Copyright (C) 1994,95,96,97,98,99,2000,01,02,2005 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +dir := libbpf +makemode := library + +libname = libbpf +SRCS= bpf_impl.c queue.c +LCLHDRS = bpf_impl.h queue.h +installhdrs = bpf_impl.h queue.h + +MIGSTUBS = +OBJS = $(sort $(SRCS:.c=.o) $(MIGSTUBS)) + +LDLIBS = -lpthread + +MIGCOMSFLAGS = + +include ../Makeconf |