Rev 5709 | Blame | Compare with Previous | Last modification | View Log | RSS feed
################################################################################ COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.## File: TOOLSET/VERIX.def# Contents: VERIX rules as used for the Verix V SDK# Make definitions for the Verix Tools## Description:# This file provides Toolset definitions for the target makefiles# The file is dropped into the top of the generated platform specfic makefile################################################################################toolset = VERIXo = os = asma = aexe = .out.SUFFIXES: .asm## Ensure that the compiler can be found# Use the environment variables# GBE_VERIXV - Root of the VERIX Install# GBE_VERIXV_ARM - Root of the ARM install# GBE_VERIXV_SIGN - Root of the VeriShield File Signing Tool#ifndef GBE_VERIXVGBE_VERIXV := c:\VerixVApsexport GBE_VERIXVendififndef GBE_VERIXV_ARMGBE_VERIXV_ARM := C:/Program Files/ARMexport GBE_VERIXV_ARMendififndef GBE_VERIXV_SIGNGBE_VERIXV_SIGN := C:/Program Files/VeriShield File Signing Toolexport GBE_VERIXV_SIGNendif.PHONY: VERIXverix:@if [ -z "$$GBE_VERIXV" ]; then echo "GBE_VERIXV env var not set"; exit 2; fi; \if [ -z "$$GBE_VERIXV_ARM" ]; then echo "GBE_VERIXV_ARM env var not set"; exit 2; fi; \if [ -z "$$GBE_VERIXV_SIGN" ]; then echo "GBE_VERIXV_SIGN env var not set"; exit 2; fi; \if [ ! -d "$$GBE_VERIXV" ]; then echo "ERROR: GBE_VERIXV directory not found ($$GBE_VERIXV). Compiler not available"; exit 2; fi; \if [ ! -d "$$GBE_VERIXV_ARM" ]; then echo "ERROR: GBE_VERIXV_ARM directory not found ($$GBE_VERIXV_ARM). Compiler not available"; exit 2; fi; \if [ ! -d "$$GBE_VERIXV_SIGN" ]; then echo "ERROR: GBE_VERIXV_SIGN directory not found ($$GBE_VERIXV_SIGN). FileSign Tool not available"; exit 2; fi; \echo "[Toolset Verifone VERIX]";VERIX := $(subst \,/,$(strip $(GBE_VERIXV)))VERIXV_ARM := $(subst \,/,$(strip $(GBE_VERIXV_ARM)))VERIXV_SIGN := $(subst \,/,$(strip $(GBE_VERIXV_SIGN)))## Extend the PATH used by the toolset#VX_PATH:= $(VERIX)/vfsdk/binVX_PATH:= $(VX_PATH);$(VERIXV_ARM)/RVD/Core/1.7/283/win_32-pentium/binVX_PATH:= $(VX_PATH);$(VERIXV_ARM)/Utilities/FLEXlm/9.2/release/win_32-pentiumVX_PATH:= $(VX_PATH);$(VERIXV_ARM)/bin/win_32-pentiumVX_PATH:= $(VX_PATH);$(VERIXV_ARM)/RVCT/Programs/2.0.1/277/win_32-pentiumifeq "$(findstring $(VX_PATH),$(PATH))" ""PATH := $(VX_PATH);$(PATH)endifPath := $(PATH)export PATH## Define compiler specific include and library directories#VERIX_INCLUDE := $(VERIX)/vfsdk/includeVERIX_INCLUDE := $(VERIX_INCLUDE) $(VERIX)/ACT2000/includeVERIX_LIB := $(VERIX)/ACT2000/output/rv/files/Static/Debug## Define the compiler specfic names and paths for the various tools#VERIX_compiler := $(VERIX)/vfsdk/bin/vrxccVERIX_linker := $(VERIX)/vfsdk/bin/vrxccVERIX_hdr := $(VERIX)/vfsdk/bin/vrxhdrARM_ar := $(VERIXV_ARM)/RVCT/Programs/2.0.1/277/win_32-pentium/armarVERIX_FileSignature := $(VERIXV_SIGN)/FileSignature## Setup the LM_LICENSE_FILE# Not used for network license#LM_LICENSE_FILE := $(VERIXV_ARM)/License/license.datexport LM_LICENSE_FILE#