summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libcpu/mips/shared/interrupts/Makefile.am
blob: 5c9eecf8a8f8d2da1a27a45c2e8239462a6935ba (plain) (tree)





















                                                                              





                             









                                                      
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

PGM = $(ARCH)/interrupts.rel

C_FILES = installisrentries.c maxvectors.c

S_FILES = isr_entries.S

interrupts_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.o) $(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 +=
#

if tx39
EXTRA_FLAGS = -DTX39
endif

AM_CPPFLAGS += $(EXTRA_FLAGS)

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

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

.PRECIOUS: $(PGM)

EXTRA_DIST = maxvectors.c

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