summaryrefslogtreecommitdiff
path: root/libps
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-03-27 22:19:18 +0000
committerMiles Bader <miles@gnu.org>1996-03-27 22:19:18 +0000
commit7205283eb2b4a19793dd46c3e80090dbab25afc4 (patch)
treef829c0b49bd12b6c6f1a8a23f9ad1401d644d76d /libps
parent23a439b6145bd6f99054d4c36ada66dbfc989c0e (diff)
(msg-MIGUFLAGS, term-MIGUFLAGS): Add a user prefix of `ps_'.
Diffstat (limited to 'libps')
-rw-r--r--libps/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/libps/Makefile b/libps/Makefile
index dcb355b8..c93e6faa 100644
--- a/libps/Makefile
+++ b/libps/Makefile
@@ -1,6 +1,6 @@
# Makefile for libps
#
-# 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.
@@ -25,15 +25,18 @@ makemode := library
libname = libps
SRCS = context.c filters.c fmt.c host.c proclist.c procstat.c spec.c \
tty.c user.c write.c
-LCLHDRS=ps.h
-installhdrs=ps.h
+LCLHDRS=ps.h ps_msg.h ps_term.h
+installhdrs=$(LCLHDRS)
installhdrsubdir = .
OBJS = $(SRCS:.c=.o) msgUser.o termUser.o
MIGCOMUFLAGS=-subrprefix __
-msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;'
-term-MIGUFLAGS = -D'TERM_IMPORTS=waittime 1000;'
+msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;' -DUSERPREFIX=ps_
+term-MIGUFLAGS = -D'TERM_IMPORTS=waittime 1000;' -DUSERPREFIX=ps_
+
+ps_%.h: %_U.h
+ sed 's/_$*_user_/_ps_$*_user_/g' $< > $@
include ../Makeconf