OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [libchip/] [rtc/] [Makefile.am] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
##
2 208 chris
## $Id: Makefile.am,v 1.2 2001-09-27 12:01:42 chris Exp $
3 158 chris
##
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.