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