summaryrefslogtreecommitdiff
path: root/libpager/Makefile
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-07-22 16:19:25 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-07-22 16:19:25 +0000
commit61c31aee2debccb68bbdb3cc95f942cfc9d55947 (patch)
treed8e4e96246ad418d92634575d87c9b674ad090f7 /libpager/Makefile
parentf71c58af7e7d6cb399350cb782b719dfa97b0f14 (diff)
entered into RCS
Diffstat (limited to 'libpager/Makefile')
-rw-r--r--libpager/Makefile42
1 files changed, 11 insertions, 31 deletions
diff --git a/libpager/Makefile b/libpager/Makefile
index 3043d2bf..9b1ff78a 100644
--- a/libpager/Makefile
+++ b/libpager/Makefile
@@ -16,47 +16,27 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dir := libpager
-
-include ../Makeconf
+makemode := library
COBJS = data-request.o data-return.o data-unlock.o pager-port.o \
inhibit-term.o lock-completed.o lock-object.o mark-error.o \
no-senders.o object-init.o object-terminate.o pagemap.o \
pager-create.o pager-flush.o pager-shutdown.o pager-sync.o \
reference.o stubs.o seqnos.o demuxer.o chg-compl.o pager-attr.o
-
OBJS = $(COBJS) memory_objectServer.o
-
SRCS = $(subst .o,.c,$(COBJS))
-TAGSHDRS = pager.h priv.h
-
-DIST_FILES = $(SRCS) Makefile pager.h priv.h ChangeLog
+LCLHDRS = pager.h priv.h
+REMHDRS = ../hurd/ports.h
+libname = libpager
+installhdrs = pager.h
-all: libpager.a
+MIGSFLAGS = -DSEQNOS
+MIGCOMSFLAGS = -prefix _pager_
-libpager.a: $(OBJS)
- rm -f libpager.a
- $(AR) r $@ $^
-
-$(hurdinst)/lib/libpager.a: libpager.a
- cp libpager.a $@
- $(RANLIB) $@
-
-$(includedir)/hurd/pager.h: pager.h
- cp pager.h $@
-
-install: $(hurdinst)/lib/libpager.a $(includedir)/hurd/pager.h
-
-$(OBJS): pager.h priv.h $(includedir)/hurd/ports.h
+include ../Makeconf
-data-request.o data-return.o data-unlock.o lock-completed.o: memory_object.h
-stubs.o object-init.o object-terminate.o: memory_object.h
+$(OBJS): pager.h priv.h ../hurd/ports.h
+data-request.o data-return.o data-unlock.o lock-completed.o: memory_object_S.h
+demuxer.o stubs.o object-init.o object-terminate.o: memory_object_S.h
-clean:
- rm -f libpager.a *.o memory_object.h memory_objectServer.c
-# MiG gook
-memory_object.h memory_objectServer.c:
- $(CPP) $(CPPFLAGS) -DSEQNOS $(includedir)/mach/memory_object.defs \
- | $(MIGCOM) -prefix _pager_ -sheader memory_object.h \
- -header /dev/null -user /dev/null