summaryrefslogtreecommitdiffstats
path: root/c/src/lib/Makefile.in
blob: 40c56f567cdb3fbf9e139e6f333e9300d9029923 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
#  $Id$
#

@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = .

RTEMS_ROOT = @RTEMS_ROOT@
PROJECT_ROOT = @PROJECT_ROOT@

VPATH = @srcdir@

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(RTEMS_ROOT)/make/directory.cfg

INSTALL_CHANGE = @INSTALL_CHANGE@

# We only build the networking library if HAS_NETWORKING was defined
LIBNETWORKING_yes_V = libnetworking
LIBNETWORKING = $(LIBNETWORKING_$(HAS_NETWORKING)_V)

# We only build the rpc library if HAS_NETWORKING was defined
LIBRPC_yes_V = librpc
LIBRPC = $(LIBRPC_$(HAS_NETWORKING)_V)

# We only build the rdbg library if HAS_NETWORKING and HAS_RDBG was defined
LIBRDBG_yes_yes_V = librdbg
LIBRDBG = $(LIBRDBG_$(HAS_NETWORKING)_$(HAS_RDBG)_V)

# We only build the rtems++ library if HAS_CPLUSPLUS was defined
LIBRTEMSCPLUSPLUS_yes_V = librtems++
LIBRTEMSCPLUSPLUS = $(LIBRTEMSCPLUSPLUS_$(HAS_CPLUSPLUS)_V)

# General Hardware API library 
LIBHWAPI = $(wildcard libhwapi)

@UNIX_FALSE@LIBCHIP = libchip

SUB_DIRS = start include libmisc libc $(LIBNETWORKING) libcpu libbsp \
    $(LIBRPC) $(LIBRDBG) $(LIBCHIP) $(LIBHWAPI) $(LIBRTEMSCPLUSPLUS) wrapup

Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
	cd $(top_builddir) \
	 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status