diff options
author | Zheng Da <zhengda1936@gmail.com> | 2010-06-21 09:59:01 +0200 |
---|---|---|
committer | Zheng Da <zhengda1936@gmail.com> | 2010-06-21 09:59:01 +0200 |
commit | 823e9dd9c55a1f34259c5398497439f5663ff2a4 (patch) | |
tree | d8c7123a5cb672e5a017e133da23d368a5579e09 /libmachdev/Makefile | |
parent | e633a759a5cc4175e5f81ebb501b32b9e14a3d7e (diff) |
fix port leak in block glue code of libmachdev.
Diffstat (limited to 'libmachdev/Makefile')
-rw-r--r-- | libmachdev/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmachdev/Makefile b/libmachdev/Makefile index e65a453a..22909949 100644 --- a/libmachdev/Makefile +++ b/libmachdev/Makefile @@ -20,7 +20,7 @@ makemode := library libname = libmachdev SRCS = deviceUser.c machUser.c net.c ds_routines.c queue.c trivfs_server.c \ - device_replyUser.c deviceServer.c notifyServer.c misc.c block.c + device_replyUser.c ourdeviceServer.c notifyServer.c misc.c block.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 @@ -31,3 +31,6 @@ OBJS = $(SRCS:.c=.o) $(MIGSTUBS) include ../Makeconf CFLAGS += -I$(top_srcdir)/libddekit/include + +ourdevice.defs: device.defs + $(CPP) $(CPPFLAGS) -x c $< | sed -e '/out[ ]*device[ ]*:[ ]*device_t/s/device_t/mach_port_send_t/' > $@ |