summaryrefslogtreecommitdiff
path: root/libiohelp
diff options
context:
space:
mode:
Diffstat (limited to 'libiohelp')
-rw-r--r--libiohelp/Makefile26
1 files changed, 5 insertions, 21 deletions
diff --git a/libiohelp/Makefile b/libiohelp/Makefile
index bb5f257e..b4f8ea6a 100644
--- a/libiohelp/Makefile
+++ b/libiohelp/Makefile
@@ -16,33 +16,17 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dir := libioserver
-
-include ../Makeconf
+makemode := library
SRCS = get_conch.c handle_io_get_conch.c handle_io_release_conch.c \
initialize_conch.c verify_user_conch.c
OBJS = get_conch.o handle_io_get_conch.o handle_io_release_conch.o \
initialize_conch.o verify_user_conch.o
-TAGSHDRS = ioserver.h
-
-DIST_FILES = $(SRCS) Makefile ioserver.h ChangeLog
-
-all: libioserver.a
+LCLHDRS = ioserver.h
+libname = libioserver
+installhdrs = ioserver.h
-libioserver.a: $(OBJS)
- rm -f libioserver.a
- $(AR) r $@ $^
-
-$(hurdinst)/lib/libioserver.a: libioserver.a
- cp libioserver.a $@
- $(RANLIB) $@
-
-$(includedir)/hurd/ioserver.h: ioserver.h
- cp $< $@
-
-install: $(hurdinst)/lib/libioserver.a $(includedir)/hurd/ioserver.h
+include ../Makeconf
$(OBJS): ioserver.h
-clean:
- rm -f libioserver.a *.o