source: sources/test_regression/env.mk @ 58

Last change on this file since 58 was 56, checked in by meunier, 11 years ago
  • Tried to fix a problem with echo
  • Started to resolve some tests failing (often because of the test itself)
File size: 1.3 KB
RevLine 
[1]1
[55]2
[56]3TARGET_ARCH = linux64
[55]4
[1]5ifeq (${TARGET_ARCH},Darwin)
6DYNAMICLIB_FLAG = -dynamic
7ENDIANESS_FLAG  = #-mlittle-endian
8else
9DYNAMICLIB_FLAG = -rdynamic
10ENDIANESS_FLAG  = 
11endif
12ifndef SYSTEMC
13$(error SYSTEMC should be set to SystemC directory (OSCI version) \
14to compare simulation results.)
15endif
16
17SYSTEMC_INC     = $(SYSTEMC)/include
18SYSTEMCASS_INC  = $(SYSTEMCASS)/include
[49]19SYSTEMC_LIB     = $(SYSTEMC)/lib-${TARGET_ARCH}/libsystemc.a
[27]20SYSTEMCASS_LIB  = $(SYSTEMCASS)/lib-linux/libsystemc.a
[55]21CXX             = g++
22CPPFILT         = c++filt
[1]23DEBUG           = -g -DDEBUG
24#OPT             = -O2
[55]25#PROF            = -pg # gcc
26#PROF            = -qp # icc
27#EFENCE          = /users/cao/viaud/bin/lib/libefence.a -lpthread
28CFLAGS = $(PROF) $(DEBUG) $(OPT) \
[13]29              -Wall \
[41]30              -fopenmp \
[55]31              -UENABLE_TRACE -UENABLE_PAT -I. -I.. \
[1]32              ${ENDIANESS_FLAG}
33
[55]34LFLAGS = $(PROF) $(BFD_LIBERTY) -ldl -fopenmp
[1]35
36CFLAGS_SYSTEMC    = $(CFLAGS) \
37                    -I$(SYSTEMC_INC) \
38
39CFLAGS_SYSTEMCASS = $(CFLAGS) \
40                    -I$(SYSTEMCASS_INC) \
41                    ${DYNAMICLIB_FLAG} #-Wno-deprecated
42
43LFLAGS_SYSTEMC    = $(LFLAGS) \
44                    $(SYSTEMC_LIB)
45
46LFLAGS_SYSTEMCASS = $(LFLAGS) \
47                    ${DYNAMICLIB_FLAG} $(SYSTEMCASS_LIB) ${EFENCE}
48
[56]49ECHO = /bin/echo
50SILENCE = @
[55]51
Note: See TracBrowser for help on using the repository browser.