blob: 4aa5055180537ea61d3095cf0ead49cf7221d892 [file] [log] [blame]
yaberauneyaef772532009-10-09 17:55:43 +00001#
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 Cooper8967f962017-02-13 22:06:24 -080020# Ngie Cooper, September 2009
yaberauneyaef772532009-10-09 17:55:43 +000021#
subrata_modakd104a942008-03-24 09:13:49 +000022
23
subrata_modakd104a942008-03-24 09:13:49 +000024# Default stuff common to all testcases
subrata_modak30b7df22008-03-24 10:05:35 +000025
Garrett Cooper3885aa82010-11-01 23:30:09 -070026realtime_reldir := testcases/realtime
27
28realtime_builddir := $(abs_top_builddir)/$(realtime_reldir)
29realtime_srcdir := $(abs_top_srcdir)/$(realtime_reldir)
yaberauneya5ac23b12009-10-25 10:33:31 +000030
31CPPFLAGS += -I$(realtime_srcdir)/include
Garrett Cooper21e14b72011-05-04 09:52:35 -070032CPPFLAGS += -I$(realtime_builddir)/include
yaberauneya5ac23b12009-10-25 10:33:31 +000033CFLAGS += -D_GNU_SOURCE
34LDLIBS += -lrealtime -lpthread -lrt -lm
35LDFLAGS += -L$(realtime_builddir)/lib
Garrett Cooper3885aa82010-11-01 23:30:09 -070036
37INSTALL_DIR := $(srcdir)