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

4.104.114.84.9
Last change on this file since fc1a3ba was fc1a3ba, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 12, 2006 at 10:12:31 AM

Remove all-local:.

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