summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_vxworks5.x_ghs.GNU
blob: 52144e92f4732f959669b86dc798260f30dd1439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# VxWorks 5.2 with Green Hills 1.8.8
# *not* using Orbix
CC		= cxvxppc
CXX		= $(CC)
CCFLAGS		+= --no_rtti -D__ACE_INLINE__
DLD		= $(CXX) 
LD		= $(CXX)
LIBS            += /appl/newgreen/vxppc603/indlib.o
PIC		=
AR		= ax 
ARFLAGS		= rv
RANLIB		= /bin/true 
PRELIB	= (echo "int main() { return 0; }" > gcctemp.c && \
	  $(COMPILE.cc) -o gcctemp.o gcctemp.c && \
	  $(CXX) $(INCLDIRS) $^ $(LDFLAGS) $(LIBS); \
	  status=$$?; rm -f gcctemp.c a.out*; exit $$status)

#### don't build shared objects:
BUILD           = $(VOBJS) $(VLIB) $(VBIN)