summaryrefslogtreecommitdiffstats
path: root/c/src/exec/sapi/src/Makefile.am
blob: a9d642921de330db33c479be387831ae63ba367c (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
##
##  $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

C_FILES = debug.c entrytable.c extension.c fatal.c exinit.c io.c itronapi.c \
    posixapi.c rtemsapi.c
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)

OBJS = $(C_O_FILES)

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../automake/lib.am

#
# Add local stuff here using +=
#

AM_CPPFLAGS += -D__RTEMS_INSIDE__

all-local: ${ARCH} ${OBJS}

EXTRA_DIST = $(C_FILES)

include $(top_srcdir)/../../../automake/local.am