Makefile.in 707 B

1234567891011121314151617181920212223242526272829
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. CFLAGS+=$(SSP_ALL_CFLAGS)
  8. LIB_NAME:=libutil
  9. libutil_DIR:=$(top_srcdir)libutil
  10. libutil_OUT:=$(top_builddir)libutil
  11. libutil_SRC:=$(wildcard $(libutil_DIR)/*.c)
  12. ifneq ($(ARCH_HAS_MMU),y)
  13. libutil_SRC:=$(filter-out $(libutil_DIR)/forkpty.c,$(libutil_SRC))
  14. endif
  15. libutil_OBJ:=$(patsubst $(libutil_DIR)/%.c,$(libutil_OUT)/%.o,$(libutil_SRC))
  16. libutil-a-y:=$(libutil_OBJ)
  17. libutil-so-y:=$(libutil_OBJ:.o=.os)
  18. libutil-multi-y:=$(libutil_SRC)
  19. objclean-y+=libutil_clean
  20. lib-a-y+=$(top_builddir)lib/libutil.a
  21. lib-so-y+=$(top_builddir)lib/libutil.so