summaryrefslogtreecommitdiffstats
path: root/src/occ/rtls/test/Makefile
blob: 4bd495fac8a3099f18587f3120d6a1addc47fb19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# $Id$

#  @file Makefile
#
#  @brief Makefile occ application
#

#  @page ChangeLogs Change Logs
#  @section Makefile
#  @verbatim
#
#
# Change Log ******************************************************************
# Flag     Defect/Feature  User        Date         Description
# ------   --------------  ----------  ------------ -----------
#                          np, dw      08/10/2011   created by nguyenp & dwoodham
#                                                   borrowed from occ/thread/test/app.mk
#  @dw000                  dwoodham    12/13/2011   compile with applet header & ID
#  @rc003                  rickylie    02/03/2012   Verify & Clean Up OCC Headers & Comments
#
# @endverbatim
#
# Note: This compiles the _local_ test copy of rtls_tables.c, _NOT_ the production copy.

rtlstest_CFILES = \
        ../../common.c \
        ../../errl/errl.c \
        ../rtls.c \
        rtls_tables.c \
        main.c

all_cfiles = ${rtlstest_CFILES}

APP           =  rtlstest
APP_INCLUDES += -I../../../ssx
APP_INCLUDES += -I../../../lib 
APP_INCLUDES += -I../../incl 
APP_INCLUDES += -I../../trac 
APP_INCLUDES += -I../../errl
APP_INCLUDES += -I../../thread
APP_INCLUDES += -I../../rtls
APP_INCLUDES += -I../../aplt/incl
APP_INCLUDES += -I. 

D = -DOCC_FIRMWARE=1

#D = -DVERIFICATION=1 \
    -DSSX_STACK_CHECK=0 \
    -DINITIALIZE_PMC=0 \
    -DINITIALIZE_SIMICS_IO=0 \
    -DINITIALIZE_RTX_IO=1 \
    -DINITIALIZE_PBA=1 \
    -DSIMICS_MAGIC_PANIC=1 \
    -DSSX_KERNEL_TRACE_ENABLE=1


SOURCES = ${all_cfiles} 
MODE    = validation

PGP_ASYNC_SUPPORT = 1

include ./app.mk

pgas: 
	 $(CC) $(CFLAGS) -c -Wa,-al -Wa,--listing-cont-lines='10'
OpenPOWER on IntegriCloud