summaryrefslogtreecommitdiff
path: root/librt/Makefile.in
blob: 4e9135b303f571d1e3672c87e3cf05d0c12166c7 (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
# Makefile for uClibc
#
# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#

CFLAGS+=$(SSP_ALL_CFLAGS)

# all files are syscall related
DOMULTI=n

LIB_NAME:=librt

librt_DIR:=$(top_srcdir)librt
librt_OUT:=$(top_builddir)librt

librt_SRC:=$(wildcard $(librt_DIR)/*.c)
librt_OBJ:=$(patsubst $(librt_DIR)/%.c,$(librt_OUT)/%.o,$(librt_SRC))

librt-a-y:=$(librt_OBJ)
librt-so-y:=$(librt_OBJ:.o=.os)

librt-multi-y+=$(librt_SRC)

objclean-y+=librt_clean

lib-a-y+=$(top_builddir)lib/librt.a
lib-so-y+=$(top_builddir)lib/librt.so