source: rtems/c/src/lib/include/Makefile.in @ 6c980128

4.104.114.84.9
Last change on this file since 6c980128 was 6c980128, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 10, 1998 at 9:53:02 PM

RDBG headers files ignored if not configured

  • Property mode set to 100644
File size: 1.9 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11H_PIECES=chain console clockdrv iosupp ringbuf \
12   spurious timerdrv vmeintr
13H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
14
15SYS_H_PIECES=termios
16SYS_H_FILES=$(SYS_H_PIECES:%=$(srcdir)/sys/%.h)
17
18MOTOROLA_H_PIECES=mc68230 mc68681
19MOTOROLA_H_FILES=$(MOTOROLA_H_PIECES:%=$(srcdir)/motorola/%.h)
20
21ZILOG_H_PIECES=z8036 z8530 z8536
22ZILOG_H_FILES=$(ZILOG_H_PIECES:%=$(srcdir)/zilog/%.h)
23
24RTEMSCPLUSPLUS_H_PIECES= rtemsEvent rtemsInterrupt rtemsMessageQueue \
25  rtemsSemaphore rtemsStatusCode rtemsTask rtemsTaskMode rtemsTimer
26RTEMSCPLUSPLUS_H_FILES=$(RTEMSCPLUSPLUS_H_PIECES:%=$(srcdir)/rtems++/%.h)
27
28RPC_H_PIECES=  auth clnt rpc rpc_msg svc svc_auth types xdr
29RPC_H_FILES=$(RPC_H_PIECES:%=$(srcdir)/rpc/%.h)
30
31RDBG_H_PIECES=  servrpc rdbg $(RTEMS_CPU)/rdbg_f $(RTEMS_CPU)/reg
32RDBG_H_FILES=$(RDBG_H_PIECES:%=$(srcdir)/rdbg/%.h)
33
34# We only build the rdbg library if HAS_NETWORKING and HAS_RDBG was defined
35RDBG_H_PIECES_yes_yes_V = servrpc rdbg $(RTEMS_CPU)/rdbg_f $(RTEMS_CPU)/reg
36RDBG_H_FILES=$($(LIBRDBG_$(HAS_NETWORKING)_$(HAS_RDBG)_V):%=$(srcdir)/rdbg/%.h)
37
38SRCS=$(H_FILES) $(SYS_H_FILES) \
39     $(MOTOROLA_H_FILES) $(RTEMSCPLUSPLUS_H_FILES) \
40     $(RPC_H_FILES) $(RDBG_H_FILES)
41
42include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
43include $(RTEMS_ROOT)/make/leaf.cfg
44CLEAN_ADDITIONS +=
45CLOBBER_ADDITIONS +=
46
47all:    $(SRCS)
48        $(INSTALL) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
49        $(INSTALL) -m 444 $(SYS_H_FILES) $(PROJECT_INCLUDE)/sys
50        $(INSTALL) -m 444 $(MOTOROLA_H_FILES) \
51            $(PROJECT_INCLUDE)/motorola
52        $(INSTALL) -m 444 $(ZILOG_H_FILES) $(PROJECT_INCLUDE)/zilog
53ifeq ($(HAS_CPLUSPLUS),yes)
54        $(INSTALL) -m 444 $(RTEMSCPLUSPLUS_H_FILES) $(PROJECT_INCLUDE)/rtems++
55endif
56ifeq ($(HAS_NETWORKING),yes)
57        $(INSTALL) -m 444 $(RPC_H_FILES) $(PROJECT_INCLUDE)/rpc
58ifeq ($(HAS_RDBG),yes)
59        $(INSTALL) -m 444 $(RDBG_H_FILES) $(PROJECT_INCLUDE)/rdbg
60endif
61endif
Note: See TracBrowser for help on using the repository browser.