summaryrefslogtreecommitdiff
path: root/libc/termios/Makefile.in
blob: 77f15c6fa8d4607dec8bdc0e23d99cb4ad0db79f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Makefile for uClibc
#
# Copyright (C) 2000 by Lineo, inc.
# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#

TERMIOS_DIR:=$(top_srcdir)libc/termios
TERMIOS_OUT:=$(top_builddir)libc/termios

TERMIOS_SRC:=$(wildcard $(TERMIOS_DIR)/*.c)
TERMIOS_OBJ:=$(patsubst $(TERMIOS_DIR)/%.c,$(TERMIOS_OUT)/%.o,$(TERMIOS_SRC))

libc-a-y+=$(TERMIOS_OBJ)
libc-so-y+=$(TERMIOS_OBJ:.o=.os)

objclean-y+=termios_objclean

termios_objclean:
	$(RM) $(TERMIOS_OUT)/*.{o,os}