summaryrefslogtreecommitdiff
path: root/libmachdev
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-04-08 02:28:56 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-04-08 02:28:56 +0200
commitc6db537edac054a03847b1b99f78c00703f48d6b (patch)
treeb68068a7f8b5ae8b346a4f8855459e73ed4a0d01 /libmachdev
parent8df772b3c665e663f6f9d2a70f9c691590bd3f91 (diff)
parenta6a2e4c910172d8309d38b914459d9b41509c411 (diff)
Merge branch 'dde' of git.debian.org:/git/pkg-hurd/hurd into dde
Conflicts: pfinet/ethernet.c
Diffstat (limited to 'libmachdev')
-rw-r--r--libmachdev/Makefile9
-rw-r--r--libmachdev/if_hdr.h2
2 files changed, 6 insertions, 5 deletions
diff --git a/libmachdev/Makefile b/libmachdev/Makefile
index 224dfddb..ad090cae 100644
--- a/libmachdev/Makefile
+++ b/libmachdev/Makefile
@@ -24,13 +24,14 @@ SRCS = deviceUser.c machUser.c net.c ds_routines.c queue.c trivfs_server.c \
LCLHDRS = dev_hdr.h device_emul.h ds_routines.h vm_param.h \
util.h queue.h io_req.h if_ether.h machdev.h linux-errno.h \
errno-base.h
-installhdrs =
-HURDLIBS = ports threads trivfs
+installhdrs = machdev.h
+HURDLIBS = ports threads trivfs ddekit bpf
OBJS = $(SRCS:.c=.o) $(MIGSTUBS)
include ../Makeconf
-CFLAGS += -I$(top_srcdir)/libddekit/include -I$(top_srcdir)/libbpf
-
ourdevice.defs: device.defs
$(CPP) $(CPPFLAGS) -x c $< | sed -e '/out[ ]*device[ ]*:[ ]*device_t/s/device_t/mach_port_send_t/' > $@
+
+$(libname).so.$(hurd-version):
+ echo "INPUT ( $(libname).a )" > $@
diff --git a/libmachdev/if_hdr.h b/libmachdev/if_hdr.h
index 74d0fa8a..32497206 100644
--- a/libmachdev/if_hdr.h
+++ b/libmachdev/if_hdr.h
@@ -62,7 +62,7 @@
#include <queue.h>
#include <cthreads.h>
-#include <bpf_impl.h>
+#include <hurd/bpf_impl.h>
#if 0
/*