Makefile.in 774 B

12345678910111213141516171819202122232425262728293031
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000 by Lineo, inc.
  4. # Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  5. #
  6. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. #
  8. CSRC := ftok.c
  9. # multi source sem.c
  10. CSRC += semget.c semctl.c semop.c
  11. # multi source shm.c
  12. CSRC += shmat.c shmctl.c shmdt.c shmget.c
  13. # multi source msgq.c
  14. CSRC += msgctl.c msgget.c msgrcv.c msgsnd.c
  15. MISC_SYSVIPC_DIR := $(top_srcdir)libc/misc/sysvipc
  16. MISC_SYSVIPC_OUT := $(top_builddir)libc/misc/sysvipc
  17. MISC_SYSVIPC_SRC := $(patsubst %.c,$(MISC_SYSVIPC_DIR)/%.c,$(CSRC))
  18. MISC_SYSVIPC_OBJ := $(patsubst %.c,$(MISC_SYSVIPC_OUT)/%.o,$(CSRC))
  19. libc-y += $(MISC_SYSVIPC_OBJ)
  20. objclean-y += misc_sysvipc_objclean
  21. misc_sysvipc_objclean:
  22. $(RM) $(MISC_SYSVIPC_OUT)/*.{o,os}