From 839eaaea67dadbacfe916b7de3a6bd3deb6ddbbe Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 13 Jun 1999 21:02:55 +0000 Subject: 1999-06-13 Roland McGrath Move all the /etc/ttys handling stuff into a separate source file. * init.c (_PATH_LOGIN, WINDOW_DELAY, struct terminal, nttys, ttyslen, setup_terminal, add_terminal, init_ttys, free_ttys, startup_terminal, startup_ttys, find_line, restart_terminal, shutdown_terminal, reread_ttys): Move to * ttys.c: ... here, new file. * ttys.h: New file, declare external functions in ttys.c. * Makefile (SRCS): Add ttys.c. (OBJS): Derive from $(SRCS). (LCLHDRS): New variable, add ttys.h. --- init/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'init/Makefile') diff --git a/init/Makefile b/init/Makefile index da1ee177..efa87c8c 100644 --- a/init/Makefile +++ b/init/Makefile @@ -1,5 +1,5 @@ -# -# Copyright (C) 1994, 1995, 1996 Free Software Foundation +# +# Copyright (C) 1994, 1995, 1996, 1999 Free Software Foundation # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as @@ -18,9 +18,11 @@ dir := init makemode := server -SRCS = init.c -OBJS = init.o startupServer.o notifyServer.o startup_replyUser.o msgServer.o \ - startup_notifyUser.o +SRCS = init.c ttys.c +OBJS = $(SRCS:.c=.o) \ + startupServer.o notifyServer.o startup_replyUser.o msgServer.o \ + startup_notifyUser.o +LCLHDRS = ttys.h target = init HURDLIBS=ports fshelp shouldbeinlibc @@ -30,4 +32,3 @@ include ../Makeconf mung_msg_S.h: msg_S.h sed 's/msg_server/mung_msg_server/' < $< > $@ - -- cgit v1.2.3