summaryrefslogtreecommitdiff
path: root/libc/termios/Makefile.in
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 00:58:03 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 00:58:03 +0000
commitaf0172162f7c653cad6a11ed1c1a5459bc154465 (patch)
tree70031dad1e7286d58762da7b9e3d3f93d043c278 /libc/termios/Makefile.in
parentc8609543a9a8bf6559c2931dbbef6b3c41b3fbf2 (diff)
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
Diffstat (limited to 'libc/termios/Makefile.in')
-rw-r--r--libc/termios/Makefile.in30
1 files changed, 4 insertions, 26 deletions
diff --git a/libc/termios/Makefile.in b/libc/termios/Makefile.in
index 415f32192..77f15c6fa 100644
--- a/libc/termios/Makefile.in
+++ b/libc/termios/Makefile.in
@@ -6,36 +6,14 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CSRC:=tcgetattr.c tcgetsid.c tcsetattr.c ttyname.c
-
-MSRC:= termios.c
-MOBJ:= tcdrain.o tcflow.o tcflush.o tcsendbreak.o tcsetpgrp.o tcgetpgrp.o \
- isatty.o cfgetospeed.o cfgetispeed.o cfsetospeed.o cfsetispeed.o \
- cfmakeraw.o cfsetspeed.o
-
TERMIOS_DIR:=$(top_srcdir)libc/termios
TERMIOS_OUT:=$(top_builddir)libc/termios
-TERMIOS_SRC:=$(patsubst %.c,$(TERMIOS_DIR)/%.c,$(CSRC))
-TERMIOS_OBJ:=$(patsubst %.c,$(TERMIOS_OUT)/%.o,$(CSRC))
-
-TERMIOS_MSRC:=$(patsubst %.c,$(TERMIOS_DIR)/%.c,$(MSRC))
-TERMIOS_MOBJ:=$(patsubst %.o,$(TERMIOS_OUT)/%.o,$(MOBJ))
-TERMIOS_DEF:=$(patsubst %,-DL_%,$(subst .o,,$(notdir $(TERMIOS_MOBJ))))
-
-TERMIOS_OBJS:=$(TERMIOS_OBJ) $(TERMIOS_MOBJ)
-
-$(TERMIOS_MOBJ): $(TERMIOS_MSRC)
- $(compile.m)
-
-$(TERMIOS_MOBJ:.o=.os): $(TERMIOS_MSRC)
- $(compile.m)
-
-libc-a-y+=$(TERMIOS_OBJS)
-libc-so-y+=$(TERMIOS_OBJS:.o=.os)
+TERMIOS_SRC:=$(wildcard $(TERMIOS_DIR)/*.c)
+TERMIOS_OBJ:=$(patsubst $(TERMIOS_DIR)/%.c,$(TERMIOS_OUT)/%.o,$(TERMIOS_SRC))
-CFLAGS-multi-y+=$(TERMIOS_DEF)
-libc-multi-y+=$(TERMIOS_SRC) $(TERMIOS_MSRC)
+libc-a-y+=$(TERMIOS_OBJ)
+libc-so-y+=$(TERMIOS_OBJ:.o=.os)
objclean-y+=termios_objclean