yaberauneya | ef77253 | 2009-10-09 17:55:43 +0000 | [diff] [blame] | 1 | # |
| 2 | # Default include definitions for realtime test suite Makefile. |
| 3 | # |
| 4 | # Copyright (C) 2009, Cisco Systems Inc. |
| 5 | # |
| 6 | # This program is free software; you can redistribute it and/or modify |
| 7 | # it under the terms of the GNU General Public License as published by |
| 8 | # the Free Software Foundation; either version 2 of the License, or |
| 9 | # (at your option) any later version. |
| 10 | # |
| 11 | # This program is distributed in the hope that it will be useful, |
| 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | # GNU General Public License for more details. |
| 15 | # |
| 16 | # You should have received a copy of the GNU General Public License along |
| 17 | # with this program; if not, write to the Free Software Foundation, Inc., |
| 18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 19 | # |
Ngie Cooper | 8967f96 | 2017-02-13 22:06:24 -0800 | [diff] [blame] | 20 | # Ngie Cooper, September 2009 |
yaberauneya | ef77253 | 2009-10-09 17:55:43 +0000 | [diff] [blame] | 21 | # |
subrata_modak | d104a94 | 2008-03-24 09:13:49 +0000 | [diff] [blame] | 22 | |
| 23 | |
subrata_modak | d104a94 | 2008-03-24 09:13:49 +0000 | [diff] [blame] | 24 | # Default stuff common to all testcases |
subrata_modak | 30b7df2 | 2008-03-24 10:05:35 +0000 | [diff] [blame] | 25 | |
Garrett Cooper | 3885aa8 | 2010-11-01 23:30:09 -0700 | [diff] [blame] | 26 | realtime_reldir := testcases/realtime |
| 27 | |
| 28 | realtime_builddir := $(abs_top_builddir)/$(realtime_reldir) |
| 29 | realtime_srcdir := $(abs_top_srcdir)/$(realtime_reldir) |
yaberauneya | 5ac23b1 | 2009-10-25 10:33:31 +0000 | [diff] [blame] | 30 | |
| 31 | CPPFLAGS += -I$(realtime_srcdir)/include |
Garrett Cooper | 21e14b7 | 2011-05-04 09:52:35 -0700 | [diff] [blame] | 32 | CPPFLAGS += -I$(realtime_builddir)/include |
yaberauneya | 5ac23b1 | 2009-10-25 10:33:31 +0000 | [diff] [blame] | 33 | CFLAGS += -D_GNU_SOURCE |
| 34 | LDLIBS += -lrealtime -lpthread -lrt -lm |
| 35 | LDFLAGS += -L$(realtime_builddir)/lib |
Garrett Cooper | 3885aa8 | 2010-11-01 23:30:09 -0700 | [diff] [blame] | 36 | |
| 37 | INSTALL_DIR := $(srcdir) |