summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnetfs/Makefile43
1 files changed, 41 insertions, 2 deletions
diff --git a/libnetfs/Makefile b/libnetfs/Makefile
index d24d3dee..43c2457b 100644
--- a/libnetfs/Makefile
+++ b/libnetfs/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 1995 Free Software Foundation
+# Copyright (C) 1995, 1996 Free Software Foundation
# Written by Michael I. Bushnell.
#
# This file is part of the GNU Hurd.
@@ -19,8 +19,47 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dir := libnetfs
-makemode := misc
+makemode := library
+libname = libnetfs
+
+FSSRCS= file-chauthor.c file-check-access.c file-chflags.c file-chmod.c \
+ file-chown.c file-get-storage-info.c file-lock-stat.c file-lock.c \
+ file-set-size.c file-statfs.c file-sync.c file-syncfs.c file-utimes.c \
+ dir-lookup.c dir-unlink.c dir-rename.c dir-rmdir.c dir-mkfile.c \
+ dir-notice-changes.c dir-mkdir.c dir-link.c file-getcontrol.c \
+ fsstubs.c file-getlinknode.c dir-readdir.c file-get-fs-options.c
+
+IOSRCS= io-read.c io-readable.c io-seek.c io-write.c io-stat.c io-async.c \
+ io-set-all-openmodes.c io-get-openmodes.c io-set-some-openmodes.c \
+ io-clear-some-openmodes.c io-mod-owner.c io-get-owner.c io-select.c \
+ io-get-icky-async-id.c io-reauthenticate.c io-restrict-auth.c \
+ io-duplicate.c iostubs.c
+
+FSYSSRCS= fsys-syncfs.c fsys-getroot.c fsys-get-options.c fsys-set-options.c \
+ fsysstubs.c
+
+IFSOCKSRCS=
+OTHERSRCS= drop-node.c init-init.c make-node.c make-peropen.c make-protid.c \
+ init-loop.c demuxer.c shutdown.c release-protid.c release-peropen.c \
+ init-startup.c startup-argp.c set-options.c get-options.c \
+ parse-runtime-options.c unparse-runtime-options.c
+
+SRCS= $(OTHERSRCS) $(FSSRCS) $(IOSRCS) $(FSYSSRCS) $(IFSOCKSRCS)
LCLHDRS = netfs.h
+installhdrs=netfs.h
+
+MIGSTUBS= ioServer.o fsServer.o fsysServer.o ifsockServer.o
+
+OBJS=$(sort $(SRCS:.c=.o) $(MIGSTUBS))
+
+fsys-MIGSFLAGS = -imacros mutations.h
+fs-MIGSFLAGS = -imacros mutations.h
+io-MIGSFLAGS = -imacros mutations.h
+ifsock-MIGSFLAGS = -imacros mutations.h
+MIGCOMSFLAGS = -prefix netfs_
+
include ../Makeconf
+
+fsysServer.c fsys_S.h fsServer.c fs_S.h ioServer.c io_S.h ifsockServer.c ifsock_S.h: mutations.h