summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/src/Makefile.am
blob: de8da93902124cce4737da4fc254a8caf556b904 (plain) (blame)
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
31
32
##
##  $Id$
##

LIB=$(ARCH)/libsapi.a

EXTENSION_FILES = extension.c extensioncreate.c extensiondelete.c \
    extensionident.c
C_FILES = debug.c $(EXTENSION_FILES)  fatal.c exinit.c io.c \
    itronapi.c posixapi.c rtemsapi.c
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))

OBJS = $(C_O_FILES)

include $(top_srcdir)/automake/multilib.am
include $(top_srcdir)/automake/compile.am
include $(top_srcdir)/automake/lib.am

#
# Add local stuff here using +=
#

AM_CPPFLAGS += -D__RTEMS_INSIDE__

all-local: ${ARCH} $(LIB)

$(LIB): ${OBJS}
	$(make-library)

EXTRA_DIST = $(C_FILES)

include $(top_srcdir)/automake/local.am