summaryrefslogtreecommitdiff
path: root/libmachdev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libmachdev/Makefile')
-rw-r--r--libmachdev/Makefile5
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/' > $@