source: rtems/c/src/lib/include/Makefile.in @ 1587af6

4.104.114.84.95
Last change on this file since 1587af6 was 674c900, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 10, 1997 at 4:58:00 PM

Modified a lot of files to take a first cut at supporting building from
any directory in the build tree. The only variable which must be set
before the command "gmake" is invoked is RTEMS_BSP (e.g. RTEMS_BSP=erc32).

  • 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@
8VPATH = @srcdir@
9RTEMS_ROOT = @RTEMS_ROOT@
10PROJECT_ROOT = @PROJECT_ROOT@
11RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
12
13H_PIECES=console clockdrv iosupp ringbuf \
14   spurious timerdrv vmeintr
15H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
16
17SYS_H_PIECES=termios
18SYS_H_FILES=$(SYS_H_PIECES:%=$(srcdir)/sys/%.h)
19
20KA9Q_H_PIECES= arp asy ax25 ax25mail bootp cmdparse commands config \
21  daemon dialer domain enet ftp ftpcli global hardware icmp iface \
22  internet ip kiss lapb lzw mailbox mbuf netuser nospc nr4 nr4mail \
23  nrs ping pktdrvr ppp proc rip rtems_ka9q sb session slhc slip smtp \
24  sockaddr SyslogDaemon syslog socket tcp telnet tftp timer tipmail \
25  trace udp usock
26KA9Q_H_FILES=$(KA9Q_H_PIECES:%=$(srcdir)/ka9q/%.h)
27
28MOTOROLA_H_PIECES=mc68230 mc68681
29MOTOROLA_H_FILES=$(MOTOROLA_H_PIECES:%=$(srcdir)/motorola/%.h)
30
31ZILOG_H_PIECES=z8036 z8530 z8536
32ZILOG_H_FILES=$(ZILOG_H_PIECES:%=$(srcdir)/zilog/%.h)
33
34RTEMSCPLUSPLUS_H_PIECES= rtemsEvent rtemsInterrupt rtemsMessageQueue \
35  rtemsSemaphore rtemsStatusCode rtemsTask rtemsTaskMode rtemsTimer
36RTEMSCPLUSPLUS_H_FILES=$(RTEMSCPLUSPLUS_H_PIECES:%=$(srcdir)/rtems++/%.h)
37
38SRCS=$(H_FILES) $(SYS_H_FILES) \
39     $(KA9Q_H_FILES) $(MOTOROLA_H_FILES) $(RTEMSCPLUSPLUS_H_FILES)
40
41include $(RTEMS_CUSTOM)
42include $(PROJECT_ROOT)/make/leaf.cfg
43CLEAN_ADDITIONS +=
44CLOBBER_ADDITIONS +=
45
46all:    $(SRCS)
47        $(INSTALL) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
48        $(INSTALL) -m 444 $(SYS_H_FILES) $(PROJECT_INCLUDE)/sys
49        $(INSTALL) -m 444 $(MOTOROLA_H_FILES) \
50            $(PROJECT_INCLUDE)/motorola
51        $(INSTALL) -m 444 $(ZILOG_H_FILES) $(PROJECT_INCLUDE)/zilog
52ifeq ($(HAS_KA9Q),yes)
53        $(INSTALL) -m 444 $(KA9Q_H_FILES) $(PROJECT_INCLUDE)/ka9q
54endif
55ifeq ($(HAS_CPLUSPLUS),yes)
56        $(INSTALL) -m 444 $(RTEMSCPLUSPLUS_H_FILES) $(PROJECT_INCLUDE)/rtems++
57endif
Note: See TracBrowser for help on using the repository browser.