source: rtems/c/src/libchip/Makefile.am @ 74172b7d

Last change on this file since 74172b7d was 6ec438e, checked in by Sebastian Huber <sebastian.huber@…>, on Oct 7, 2014 at 6:29:16 AM

libchip/serial: Add alternative NS16550 driver

Use the Termios device API.

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