| 1 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 2008 Free Software Foundation, Inc. |
| 2 | # This file is part of the GNU Hurd. |
| 3 | # |
| 4 | # The GNU Hurd is free software; you can redistribute it and/or modify |
| 5 | # it under the terms of the GNU General Public License as published by |
| 6 | # the Free Software Foundation; either version 2, or (at your option) |
| 7 | # any later version. |
| 8 | # |
| 9 | # The GNU Hurd is distributed in the hope that it will be useful, |
| 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | # GNU General Public License for more details. |
| 13 | # |
| 14 | # You should have received a copy of the GNU General Public License |
| 15 | # along with the GNU Hurd; see the file COPYING. If not, write to |
| 16 | # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 17 | |
| 18 | dir := eth-filter |
| 19 | makemode := server |
| 20 | |
| 21 | SRCS = bpf_impl.c filter.c queue.c pcap_filter.c |
| 22 | LCLHDRS = bpf_impl.h queue.h util.h |
| 23 | HURDLIBS = ports trivfs fshelp ihash shouldbeinlibc |
| 24 | target = eth-filter |
| 25 | MIGSTUBS = deviceServer.o notifyServer.o |
| 26 | MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h |
| 27 | OBJS = $(SRCS:.c=.o) $(MIGSTUBS) |
| 28 | |
| 29 | include ../Makeconf |
| 30 | |
| 31 | #CFLAGS += -I../pfinet/linux-src/include -I../pfinet/glue-include |
| 32 | LDFLAGS += -lpcap |