# Makefile - makefile for WDB agent proxy # # Copyright (c) 2005, 2008, 2011, 2012 Wind River Systems, Inc. # # The right to copy, distribute, modify or otherwise make use # of this software may be licensed only pursuant to the terms # of an applicable Wind River license agreement. # # modification history # -------------------- # 01e,25jan12,elp added serial backend and AMIO protocol. # 01d,24may11,rlp Added wrProxyTcpSockLib.o. # 01d,13apr11,rlp Temporary fix for WIND00266710. # 01c,22mar11,rlp Added proxy SSL support. # 01b,24jul08,dbt Added wrProxyMipcSockLib.o. # 01a,28apr05,dbt written # # DESCRIPTION # This file contains the makefile rules for building the WDB agent # proxy library. #*/ TGT_DIR=$(WIND_BASE)/target LIB_BASE_NAME = debug # Including defs.library to see if _WRS_CONFIG_COMPONENT_IPSSL is defined. # It must be after LIB_BASE_NAME include $(TGT_DIR)/h/make/defs.library DOC_FILES= wrProxySslLib.c MIPC_HDR_DIR= $(TGT_DIR)/h/multios_ipc MIPC_HDR_FILES= $(wildcard $(MIPC_HDR_DIR)/mipc.h) OBJS= wrProxyLib.o wrProxyBackendLib.o wrProxyUdpSockLib.o \ wrProxyTipcSockLib.o wrProxyTcpSockLib.o \ wrSerialLib.o wrProxySerialLib.o wrProxyAmioProtLib.o # If MIPC support is not installed; don't build MIPC backend. ifneq ($(MIPC_HDR_FILES),) OBJS += wrProxyMipcSockLib.o endif ifdef _WRS_CONFIG_COMPONENT_IPSSL OBJS += wrProxySslLib.o override ADDED_CFLAGS += -D_WRS_CONFIG_SSL EXTRA_INCLUDE += -I$(VSB_DIR)/3pp/openssl-3.5.0/include # wrProxySslLib.c needs ipnet header files, this is the way to reach them include $(WRVX_COMPBASE)/$(COMP_IPNET2)/osconfig/vxworks/make/defs.ipcom endif include $(TGT_DIR)/h/make/rules.library ifdef _WRS_CONFIG_COMPONENT_IPSSL include $(WRVX_COMPBASE)/$(COMP_IPNET2)/osconfig/vxworks/make/rules.ipcom endif