a9122b262c5ae9daabb956ac87deb9726f6f5401
[openocd.git] / 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, see <http://www.gnu.org/licenses/>. *
17 # ***************************************************************************
18
19 include $(top_srcdir)/common.mk
20
21 METASOURCES = AUTO
22 noinst_LTLIBRARIES = librtos.la
23 noinst_HEADERS = rtos.h rtos_standard_stackings.h rtos_ecos_stackings.h linux_header.h rtos_chibios_stackings.h rtos_embkernel_stackings.h rtos_mqx_stackings.h rtos_ucos_iii_stackings.h
24 librtos_la_SOURCES = rtos.c rtos_standard_stackings.c rtos_ecos_stackings.c  rtos_chibios_stackings.c rtos_embkernel_stackings.c rtos_mqx_stackings.c rtos_ucos_iii_stackings.c FreeRTOS.c ThreadX.c eCos.c linux.c ChibiOS.c embKernel.c mqx.c uCOS-III.c
25
26 librtos_la_CFLAGS =
27 if IS_MINGW
28 # FD_* macros are sloppy with their signs on MinGW32 platform
29 librtos_la_CFLAGS += -Wno-sign-compare
30 endif
31
32 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in