summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-06 23:13:37 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-06 23:13:37 +0000
commitd4d27bab35f471b8a50d9d21247799734570f1fb (patch)
treea98cd17a47b206182df88de74e60b8a89690e414 /libdiskfs
parentbbc6e571af8190e741376cd386bec180b29dcd37 (diff)
(ourfs_notify_U.h ourfs_notifyUser.c): Use ourfs_notify.defs instead
of directly out of the include directory. (ourfs_notify.defs): New target.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/libdiskfs/Makefile b/libdiskfs/Makefile
index a96bc493..938281c6 100644
--- a/libdiskfs/Makefile
+++ b/libdiskfs/Makefile
@@ -74,6 +74,11 @@ vpath %.c ../lib
include ../Makeconf
# We don't use those, so we're safe in breaking them.
-ourfs_notify_U.h ourfs_notifyUser.c: $(includedir)/hurd/fs_notify.defs $(includedir)/hurd/hurd_types.defs
- $(CPP) $(CPPFLAGS) -Droutine=simpleroutine $(includedir)/hurd/fs_notify.defs \
+ourfs_notify_U.h ourfs_notifyUser.c: ourfs_notify.defs $(includedir)/hurd/hurd_types.defs
+ $(CPP) $(CPPFLAGS) -Droutine=simpleroutine ourfs_notify.defs \
| $(MIGCOM) -prefix nowait_ -server /dev/null -user ourfs_notifyUser.c -header ourfs_notify_U.h
+
+ourfs_notify.defs: $(includedir)/hurd/fs_notify.defs
+ rm -f $@
+ ln $< $@
+