rtos: Add ChibiOS/RT support
[fw/openocd] / src / rtos / Makefile.am
1 # ***************************************************************************
2 # *   Copyright (C) 2011 by Broadcom Corporation                            *
3 # *   Evan Hunter - ehunter@broadcom.com                                    *
4 # *                                                                         *
5 # *   This program is free software; you can redistribute it and/or modify  *
6 # *   it under the terms of the GNU General Public License as published by  *
7 # *   the Free Software Foundation; either version 2 of the License, or     *
8 # *   (at your option) any later version.                                   *
9 # *                                                                         *
10 # *   This program is distributed in the hope that it will be useful,       *
11 # *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
12 # *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
13 # *   GNU General Public License for more details.                          *
14 # *                                                                         *
15 # *   You should have received a copy of the GNU General Public License     *
16 # *   along with this program; if not, write to the                         *
17 # *   Free Software Foundation, Inc.,                                       *
18 # *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19 # ***************************************************************************
20
21 include $(top_srcdir)/common.mk
22
23 METASOURCES = AUTO
24 noinst_LTLIBRARIES = librtos.la
25 noinst_HEADERS = rtos.h rtos_standard_stackings.h rtos_ecos_stackings.h linux_header.h rtos_chibios_stackings.h
26 librtos_la_SOURCES = rtos.c rtos_standard_stackings.c rtos_ecos_stackings.c rtos_chibios_stackings.c FreeRTOS.c ThreadX.c eCos.c linux.c ChibiOS.c
27
28 librtos_la_CFLAGS =
29 if IS_MINGW
30 # FD_* macros are sloppy with their signs on MinGW32 platform
31 librtos_la_CFLAGS += -Wno-sign-compare
32 endif
33
34 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in