Makefile.in 828 B

1234567891011121314151617181920212223242526272829303132
  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 += libc/misc/sysvipc
  8. CSRC-y := ftok.c __syscall_ipc.c
  9. # multi source sem.c
  10. CSRC-y += semget.c semctl.c semop.c semtimedop.c
  11. # multi source shm.c
  12. CSRC-y += shmat.c shmctl.c shmdt.c shmget.c
  13. # multi source msgq.c
  14. CSRC-y += 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-y))
  18. MISC_SYSVIPC_OBJ := $(patsubst %.c,$(MISC_SYSVIPC_OUT)/%.o,$(CSRC-y))
  19. libc-y += $(MISC_SYSVIPC_OBJ)
  20. objclean-y += CLEAN_libc/misc/sysvipc
  21. CLEAN_libc/misc/sysvipc:
  22. $(do_rm) $(addprefix $(MISC_SYSVIPC_OUT)/*., o os)