3 # Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
5 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
8 subdirs += libc/misc/ttyent
12 MISC_TTYENT_DIR := $(top_srcdir)libc/misc/ttyent
13 MISC_TTYENT_OUT := $(top_builddir)libc/misc/ttyent
15 MISC_TTYENT_SRC := $(patsubst %.c,$(MISC_TTYENT_DIR)/%.c,$(CSRC))
16 MISC_TTYENT_OBJ := $(patsubst %.c,$(MISC_TTYENT_OUT)/%.o,$(CSRC))
18 libc-y += $(MISC_TTYENT_OBJ)
20 objclean-y += misc_ttyent_clean
23 $(do_rm) $(addprefix $(MISC_TTYENT_OUT)/*., o os)