summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_psos_tm.GNU
blob: 42a00c54ec1f44941575de7a1c470c2a8f05c06e (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
# $Id$
# pSOS with Trimedia compiler

####
#### Notes: 
####
####   1) This file assumes that the PSS_ROOT environment variable is set.
####

TCS   	    = /net/neptune/neptune/n3/jin
#TCS        = /net/video/video/v0/dtv_stage1/TCS/SunOS
HOST        = tmsim
ENDIAN      = el

PSS_ROOT    = $(TCS)/OS/pSOS/pSOSystem
PSS_SYS_DIR	= $(PSS_ROOT)/sys/os
PSS_SYS_LIBS	= $(PSS_SYS_DIR)/psos_tm_$(ENDIAN).o 

PSOS_SYSTEM = $(TCS)/OS/pSOS/pSOSystem
PSOS_DEFS   = -DSC_PSOS=YES -DSC_PSOSM=NO -DSC_PNA=NO -D__sparc 
CC          = $(TCS)/bin/tmcc -$(ENDIAN)  -host $(HOST) $(PSOS_DEFS)
CXX         = $(TCS)/bin/tmCC -$(ENDIAN)  -host $(HOST) $(PSOS_DEFS)
CINCS       = -I. -I$(PSOS_SYSTEM)/include
#-I$(TCS)/include/$(HOST)
CFLAGS      = $(CINCS) 
CCFLAGS     = $(CINCS)

AR          = $(TCS)/bin/tmar
ARFLAGS     = rcv
LD          = $(TCS)/bin/tmld
LDFLAGS     = -bremoveunusedcode -bcompact -bfoldcode -ldev_g

RANLIB      = echo

# -w suppresses warnings 
# -H tells you which header files are being included 
# (switch between these)
#DCFLAGS         += -g
#DCFLAGS         += -g -H
#DCFLAGS         += -g -H -w
#DCFLAGS          += -g -w

LIBS            += $(PSS_SYS_LIBS)  

#INCLDIRS        += -I$(PSS_ROOT)/include -I$(PSS_BSP) -I$(ACE_ROOT)/ace