Makefile.in 800 B

123456789101112131415161718192021222324252627282930313233
  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. #DOMULTI=y
  9. LIB_NAME:=libutil
  10. libutil_DIR:=$(top_srcdir)libutil
  11. libutil_OUT:=$(top_builddir)libutil
  12. libutil_SRC:=$(wildcard $(libutil_DIR)/*.c)
  13. ifneq ($(ARCH_HAS_MMU),y)
  14. libutil_SRC:=$(filter-out $(libutil_DIR)/forkpty.c,$(libutil_SRC))
  15. endif
  16. libutil_OBJ:=$(patsubst $(libutil_DIR)/%.c,$(libutil_OUT)/%.o,$(libutil_SRC))
  17. libutil-a-y:=$(libutil_OBJ)
  18. libutil-a-pic-y:=$(libutil_OBJ:.o=.os)
  19. libutil-so-y:=$(libutil_OBJ:.o=.os)
  20. libutil-multi-y:=$(libutil_SRC)
  21. objclean-y+=libutil_clean
  22. lib-a-y+=$(top_builddir)lib/libutil.a
  23. lib-a-pic-y+=$(top_builddir)lib/libutil.a
  24. lib-so-y+=$(top_builddir)lib/libutil.so