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