summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sparc/syscall/Makefile.am
blob: 038bb9d5619ef8a3a8da4fb51a27ef1c5d26d589 (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
33
34
35
36
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

PGM = $(ARCH)/syscall.rel

## Assembly sources
S_FILES = syscall.S

noinst_HEADERS = syscall.h

syscall_rel_OBJECTS = $(S_FILES:%.S=$(ARCH)/%.o)

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

#
# (OPTIONAL) Add local stuff here using +=
#

$(PGM): $(syscall_rel_OBJECTS)
	$(make-rel)

# the .rel file built here will be put into libbsp.a by
#    libbsp/sparc/BSP/wrapup/Makefile

all-local: $(ARCH) $(syscall_rel_OBJECTS) $(PGM)

.PRECIOUS: $(PGM)

EXTRA_DIST = syscall.S syscall.h

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