Makefile.in 719 B

12345678910111213141516171819202122232425262728
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. subdirs += libresolv
  8. CFLAGS-libresolv := -DNOT_IN_libc -DIS_IN_libresolv $(SSP_ALL_CFLAGS)
  9. libresolv_DIR := $(top_srcdir)libresolv
  10. libresolv_OUT := $(top_builddir)libresolv
  11. libresolv_SRC := $(libresolv_DIR)/resolv.c
  12. libresolv_OBJ := $(patsubst $(libresolv_DIR)/%.c,$(libresolv_OUT)/%.o,$(libresolv_SRC))
  13. ifeq ($(DOPIC),y)
  14. libresolv-a-y := $(libresolv_OBJ:.o=.os)
  15. else
  16. libresolv-a-y := $(libresolv_OBJ)
  17. endif
  18. libresolv-so-y := $(libresolv_OBJ:.o=.os)
  19. objclean-y += CLEAN_libresolv
  20. CLEAN_libresolv:
  21. $(do_rm) $(addprefix $(libresolv_OUT)/*., o os a)