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

4.104.114.84.95
Last change on this file since e4c07444 was 70810dc, checked in by Joel Sherrill <joel.sherrill@…>, on 02/08/00 at 22:33:25

Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@…>
that contains:

  • Removes remaining (now illegal) references to $(SRC) from a couple of Makefile.ams
  • Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
  • Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR from most configure scripts, i.e. LIBCDIR becomes less visible)
  • Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to libbsp/*/configure.ins (A minor bug in previous implementations, which only has an impact when switching to GNU/Cygnus canonicalization)
  • Cleans up several bogus comments.
  • Removes MKLIB
  • Switches the version number to 4.5.0 (for testing version number handling)
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = librtcio
8LIB = ${ARCH}/${LIBNAME}.a
9
10C_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 m48t08_reg8.c
12
13C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
14
15H_FILES = rtc.h icm7170.h m48t08.h
16noinst_HEADERS = $(H_FILES)
17
18OBJS = $(C_O_FILES)
19
20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21include $(top_srcdir)/../../../automake/lib.am
22
23PREINSTALL_FILES = \
24$(PROJECT_INCLUDE)/libchip \
25$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
26
27TMPINSTALL_FILES += \
28$(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
39AM_CFLAGS += $(LIBC_DEFINES)
40
41$(LIB): ${OBJS}
42        $(make-library)
43
44$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
45        $(INSTALL_DATA) $< $@
46
47all: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
48
49DOC_FILES = \
50README.ds1643 README.icm7170 README.m48t08 README.m48t18 STATUS
51
52EXTRA_DIST = $(C_FILES) $(DOC_FILES)
53
54include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.