diff options
author | Miles Bader <miles@gnu.org> | 1996-03-27 22:19:18 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-03-27 22:19:18 +0000 |
commit | 7205283eb2b4a19793dd46c3e80090dbab25afc4 (patch) | |
tree | f829c0b49bd12b6c6f1a8a23f9ad1401d644d76d | |
parent | 23a439b6145bd6f99054d4c36ada66dbfc989c0e (diff) |
(msg-MIGUFLAGS, term-MIGUFLAGS): Add a user prefix of `ps_'.
-rw-r--r-- | libps/Makefile | 13 |
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 |