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

4.104.114.84.95
Last change on this file since 08b5f55 was 08b5f55, checked in by Joel Sherrill <joel.sherrill@…>, on 07/26/99 at 20:31:49

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/serial
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16LIBNAME = libserialio.a
17LIB = ${ARCH}/${LIBNAME}
18
19C_PIECES = mc68681 mc68681_baud mc68681_reg mc68681_reg2 mc68681_reg4 \
20    mc68681_reg8 ns16550 z85c30 z85c30_reg serprobe termios_baud2index \
21    termios_baud2num
22
23C_FILES = $(C_PIECES:%=%.c)
24C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
25
26INSTALLED_H_FILES = $(srcdir)/mc68681.h $(srcdir)/ns16550.h \
27    $(srcdir)/z85c30.h $(srcdir)/serial.h
28SRCS = $(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) \
29    $(PRIVATE_H_FILES)
30OBJS = $(C_O_FILES)
31
32include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
33include $(RTEMS_ROOT)/make/lib.cfg
34
35INSTALL_CHANGE = @INSTALL_CHANGE@
36mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
37
38INSTALLDIRS = $(PROJECT_INCLUDE)/libchip
39
40$(INSTALLDIRS):
41        @$(mkinstalldirs) $(INSTALLDIRS)
42
43#
44# Add local stuff here using +=
45#
46
47DEFINES +=
48CPPFLAGS +=
49CFLAGS += $(LIBC_DEFINES)
50
51#
52# Add your list of files to delete here.  The config files
53#  already know how to delete some stuff, so you may want
54#  to just run 'make clean' first to see what gets missed.
55#  'make clobber' already includes 'make clean'
56#
57
58CLEAN_ADDITIONS += $(LIB)
59CLOBBER_ADDITIONS +=
60
61all: ${ARCH} preinstall $(LIB)
62        $(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib
63
64$(LIB): $(SRCS) ${OBJS}
65        $(make-library)
66
67# Install the library, appending _g or _p as appropriate.
68# for include files, just use $(INSTALL_CHANGE)
69preinstall:
70        @$(mkinstalldirs) $(PROJECT_INCLUDE)/libchip
71        @$(INSTALL_CHANGE) -m 644 $(INSTALLED_H_FILES) $(PROJECT_INCLUDE)/libchip
72
73Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
74        cd $(top_builddir) \
75         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.