source: rtems/c/src/libchip/Makefile.am @ 9d8ad28

4.104.114.84.9
Last change on this file since 9d8ad28 was 9d8ad28, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 9, 2006 at 3:41:42 PM

2006-01-09 Ralf Corsepius <ralf.corsepius@…>

  • libchip/network/smc91111.c libchip/network/smc91111config.h libchip/network/smc91111exp.h libchip/network/smc91111.h: New. Merger from rtems-4-6-branch.
  • libchip/Makefile.am: Reflect adding smc91111*.
  • Property mode set to 100644
File size: 3.4 KB
Line 
1##
2##  $Id$
3##
4
5include $(top_srcdir)/automake/compile.am
6
7CLEANFILES =
8DISTCLEANFILES =
9
10if LIBCHIP
11include_libchipdir = $(includedir)/libchip
12include_libchip_HEADERS =
13endif
14
15EXTRA_DIST =
16noinst_LIBRARIES =
17noinst_PROGRAMS =
18
19# ide
20if LIBCHIP
21include_libchip_HEADERS += ide/ata.h ide/ide_ctrl_cfg.h ide/ide_ctrl.h \
22    ide/ide_ctrl_io.h
23
24noinst_LIBRARIES += libide.a
25libide_a_SOURCES = ide/ata.c ide/ide_controller.c ide/ata_internal.h
26libide_a_CPPFLAGS = $(AM_CPPFLAGS)
27endif
28
29# network
30if LIBCHIP
31if HAS_NETWORKING
32noinst_LIBRARIES += libnetchip.a
33libnetchip_a_CPPFLAGS = $(AM_CPPFLAGS)
34libnetchip_a_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
35include_libchip_HEADERS += network/cs8900.h network/i82586var.h \
36    network/if_fxpvar.h network/sonic.h
37include_libchip_HEADERS += network/open_eth.h network/if_dcreg.h
38libnetchip_a_SOURCES = network/cs8900.c network/dec21140.c network/i82586.c \
39    network/sonic.c network/if_fxp.c network/elnk.c network/open_eth.c \
40    network/if_dc.c
41# FIXME: These don't compile
42include_libchip_HEADERS += network/smc91111.h network/smc91111exp.h
43# libnetchip_a_SOURCES += network/smc91111.c network/smc91111config.h
44endif
45endif
46
47EXTRA_DIST += network/README network/README.cs8900 network/README.dec21140 \
48    network/README.i82586 network/README.open_eth network/README.sonic \
49    network/cs8900.c.bsp README.tulipclone
50
51# rtc
52if LIBCHIP
53include_libchip_HEADERS += rtc/rtc.h rtc/icm7170.h rtc/m48t08.h \
54    rtc/mc146818a.h
55
56noinst_LIBRARIES += librtcio.a
57librtcio_a_CPPFLAGS = $(AM_CPPFLAGS)
58librtcio_a_SOURCES = rtc/rtcprobe.c rtc/icm7170.c rtc/icm7170_reg.c \
59    rtc/icm7170_reg2.c rtc/icm7170_reg4.c rtc/icm7170_reg8.c rtc/m48t08.c \
60    rtc/m48t08_reg.c rtc/m48t08_reg2.c rtc/m48t08_reg4.c rtc/m48t08_reg8.c \
61    rtc/mc146818a.c rtc/mc146818a_ioreg.c
62endif
63
64EXTRA_DIST += rtc/README.ds1643 rtc/README.icm7170 rtc/README.m48t08 \
65    rtc/README.m48t18 rtc/STATUS
66
67# i2c
68if LIBCHIP
69include_libchip_HEADERS += i2c/i2c-ds1621.h i2c/i2c-2b-eeprom.h
70
71noinst_LIBRARIES += libi2cio.a
72libi2cio_a_CPPFLAGS = $(AM_CPPFLAGS)
73libi2cio_a_SOURCES  = i2c/i2c-ds1621.c i2c/i2c-2b-eeprom.c \
74    i2c/i2c-ds1621.h i2c/i2c-2b-eeprom.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
112all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
113
114include $(srcdir)/preinstall.am
115
116include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.