source: rtems/c/src/libchip/rtc/Makefile.in @ 08b5f55

4.104.114.84.9
Last change on this file since 08b5f55 was 08b5f55, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 26, 1999 at 8:31:49 PM

Patch from Ralf Corsepius <corsepiu@…>:

A bug in acpolish made it into rtems-rc-19990709-0.diff, which
unfortunately affects all Makefile.ins:

  • The maintainer mode conditional was erroniously applied to the dependencies of "Makefile".

In case you already checked in rtems-rc-19990709-0.diff to CVS you have
to check in all Makefile.ins again after applying the patch below :).

Please apply the patch below as follows:

patch -p1 < rtems-rc-19990709-1.diff
tools/update/rtems-polish.sh -ac

Note: There is no need to rerun your tests if you have used
--enable-maintainer-mode to configure RTEMS, because this patch converts
all Makefile.ins to the same settings as used for
--enable-maintainer-mode.

  • Property mode set to 100644
File size: 1.8 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../..
9subdir = libchip/rtc
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16LIBNAME = librtcio.a
17LIB = ${ARCH}/${LIBNAME}
18
19C_PIECES = rtcprobe icm7170 icm7170_reg icm7170_reg2 icm7170_reg4 \
20    icm7170_reg8 m48t08 m48t08_reg m48t08_reg2 m48t08_reg4 m48t08_reg8
21
22C_FILES = $(C_PIECES:%=%.c)
23C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
24
25INSTALLED_H_FILES = $(srcdir)/rtc.h $(srcdir)/icm7170.h $(srcdir)/m48t08.h
26
27SRCS = $(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) \
28    $(PRIVATE_H_FILES)
29OBJS = $(C_O_FILES)
30
31include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
32include $(RTEMS_ROOT)/make/lib.cfg
33
34INSTALL_CHANGE = @INSTALL_CHANGE@
35mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
36
37INSTALLDIRS = $(PROJECT_INCLUDE)/libchip
38
39$(INSTALLDIRS):
40        @$(mkinstalldirs) $(INSTALLDIRS)
41
42#
43# Add local stuff here using +=
44#
45
46DEFINES +=
47CPPFLAGS +=
48CFLAGS += $(LIBC_DEFINES)
49
50#
51# Add your list of files to delete here.  The config files
52#  already know how to delete some stuff, so you may want
53#  to just run 'make clean' first to see what gets missed.
54#  'make clobber' already includes 'make clean'
55#
56
57CLEAN_ADDITIONS += $(LIB)
58CLOBBER_ADDITIONS +=
59
60all: ${ARCH} preinstall $(LIB)
61        $(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib
62
63$(LIB): $(SRCS) ${OBJS}
64        $(make-library)
65
66# Install the library, appending _g or _p as appropriate.
67# for include files, just use $(INSTALL_CHANGE)
68preinstall:
69        $(mkinstalldirs) $(PROJECT_INCLUDE)/libchip
70        @$(INSTALL_CHANGE) -m 644 $(INSTALLED_H_FILES) $(PROJECT_INCLUDE)/libchip
71
72Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
73        cd $(top_builddir) \
74         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.