OpenCores
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] - Blame information for rev 314

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
##
2
## $Id: Makefile.am,v 1.2 2001-09-27 12:01:42 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
LIBNAME = librtcio
8
LIB = ${ARCH}/${LIBNAME}.a
9
 
10
C_FILES = rtcprobe.c icm7170.c icm7170_reg.c icm7170_reg2.c icm7170_reg4.c \
11
    icm7170_reg8.c m48t08.c m48t08_reg.c m48t08_reg2.c m48t08_reg4.c \
12
    m48t08_reg8.c
13
 
14
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
15
 
16
H_FILES = rtc.h icm7170.h m48t08.h
17
noinst_HEADERS = $(H_FILES)
18
 
19
OBJS = $(C_O_FILES)
20
 
21
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
22
include $(top_srcdir)/../../../automake/lib.am
23
 
24
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip \
25
    $(noinst_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
26
 
27
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
28
 
29
$(PROJECT_INCLUDE)/libchip:
30
        @$(mkinstalldirs) $@
31
$(PROJECT_INCLUDE)/libchip/%.h: %.h
32
        $(INSTALL_DATA) $< $@
33
 
34
#
35
# Add local stuff here using +=
36
#
37
 
38
AM_CFLAGS += $(LIBC_DEFINES)
39
 
40
$(LIB): ${OBJS}
41
        $(make-library)
42
 
43
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
44
        $(INSTALL_DATA) $< $@
45
 
46
all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
47
 
48
DOC_FILES = README.ds1643 README.icm7170 README.m48t08 README.m48t18 STATUS
49
 
50
EXTRA_DIST = $(C_FILES) $(DOC_FILES)
51
 
52
include $(top_srcdir)/../../../automake/local.am

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.