[df49c60] | 1 | ## |
---|
[5fa14794] | 2 | ## $Id$ |
---|
[df49c60] | 3 | ## |
---|
[5fa14794] | 4 | |
---|
[fe8bc62f] | 5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
[5fa14794] | 6 | |
---|
[b3c7b2d8] | 7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
| 8 | include $(top_srcdir)/../../bsp.am |
---|
| 9 | |
---|
[2a7f9a28] | 10 | dist_project_lib_DATA = bsp_specs |
---|
| 11 | |
---|
| 12 | include_HEADERS = include/bsp.h |
---|
[3defec6] | 13 | include_HEADERS += include/tm27.h |
---|
[4cbf22a] | 14 | |
---|
[2a7f9a28] | 15 | nodist_include_HEADERS = include/bspopts.h |
---|
[4cbf22a] | 16 | DISTCLEANFILES = include/bspopts.h |
---|
[2a7f9a28] | 17 | |
---|
[4cbf22a] | 18 | noinst_PROGRAMS = |
---|
[5fa14794] | 19 | |
---|
[d1b210cd] | 20 | include_HEADERS += include/coverhd.h |
---|
| 21 | |
---|
[8d62d94a] | 22 | include_bspdir = $(includedir)/bsp |
---|
| 23 | include_bsp_HEADERS = ../../i386/shared/irq/irq.h \ |
---|
| 24 | ../../i386/shared/irq/irq_asm.h |
---|
| 25 | |
---|
[b3c7b2d8] | 26 | noinst_HEADERS = start/80386ex.h start/80386ex.inc start/macros.inc |
---|
[5b47c7f] | 27 | EXTRA_DIST = start/start.S |
---|
[4cbf22a] | 28 | start.$(OBJEXT): start/start.S |
---|
[57357d9] | 29 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[b3c7b2d8] | 30 | |
---|
[4cbf22a] | 31 | project_lib_DATA = start.$(OBJEXT) |
---|
[5b47c7f] | 32 | dist_project_lib_DATA += startup/linkcmds |
---|
| 33 | |
---|
[8d62d94a] | 34 | include_HEADERS += ../../i386/shared/comm/uart.h |
---|
[1d0ee80e] | 35 | startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
[76ba5f2] | 36 | ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \ |
---|
[3a261b9b] | 37 | ../../shared/bspgetworkarea.c ../../shared/bsppost.c startup/bspstart.c \ |
---|
| 38 | ../../shared/bootcard.c ../../shared/sbrk.c ../../i386/shared/irq/idt.c \ |
---|
[341c592f] | 39 | ../../i386/shared/irq/irq.c ../../i386/shared/irq/irq_init.c \ |
---|
| 40 | ../../i386/shared/comm/i386-stub.c \ |
---|
| 41 | ../../i386/shared/comm/i386-stub-glue.c ../../i386/shared/comm/uart.c \ |
---|
| 42 | ../../shared/gnatinstallhandler.c ../../i386/shared/comm/gdb_glue.c \ |
---|
| 43 | ../../i386/shared/comm/tty_drv.c ../../i386/shared/irq/irq_asm.S |
---|
[1d0ee80e] | 44 | clock_SOURCES = clock/ckinit.c |
---|
| 45 | console_SOURCES = console/console.c |
---|
[7a9c410] | 46 | include_HEADERS += ../../i386/shared/pci/pcibios.h |
---|
[1d0ee80e] | 47 | pci_SOURCES = ../../i386/shared/pci/pcibios.c \ |
---|
[7a9c410] | 48 | ../../i386/shared/pci/pcibios.h |
---|
[1d0ee80e] | 49 | timer_SOURCES = timer/timer.c timer/timerisr.S |
---|
[5b47c7f] | 50 | |
---|
| 51 | if HAS_NETWORKING |
---|
[5c36c47] | 52 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D_KERNEL |
---|
[4cbf22a] | 53 | noinst_PROGRAMS += network.rel |
---|
[5b47c7f] | 54 | network_rel_SOURCES = network/netexterns.h network/network.c \ |
---|
| 55 | network/uti596.h |
---|
[9d83387b] | 56 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
[5b47c7f] | 57 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 58 | endif |
---|
| 59 | |
---|
[4cbf22a] | 60 | noinst_LIBRARIES = libbsp.a |
---|
[1d0ee80e] | 61 | libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \ |
---|
| 62 | $(pci_SOURCES) $(timer_SOURCES) |
---|
| 63 | |
---|
| 64 | libbsp_a_LIBADD = \ |
---|
| 65 | ../../../libcpu/@RTEMS_CPU@/cache.rel \ |
---|
| 66 | ../../../libcpu/@RTEMS_CPU@/score.rel |
---|
[5b47c7f] | 67 | if HAS_NETWORKING |
---|
[4cbf22a] | 68 | libbsp_a_LIBADD += network.rel |
---|
[5b47c7f] | 69 | endif |
---|
[b3c7b2d8] | 70 | |
---|
[5c7f274] | 71 | include $(srcdir)/preinstall.am |
---|
[88daa3d] | 72 | include $(top_srcdir)/../../../../automake/local.am |
---|