123456789101112131415161718192021222324252627282930 |
- # Makefile for uClibc
- #
- # Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
- #
- # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
- #
- CSRC := ftok.c
- # multi source sem.c
- CSRC += semget.c semctl.c semop.c
- # multi source shm.c
- CSRC += shmat.c shmctl.c shmdt.c shmget.c
- # multi source msgq.c
- CSRC += msgctl.c msgget.c msgrcv.c msgsnd.c
- MISC_SYSVIPC_DIR := $(top_srcdir)libc/misc/sysvipc
- MISC_SYSVIPC_OUT := $(top_builddir)libc/misc/sysvipc
- MISC_SYSVIPC_SRC := $(patsubst %.c,$(MISC_SYSVIPC_DIR)/%.c,$(CSRC))
- MISC_SYSVIPC_OBJ := $(patsubst %.c,$(MISC_SYSVIPC_OUT)/%.o,$(CSRC))
- libc-y += $(MISC_SYSVIPC_OBJ)
- objclean-y += misc_sysvipc_objclean
- misc_sysvipc_objclean:
- $(RM) $(MISC_SYSVIPC_OUT)/*.{o,os}
|