summaryrefslogblamecommitdiffstats
path: root/c/src/exec/wrapup/itron/Makefile.in
blob: eecd38fc212123a27ce6aa0adc105f731c15f3e0 (plain) (tree)

























































                                                                                
#
#  $Id$
#

@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ../..
subdir = wrapup/itron

RTEMS_ROOT = @RTEMS_ROOT@
PROJECT_ROOT = @PROJECT_ROOT@

VPATH = @srcdir@

ITRON_OBJS = $(wildcard ../../itron/src/$(ARCH)/*.o)

OBJS = $(ITRON_OBJS)
# HACK: AM_CONDITIONAL
LIB = @HAS_ITRON_TRUE@$(ARCH)/libitron.a

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

INSTALL_CHANGE = @INSTALL_CHANGE@

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

DEFINES +=
CPPFLAGS +=
CFLAGS +=

LD_PATHS +=
LD_LIBS +=
LDFLAGS +=

#
# Add your list of files to delete here.  The config files
#  already know how to delete some stuff, so you may want
#  to just run 'make clean' first to see what gets missed.
#  'make clobber' already includes 'make clean'
#

CLEAN_ADDITIONS +=
CLOBBER_ADDITIONS +=

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

# HACK: AM_CONDITIONAL
all: @HAS_ITRON_TRUE@${ARCH} $(SRCS) $(LIB)
@HAS_ITRON_TRUE@	@$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib

Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	cd $(top_builddir) \
	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status