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

4.104.114.84.95
Last change on this file since d81d057 was 6a00184, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 16, 2007 at 1:51:33 AM

2007-02-16 Ralf Corsépius <ralf.corsepius@…>

  • libchip/Makefile.am: Correct path to README.tulipclone.
  • Property mode set to 100644
File size: 3.4 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
69noinst_LIBRARIES += libi2cio.a
70libi2cio_a_CPPFLAGS = $(AM_CPPFLAGS)
71libi2cio_a_SOURCES  = i2c/i2c-ds1621.c i2c/i2c-2b-eeprom.c \
72    i2c/i2c-ds1621.h i2c/i2c-2b-eeprom.h
73endif
74
75# serial
76if LIBCHIP
77include_libchip_HEADERS += serial/mc68681.h serial/ns16550.h serial/z85c30.h \
78    serial/serial.h serial/sersupp.h
79
80noinst_LIBRARIES += libserialio.a
81libserialio_a_CPPFLAGS = $(AM_CPPFLAGS)
82libserialio_a_SOURCES = serial/mc68681.c serial/mc68681_baud.c \
83    serial/mc68681_reg.c serial/mc68681_reg2.c serial/mc68681_reg4.c \
84    serial/mc68681_reg8.c serial/ns16550.c serial/z85c30.c \
85    serial/z85c30_reg.c serial/serprobe.c serial/termios_baud2index.c \
86    serial/termios_baud2num.c serial/mc68681_p.h serial/ns16550_p.h \
87    serial/z85c30_p.h
88endif
89
90EXTRA_DIST += serial/README.mc68681 serial/README.ns16550 \
91    serial/README.xr88681 serial/README.z85c30 serial/STATUS
92
93## shmdr
94if HAS_MP
95include_HEADERS = shmdr/shm_driver.h shmdr/mpci.h
96
97project_lib_PROGRAMS = shmdr.rel
98shmdr_rel_SOURCES = shmdr/addlq.c shmdr/cnvpkt.c shmdr/getlq.c shmdr/dump.c \
99    shmdr/fatal.c shmdr/getpkt.c shmdr/init.c shmdr/initlq.c shmdr/intr.c \
100    shmdr/mpisr.c shmdr/poll.c shmdr/receive.c shmdr/retpkt.c shmdr/send.c \
101    shmdr/setckvec.c
102shmdr_rel_CPPFLAGS = $(AM_CPPFLAGS)
103shmdr_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
104endif
105
106EXTRA_DIST += shmdr/README
107
108## --
109
110include $(srcdir)/preinstall.am
111include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.