source: rtems/c/src/lib/Makefile.in @ 93180ea2

4.104.114.84.95
Last change on this file since 93180ea2 was 196094eb, checked in by Joel Sherrill <joel.sherrill@…>, on 04/19/99 at 13:19:14

Patch from Ralf Corsepius <corsepiu@…>:

This one is an enhancement to acpolish.

It replaces some Makefile variables by others variable in Makefile.ins
(tries to use unique name for some variables). It therefore eases
parsing Makefile.ins for further automatic Makefile.in conversions in
future.

To apply:

cd <rtems-source-tree>
sh <path-to>/rtems-rc-19990407-8.sh
./autogen

  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../..
9subdir = c/src/lib
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
19include $(RTEMS_ROOT)/make/directory.cfg
20
21# We only build the networking library if HAS_NETWORKING was defined
22LIBNETWORKING_yes_V = libnetworking
23LIBNETWORKING = $(LIBNETWORKING_$(HAS_NETWORKING)_V)
24NETWORKING_INCLUDE_yes_V = libnetworking/include
25NETWORKING_INCLUDE = $(NETWORKING_INCLUDE_$(HAS_NETWORKING)_V)
26
27# We only build the rpc library if HAS_NETWORKING was defined
28LIBRPC_yes_V = librpc
29LIBRPC = $(LIBRPC_$(HAS_NETWORKING)_V)
30
31# We only build the rdbg library if HAS_NETWORKING and HAS_RDBG was defined
32LIBRDBG_yes_yes_V = librdbg
33LIBRDBG = $(LIBRDBG_$(HAS_NETWORKING)_$(HAS_RDBG)_V)
34
35# We only build the rtems++ library if HAS_CPLUSPLUS was defined
36LIBRTEMSCPLUSPLUS_yes_V = librtems++
37LIBRTEMSCPLUSPLUS = $(LIBRTEMSCPLUSPLUS_$(HAS_CPLUSPLUS)_V)
38
39# General Hardware API library
40LIBHWAPI=$(wildcard libhwapi)
41
42ifneq ($(RTEMS_CPU),unix)
43LIBCHIP=libchip
44endif
45
46SUB_DIRS=start include $(NETWORKING_INCLUDE) libmisc \
47         libc $(LIBCHIP) libcpu libbsp \
48         $(LIBNETWORKING) $(LIBRPC) $(LIBRDBG) \
49         $(LIBHWAPI) $(LIBRTEMSCPLUSPLUS) wrapup
50
51Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
52        cd $(top_builddir) \
53         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.