source: rtems/c/src/libchip/rtc/Makefile.am @ 82bdc057

4.104.114.84.9
Last change on this file since 82bdc057 was 5c0064d, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 16, 2003 at 12:25:08 PM

2003-08-16 Ralf Corsepius <corsepiu@…>

Makefile.am: Reflect having moved automake.
ide/Makefile.am: Reflect having moved automake.
network/Makefile.am: Reflect having moved automake.
rtc/Makefile.am: Reflect having moved automake.
serial/Makefile.am: Reflect having moved automake.

  • Property mode set to 100644
File size: 961 bytes
Line 
1##
2## $Id$
3##
4
5
6LIBNAME = librtcio
7LIB = $(ARCH)/$(LIBNAME).a
8
9C_FILES = rtcprobe.c icm7170.c icm7170_reg.c icm7170_reg2.c icm7170_reg4.c \
10    icm7170_reg8.c m48t08.c m48t08_reg.c m48t08_reg2.c m48t08_reg4.c \
11    m48t08_reg8.c
12
13OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
14
15
16include $(top_srcdir)/automake/compile.am
17include $(top_srcdir)/automake/lib.am
18
19
20PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
21    $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
22
23$(PROJECT_INCLUDE)/libchip:
24        @$(mkinstalldirs) $@
25$(PROJECT_INCLUDE)/libchip/%.h: %.h
26        $(INSTALL_DATA) $< $@
27
28#
29# Add local stuff here using +=
30#
31if LIBCHIP
32include_libchipdir = $(includedir)/libchip
33include_libchip_HEADERS = rtc.h icm7170.h m48t08.h
34
35$(LIB): $(OBJS)
36        $(make-library)
37
38all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB)
39endif
40
41DOC_FILES = README.ds1643 README.icm7170 README.m48t08 README.m48t18 STATUS
42
43EXTRA_DIST = $(C_FILES) $(DOC_FILES)
44
45include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.