source: rtems/c/src/libchip/Makefile.am @ 77c5415c

4.104.114.84.9
Last change on this file since 77c5415c was 77c5415c, checked in by Ralf Corsepius <ralf.corsepius@…>, on May 11, 2005 at 12:36:11 PM

Include preinstall.am.

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