fba9d47c1c60e813dc492c588957bef2475736ba
[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, 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
26 librtos_la_SOURCES = rtos.c rtos_standard_stackings.c rtos_ecos_stackings.c FreeRTOS.c ThreadX.c eCos.c
27
28
29 librtos_la_CFLAGS =
30 if IS_MINGW
31 # FD_* macros are sloppy with their signs on MinGW32 platform
32 librtos_la_CFLAGS += -Wno-sign-compare
33 endif
34
35 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in