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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

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