Makefile.in 806 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 := ftok.c __syscall_ipc.c
  9. # multi source sem.c
  10. CSRC += semget.c semctl.c semop.c semtimedop.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_clean
  21. misc_sysvipc_clean:
  22. $(do_rm) $(addprefix $(MISC_SYSVIPC_OUT)/*., o os)