URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libchip/] [rtc/] [Makefile.am] - Rev 517
Go to most recent revision | Compare with Previous | Blame | View Log
##
## $Id: Makefile.am,v 1.2 2001-09-27 12:01:42 chris Exp $
##
AUTOMAKE_OPTIONS = foreign 1.4
LIBNAME = librtcio
LIB = ${ARCH}/${LIBNAME}.a
C_FILES = rtcprobe.c icm7170.c icm7170_reg.c icm7170_reg2.c icm7170_reg4.c \
icm7170_reg8.c m48t08.c m48t08_reg.c m48t08_reg2.c m48t08_reg4.c \
m48t08_reg8.c
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
H_FILES = rtc.h icm7170.h m48t08.h
noinst_HEADERS = $(H_FILES)
OBJS = $(C_O_FILES)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../automake/lib.am
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip \
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
$(PROJECT_INCLUDE)/libchip:
@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/libchip/%.h: %.h
$(INSTALL_DATA) $< $@
#
# Add local stuff here using +=
#
AM_CFLAGS += $(LIBC_DEFINES)
$(LIB): ${OBJS}
$(make-library)
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
$(INSTALL_DATA) $< $@
all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
DOC_FILES = README.ds1643 README.icm7170 README.m48t08 README.m48t18 STATUS
EXTRA_DIST = $(C_FILES) $(DOC_FILES)
include $(top_srcdir)/../../../automake/local.am
Go to most recent revision | Compare with Previous | Blame | View Log