summaryrefslogtreecommitdiff
path: root/term/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'term/Makefile')
-rw-r--r--term/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/term/Makefile b/term/Makefile
index 1419d2a3..78766041 100644
--- a/term/Makefile
+++ b/term/Makefile
@@ -33,6 +33,8 @@ include ../Makeconf
device_replyServer-CPPFLAGS = -DTypeCheck=0 -Wno-unused # XXX
-device_reply-MIGSFLAGS = -DMACH_PAYLOAD_TO_PORT=ports_payload_get_name
+device_reply-MIGSFLAGS=\
+ "-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name" \
+ "-DDEVICE_IMPORTS=import \"$(srcdir)/../libports/ports.h\";"
tioctl-MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h
term-MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h