Makefile.in 766 B

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