source: rtems/c/src/libchip/Makefile.am @ dd9cc9f7

4.104.11
Last change on this file since dd9cc9f7 was 5c980d0, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 5, 2008 at 2:48:37 PM

2008-09-05 Joel Sherrill <joel.sherrill@…>

  • libchip/Makefile.am, libchip/shmdr/init.c, libchip/shmdr/mpisr.c, libchip/shmdr/poll.c, libchip/shmdr/shm_driver.h: Update shared memory driver to not use the clock ioctl to install a method to poll for input. It now uses a Class API Timer which means we can eliminate this special IOCTL from all clock drivers.
  • libchip/shmdr/setckvec.c: Removed.
  • Property mode set to 100644
File size: 4.0 KB
Line 
1##
2##  $Id$
3##
4
5include $(top_srcdir)/automake/compile.am
6
7if LIBCHIP
8include_libchipdir = $(includedir)/libchip
9include_libchip_HEADERS =
10endif
11
12EXTRA_DIST =
13noinst_LIBRARIES =
14noinst_PROGRAMS =
15
16# display
17if LIBCHIP
18include_libchip_HEADERS += display/disp_hcms29xx.h
19
20noinst_LIBRARIES += libdisplay.a
21libdisplay_a_SOURCES = display/disp_hcms29xx.c display/font_hcms29xx.c
22libdisplay_a_CPPFLAGS = $(AM_CPPFLAGS)
23endif
24
25# flash
26if LIBCHIP
27include_libchip_HEADERS += flash/am29lv160.h
28
29noinst_LIBRARIES += libflash.a
30libflash_a_SOURCES = flash/am29lv160.c
31libflash_a_CPPFLAGS = $(AM_CPPFLAGS)
32endif
33
34# ide
35if LIBCHIP
36include_libchip_HEADERS += ide/ata.h ide/ide_ctrl_cfg.h ide/ide_ctrl.h \
37    ide/ide_ctrl_io.h
38
39noinst_LIBRARIES += libide.a
40libide_a_SOURCES = ide/ata.c ide/ide_controller.c ide/ata_internal.h
41libide_a_CPPFLAGS = $(AM_CPPFLAGS)
42endif
43
44# network
45if LIBCHIP
46if HAS_NETWORKING
47noinst_LIBRARIES += libnetchip.a
48libnetchip_a_CPPFLAGS = $(AM_CPPFLAGS)
49libnetchip_a_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
50include_libchip_HEADERS += network/cs8900.h network/i82586var.h \
51    network/if_fxpvar.h network/sonic.h
52include_libchip_HEADERS += network/open_eth.h network/if_dcreg.h
53include_libchip_HEADERS += network/greth.h
54libnetchip_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
57libnetchip_a_SOURCES += network/greth.c
58include_libchip_HEADERS += network/smc91111.h network/smc91111exp.h
59libnetchip_a_SOURCES += network/smc91111.c network/smc91111config.h
60endif
61endif
62
63EXTRA_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
68if LIBCHIP
69include_libchip_HEADERS += rtc/rtc.h rtc/icm7170.h rtc/m48t08.h \
70    rtc/mc146818a.h rtc/ds1375-rtc.h
71
72noinst_LIBRARIES += librtcio.a
73librtcio_a_CPPFLAGS = $(AM_CPPFLAGS)
74librtcio_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
78endif
79
80EXTRA_DIST += rtc/README.ds1643 rtc/README.icm7170 rtc/README.m48t08 \
81    rtc/README.m48t18 rtc/STATUS
82
83# i2c
84if LIBCHIP
85
86include_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
93noinst_LIBRARIES += libi2cio.a
94
95libi2cio_a_CPPFLAGS = $(AM_CPPFLAGS)
96libi2cio_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
108endif
109
110# serial
111if LIBCHIP
112include_libchip_HEADERS += serial/mc68681.h serial/ns16550.h serial/z85c30.h \
113    serial/serial.h serial/sersupp.h
114
115noinst_LIBRARIES += libserialio.a
116libserialio_a_CPPFLAGS = $(AM_CPPFLAGS)
117libserialio_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
122endif
123
124EXTRA_DIST += serial/README.mc68681 serial/README.ns16550 \
125    serial/README.xr88681 serial/README.z85c30 serial/STATUS
126
127## shmdr
128if HAS_MP
129include_HEADERS = shmdr/shm_driver.h shmdr/mpci.h
130
131project_lib_PROGRAMS = shmdr.rel
132shmdr_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
135shmdr_rel_CPPFLAGS = $(AM_CPPFLAGS)
136shmdr_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
137endif
138
139EXTRA_DIST += shmdr/README
140
141## --
142
143include $(srcdir)/preinstall.am
144include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.