summaryrefslogtreecommitdiff
path: root/init/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-06-13 21:02:55 +0000
committerRoland McGrath <roland@gnu.org>1999-06-13 21:02:55 +0000
commit839eaaea67dadbacfe916b7de3a6bd3deb6ddbbe (patch)
treed9c058a089bc7b3630eb22fdcaa9fce36811780c /init/Makefile
parentaef967913aed7cb43f456a0c48b0b016207ef210 (diff)
1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
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.
Diffstat (limited to 'init/Makefile')
-rw-r--r--init/Makefile13
1 files changed, 7 insertions, 6 deletions
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/' < $< > $@
-