[30abd24] | 1 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
| 2 | |
---|
| 3 | include $(top_srcdir)/../../../automake/compile.am |
---|
| 4 | |
---|
| 5 | EXTRA_DIST = |
---|
| 6 | |
---|
| 7 | noinst_PROGRAMS = |
---|
| 8 | |
---|
[cb4c90b2] | 9 | include_bspdir = $(includedir)/bsp |
---|
[30abd24] | 10 | include_libcpudir = $(includedir)/libcpu |
---|
[cb4c90b2] | 11 | |
---|
| 12 | include_bsp_HEADERS = |
---|
[30abd24] | 13 | include_libcpu_HEADERS = |
---|
| 14 | |
---|
[cb4c90b2] | 15 | |
---|
| 16 | ############ |
---|
| 17 | # Start of bf52x files |
---|
| 18 | if bf52x |
---|
| 19 | |
---|
| 20 | include_HEADERS = bf52x/include/bf52x.h |
---|
| 21 | |
---|
| 22 | ## INTERRUPT |
---|
| 23 | include_bsp_HEADERS += bf52x/interrupt/interrupt.h |
---|
| 24 | noinst_PROGRAMS += bf52x/interrupt.rel |
---|
| 25 | bf52x_interrupt_rel_SOURCES = bf52x/interrupt/interrupt.c \ |
---|
| 26 | bf52x/interrupt/interrupt.h |
---|
| 27 | bf52x_interrupt_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 28 | bf52x_interrupt_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 29 | |
---|
| 30 | endif |
---|
| 31 | # endof bf52x |
---|
| 32 | ############ |
---|
| 33 | |
---|
[30abd24] | 34 | include_libcpu_HEADERS += include/bf533.h |
---|
| 35 | include_libcpu_HEADERS += include/bf537.h |
---|
| 36 | include_libcpu_HEADERS += include/cecRegs.h |
---|
| 37 | include_libcpu_HEADERS += include/memoryRegs.h |
---|
| 38 | include_libcpu_HEADERS += include/mmuRegs.h |
---|
| 39 | include_libcpu_HEADERS += include/sicRegs.h |
---|
| 40 | include_libcpu_HEADERS += include/ebiuRegs.h |
---|
| 41 | include_libcpu_HEADERS += include/ppiRegs.h |
---|
| 42 | include_libcpu_HEADERS += include/coreTimerRegs.h |
---|
| 43 | include_libcpu_HEADERS += include/wdogRegs.h |
---|
| 44 | include_libcpu_HEADERS += include/timerRegs.h |
---|
| 45 | include_libcpu_HEADERS += include/dmaRegs.h |
---|
| 46 | include_libcpu_HEADERS += include/ethernetRegs.h |
---|
| 47 | include_libcpu_HEADERS += include/uartRegs.h |
---|
| 48 | include_libcpu_HEADERS += include/sportRegs.h |
---|
| 49 | include_libcpu_HEADERS += include/twiRegs.h |
---|
| 50 | include_libcpu_HEADERS += include/spiRegs.h |
---|
| 51 | include_libcpu_HEADERS += include/rtcRegs.h |
---|
| 52 | include_libcpu_HEADERS += include/gpioRegs.h |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | include_libcpu_HEADERS += ../shared/include/cache.h |
---|
| 56 | noinst_PROGRAMS += cache.rel |
---|
| 57 | cache_rel_SOURCES = cache/cache.c ../shared/src/cache_aligned_malloc.c \ |
---|
| 58 | ../shared/src/cache_manager.c cache/cache_.h |
---|
| 59 | cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/cache |
---|
| 60 | cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 61 | |
---|
| 62 | include_libcpu_HEADERS += mmu/mmu.h |
---|
| 63 | noinst_PROGRAMS += mmu.rel |
---|
| 64 | mmu_rel_SOURCES = mmu/mmu.c |
---|
| 65 | mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 66 | mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 67 | |
---|
[cb4c90b2] | 68 | if bf52x |
---|
| 69 | |
---|
| 70 | else |
---|
[30abd24] | 71 | include_libcpu_HEADERS += interrupt/interrupt.h |
---|
| 72 | noinst_PROGRAMS += interrupt.rel |
---|
| 73 | interrupt_rel_SOURCES = interrupt/interrupt.c |
---|
| 74 | interrupt_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 75 | interrupt_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 76 | |
---|
[cb4c90b2] | 77 | endif |
---|
| 78 | |
---|
[30abd24] | 79 | noinst_PROGRAMS += clock.rel |
---|
| 80 | clock_rel_SOURCES = clock/clock.c |
---|
| 81 | clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 82 | clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 83 | |
---|
| 84 | noinst_PROGRAMS += rtc.rel |
---|
[23242172] | 85 | rtc_rel_SOURCES = clock/rtc.c clock/rtc.h |
---|
[30abd24] | 86 | rtc_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 87 | rtc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 88 | |
---|
| 89 | include_libcpu_HEADERS += serial/uart.h |
---|
| 90 | noinst_PROGRAMS += uart.rel |
---|
| 91 | uart_rel_SOURCES = serial/uart.c |
---|
| 92 | uart_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 93 | uart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 94 | |
---|
| 95 | include_libcpu_HEADERS += serial/sport.h |
---|
| 96 | noinst_PROGRAMS += sport.rel |
---|
| 97 | sport_rel_SOURCES = serial/sport.c |
---|
| 98 | sport_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 99 | sport_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 100 | |
---|
| 101 | include_libcpu_HEADERS += serial/spi.h |
---|
| 102 | noinst_PROGRAMS += spi.rel |
---|
| 103 | spi_rel_SOURCES = serial/spi.c |
---|
| 104 | spi_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 105 | spi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 106 | |
---|
| 107 | include_libcpu_HEADERS += serial/twi.h |
---|
| 108 | noinst_PROGRAMS += twi.rel |
---|
| 109 | twi_rel_SOURCES = serial/twi.c |
---|
| 110 | twi_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 111 | twi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 112 | |
---|
| 113 | noinst_PROGRAMS += timer.rel |
---|
| 114 | timer_rel_SOURCES = timer/timer.c |
---|
| 115 | timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 116 | timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 117 | |
---|
| 118 | if HAS_NETWORKING |
---|
| 119 | ## network |
---|
| 120 | include_libcpu_HEADERS += network/ethernet.h |
---|
| 121 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
| 122 | noinst_PROGRAMS += network.rel |
---|
| 123 | network_rel_SOURCES = network/ethernet.c |
---|
| 124 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
| 125 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 126 | endif |
---|
| 127 | |
---|
| 128 | include $(srcdir)/preinstall.am |
---|
| 129 | include $(top_srcdir)/../../../automake/local.am |
---|