1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | include $(top_srcdir)/automake/compile.am |
---|
6 | |
---|
7 | if LIBCHIP |
---|
8 | include_libchipdir = $(includedir)/libchip |
---|
9 | include_libchip_HEADERS = |
---|
10 | endif |
---|
11 | |
---|
12 | EXTRA_DIST = |
---|
13 | noinst_LIBRARIES = |
---|
14 | noinst_PROGRAMS = |
---|
15 | |
---|
16 | # display |
---|
17 | if LIBCHIP |
---|
18 | include_libchip_HEADERS += display/disp_hcms29xx.h |
---|
19 | |
---|
20 | noinst_LIBRARIES += libdisplay.a |
---|
21 | libdisplay_a_SOURCES = display/disp_hcms29xx.c display/font_hcms29xx.c |
---|
22 | libdisplay_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
23 | endif |
---|
24 | |
---|
25 | # flash |
---|
26 | if LIBCHIP |
---|
27 | include_libchip_HEADERS += flash/am29lv160.h |
---|
28 | |
---|
29 | noinst_LIBRARIES += libflash.a |
---|
30 | libflash_a_SOURCES = flash/am29lv160.c |
---|
31 | libflash_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
32 | endif |
---|
33 | |
---|
34 | # ide |
---|
35 | if LIBCHIP |
---|
36 | include_libchip_HEADERS += ide/ata.h ide/ide_ctrl_cfg.h ide/ide_ctrl.h \ |
---|
37 | ide/ide_ctrl_io.h |
---|
38 | |
---|
39 | noinst_LIBRARIES += libide.a |
---|
40 | libide_a_SOURCES = ide/ata.c ide/ide_controller.c ide/ata_internal.h |
---|
41 | libide_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
42 | endif |
---|
43 | |
---|
44 | # network |
---|
45 | if LIBCHIP |
---|
46 | if HAS_NETWORKING |
---|
47 | noinst_LIBRARIES += libnetchip.a |
---|
48 | libnetchip_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
49 | libnetchip_a_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
50 | include_libchip_HEADERS += network/cs8900.h network/i82586var.h \ |
---|
51 | network/if_fxpvar.h network/sonic.h |
---|
52 | include_libchip_HEADERS += network/open_eth.h network/if_dcreg.h |
---|
53 | include_libchip_HEADERS += network/greth.h |
---|
54 | libnetchip_a_SOURCES = network/cs8900.c network/dec21140.c network/i82586.c \ |
---|
55 | network/sonic.c network/if_fxp.c network/elnk.c network/open_eth.c \ |
---|
56 | network/if_dc.c |
---|
57 | libnetchip_a_SOURCES += network/greth.c |
---|
58 | include_libchip_HEADERS += network/smc91111.h network/smc91111exp.h |
---|
59 | libnetchip_a_SOURCES += network/smc91111.c network/smc91111config.h |
---|
60 | endif |
---|
61 | endif |
---|
62 | |
---|
63 | EXTRA_DIST += network/README network/README.cs8900 network/README.dec21140 \ |
---|
64 | network/README.i82586 network/README.open_eth network/README.sonic \ |
---|
65 | network/cs8900.c.bsp network/README.tulipclone |
---|
66 | |
---|
67 | # rtc |
---|
68 | if LIBCHIP |
---|
69 | include_libchip_HEADERS += rtc/rtc.h rtc/icm7170.h rtc/m48t08.h \ |
---|
70 | rtc/mc146818a.h rtc/ds1375-rtc.h |
---|
71 | |
---|
72 | noinst_LIBRARIES += librtcio.a |
---|
73 | librtcio_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
74 | librtcio_a_SOURCES = rtc/rtcprobe.c rtc/icm7170.c rtc/icm7170_reg.c \ |
---|
75 | rtc/icm7170_reg2.c rtc/icm7170_reg4.c rtc/icm7170_reg8.c rtc/m48t08.c \ |
---|
76 | rtc/m48t08_reg.c rtc/m48t08_reg2.c rtc/m48t08_reg4.c rtc/m48t08_reg8.c \ |
---|
77 | rtc/mc146818a.c rtc/mc146818a_ioreg.c rtc/ds1375.c |
---|
78 | endif |
---|
79 | |
---|
80 | EXTRA_DIST += rtc/README.ds1643 rtc/README.icm7170 rtc/README.m48t08 \ |
---|
81 | rtc/README.m48t18 rtc/STATUS |
---|
82 | |
---|
83 | # i2c |
---|
84 | if LIBCHIP |
---|
85 | |
---|
86 | include_libchip_HEADERS += i2c/i2c-ds1621.h \ |
---|
87 | i2c/i2c-2b-eeprom.h \ |
---|
88 | i2c/spi-memdrv.h \ |
---|
89 | i2c/spi-flash-m25p40.h \ |
---|
90 | i2c/spi-fram-fm25l256.h \ |
---|
91 | i2c/spi-sd-card.h |
---|
92 | |
---|
93 | noinst_LIBRARIES += libi2cio.a |
---|
94 | |
---|
95 | libi2cio_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
96 | libi2cio_a_SOURCES = i2c/i2c-ds1621.h \ |
---|
97 | i2c/i2c-2b-eeprom.h \ |
---|
98 | i2c/spi-memdrv.h \ |
---|
99 | i2c/spi-flash-m25p40.h \ |
---|
100 | i2c/spi-fram-fm25l256.h \ |
---|
101 | i2c/i2c-ds1621.c \ |
---|
102 | i2c/i2c-2b-eeprom.c \ |
---|
103 | i2c/spi-memdrv.c \ |
---|
104 | i2c/spi-flash-m25p40.c \ |
---|
105 | i2c/spi-fram-fm25l256.c \ |
---|
106 | i2c/spi-sd-card.c |
---|
107 | |
---|
108 | endif |
---|
109 | |
---|
110 | # serial |
---|
111 | if LIBCHIP |
---|
112 | include_libchip_HEADERS += serial/mc68681.h serial/ns16550.h serial/z85c30.h \ |
---|
113 | serial/serial.h serial/sersupp.h |
---|
114 | |
---|
115 | noinst_LIBRARIES += libserialio.a |
---|
116 | libserialio_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
117 | libserialio_a_SOURCES = serial/mc68681.c serial/mc68681_baud.c \ |
---|
118 | serial/mc68681_reg.c serial/mc68681_reg2.c serial/mc68681_reg4.c \ |
---|
119 | serial/mc68681_reg8.c serial/ns16550.c serial/z85c30.c \ |
---|
120 | serial/z85c30_reg.c serial/serprobe.c serial/mc68681_p.h \ |
---|
121 | serial/ns16550_p.h serial/z85c30_p.h |
---|
122 | endif |
---|
123 | |
---|
124 | EXTRA_DIST += serial/README.mc68681 serial/README.ns16550 \ |
---|
125 | serial/README.xr88681 serial/README.z85c30 serial/STATUS |
---|
126 | |
---|
127 | ## shmdr |
---|
128 | if HAS_MP |
---|
129 | include_HEADERS = shmdr/shm_driver.h shmdr/mpci.h |
---|
130 | |
---|
131 | project_lib_PROGRAMS = shmdr.rel |
---|
132 | shmdr_rel_SOURCES = shmdr/addlq.c shmdr/cnvpkt.c shmdr/getlq.c shmdr/dump.c \ |
---|
133 | shmdr/fatal.c shmdr/getpkt.c shmdr/init.c shmdr/initlq.c shmdr/intr.c \ |
---|
134 | shmdr/mpisr.c shmdr/poll.c shmdr/receive.c shmdr/retpkt.c shmdr/send.c |
---|
135 | shmdr_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
136 | shmdr_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
137 | endif |
---|
138 | |
---|
139 | EXTRA_DIST += shmdr/README |
---|
140 | |
---|
141 | ## -- |
---|
142 | |
---|
143 | include $(srcdir)/preinstall.am |
---|
144 | include $(top_srcdir)/automake/local.am |
---|