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

AUTOMAKE_OPTIONS = foreign 1.4

EXTENSION_FILES = extension.c extensioncreate.c extensiondelete.c \
    extensionident.c
C_FILES = debug.c entrytable.c $(EXTENSION_FILES)  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 $(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} ${OBJS}

EXTRA_DIST = $(C_FILES)

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