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