summaryrefslogtreecommitdiffstats
path: root/libc/misc/sysvipc/Makefile.in
blob: 4c865dc493c8947c3d87d4345f0b4292db62073a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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}