source: rtems/c/src/libchip/Makefile.am @ 55a685b

4.104.114.9
Last change on this file since 55a685b was 55a685b, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Oct 25, 2007 at 4:17:56 PM

added SPI support to libi2c
added IRQ support to MPC83xx i2c driver
added mpc83xx spi driver

  • Property mode set to 100644
File size: 3.5 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# ide
17if LIBCHIP
18include_libchip_HEADERS += ide/ata.h ide/ide_ctrl_cfg.h ide/ide_ctrl.h \
19    ide/ide_ctrl_io.h
20
21noinst_LIBRARIES += libide.a
22libide_a_SOURCES = ide/ata.c ide/ide_controller.c ide/ata_internal.h
23libide_a_CPPFLAGS = $(AM_CPPFLAGS)
24endif
25
26# network
27if LIBCHIP
28if HAS_NETWORKING
29noinst_LIBRARIES += libnetchip.a
30libnetchip_a_CPPFLAGS = $(AM_CPPFLAGS)
31libnetchip_a_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
32include_libchip_HEADERS += network/cs8900.h network/i82586var.h \
33    network/if_fxpvar.h network/sonic.h
34include_libchip_HEADERS += network/open_eth.h network/if_dcreg.h
35include_libchip_HEADERS += network/greth.h
36libnetchip_a_SOURCES = network/cs8900.c network/dec21140.c network/i82586.c \
37    network/sonic.c network/if_fxp.c network/elnk.c network/open_eth.c \
38    network/if_dc.c
39libnetchip_a_SOURCES += network/greth.c
40include_libchip_HEADERS += network/smc91111.h network/smc91111exp.h
41libnetchip_a_SOURCES += network/smc91111.c network/smc91111config.h
42endif
43endif
44
45EXTRA_DIST += network/README network/README.cs8900 network/README.dec21140 \
46    network/README.i82586 network/README.open_eth network/README.sonic \
47    network/cs8900.c.bsp network/README.tulipclone
48
49# rtc
50if LIBCHIP
51include_libchip_HEADERS += rtc/rtc.h rtc/icm7170.h rtc/m48t08.h \
52    rtc/mc146818a.h
53
54noinst_LIBRARIES += librtcio.a
55librtcio_a_CPPFLAGS = $(AM_CPPFLAGS)
56librtcio_a_SOURCES = rtc/rtcprobe.c rtc/icm7170.c rtc/icm7170_reg.c \
57    rtc/icm7170_reg2.c rtc/icm7170_reg4.c rtc/icm7170_reg8.c rtc/m48t08.c \
58    rtc/m48t08_reg.c rtc/m48t08_reg2.c rtc/m48t08_reg4.c rtc/m48t08_reg8.c \
59    rtc/mc146818a.c rtc/mc146818a_ioreg.c
60endif
61
62EXTRA_DIST += rtc/README.ds1643 rtc/README.icm7170 rtc/README.m48t08 \
63    rtc/README.m48t18 rtc/STATUS
64
65# i2c
66if LIBCHIP
67include_libchip_HEADERS += i2c/i2c-ds1621.h i2c/i2c-2b-eeprom.h \
68                           i2c/spi-flash-m25p40.h
69
70noinst_LIBRARIES += libi2cio.a
71libi2cio_a_CPPFLAGS = $(AM_CPPFLAGS)
72libi2cio_a_SOURCES  = i2c/i2c-ds1621.c i2c/i2c-2b-eeprom.c \
73    i2c/i2c-ds1621.h i2c/i2c-2b-eeprom.h \
74    i2c/spi-flash-m25p40.c i2c/spi-flash-m25p40.h
75endif
76
77# serial
78if LIBCHIP
79include_libchip_HEADERS += serial/mc68681.h serial/ns16550.h serial/z85c30.h \
80    serial/serial.h serial/sersupp.h
81
82noinst_LIBRARIES += libserialio.a
83libserialio_a_CPPFLAGS = $(AM_CPPFLAGS)
84libserialio_a_SOURCES = serial/mc68681.c serial/mc68681_baud.c \
85    serial/mc68681_reg.c serial/mc68681_reg2.c serial/mc68681_reg4.c \
86    serial/mc68681_reg8.c serial/ns16550.c serial/z85c30.c \
87    serial/z85c30_reg.c serial/serprobe.c serial/termios_baud2index.c \
88    serial/termios_baud2num.c serial/mc68681_p.h serial/ns16550_p.h \
89    serial/z85c30_p.h
90endif
91
92EXTRA_DIST += serial/README.mc68681 serial/README.ns16550 \
93    serial/README.xr88681 serial/README.z85c30 serial/STATUS
94
95## shmdr
96if HAS_MP
97include_HEADERS = shmdr/shm_driver.h shmdr/mpci.h
98
99project_lib_PROGRAMS = shmdr.rel
100shmdr_rel_SOURCES = shmdr/addlq.c shmdr/cnvpkt.c shmdr/getlq.c shmdr/dump.c \
101    shmdr/fatal.c shmdr/getpkt.c shmdr/init.c shmdr/initlq.c shmdr/intr.c \
102    shmdr/mpisr.c shmdr/poll.c shmdr/receive.c shmdr/retpkt.c shmdr/send.c \
103    shmdr/setckvec.c
104shmdr_rel_CPPFLAGS = $(AM_CPPFLAGS)
105shmdr_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
106endif
107
108EXTRA_DIST += shmdr/README
109
110## --
111
112include $(srcdir)/preinstall.am
113include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.