summaryrefslogtreecommitdiff
path: root/hurd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/Makefile')
-rw-r--r--hurd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/hurd/Makefile b/hurd/Makefile
index 1b133aaa..078c80ab 100644
--- a/hurd/Makefile
+++ b/hurd/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 1993, 94, 95, 96, 99 Free Software Foundation
+# Copyright (C) 1993,94,95,96,99,2002 Free Software Foundation
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -33,7 +33,12 @@ $(includedir)/hurd/%: $(srcdir)/%; $(INSTALL_DATA) $< $@
$(includedir)/hurd:;mkdir -p $@
-
+%.msgids: $(srcdir)/%.defs
+ if grep -q '^subsystem' $<; \
+ then $(CPP) $(CPPFLAGS) $< | $(MIGCOM) -n -list $@; \
+ else > $@; fi
+hurd.msgids: $(patsubst %.defs,%.msgids,$(filter %.defs,$(INSTHDRS)))
+ cat $^ > $@
#
# The following rules assist in creating an `Xioctl.defs' file