############################################################################# # INTERPEAK DMAKE MAKEFILE # # Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmacsec.mk,v $ $Revision: 1.4.12.1 $ # $Source: /home/interpeak/CVSRoot/ipmacsec/gmake/ipmacsec.mk,v $ # $Author: myakan $ # $State: Exp $ $Locker: $ # ############################################################################# ifeq ($(IPPORT),vxworks) include $(TGT_DIR)/h/make/defs.library endif ############################################################################# # PRODUCT ########################################################################### IPPROD ?= ipmacsec ############################################################################# # DEFINE ############################################################################# IPDEFINE += -DIPMACSEC ############################################################################# # INCLUDE ############################################################################# IPINCLUDE += -I$(IPMACSEC_ROOT)/config IPINCLUDE += -I$(IPMACSEC_ROOT)/include ############################################################################# # OBJECTS ############################################################################# # Configuration ifneq ($(IPPORT),las) IPLIBOBJECTS_C += ipmacsec_config.o endif # Main IPLIBOBJECTS += ipmacsec.o IPLIBOBJECTS += ipmacsec_ioctl.o IPLIBOBJECTS += ipmacsec_lmi.o IPLIBOBJECTS += ipmacsec_crypto_if.o IPLIBOBJECTS += ipmacsec_secy_mgmt.o IPLIBOBJECTS += ipmacsec_netlink.o IPLIBOBJECTS += ipmacsec_cmd.o ifeq ($(_WRS_CONFIG_IPMACSEC_DEBUG),y) IPLIBOBJECTS += ipmacsec_debug.o else ifeq ($(IPPORT),unix) IPLIBOBJECTS += ipmacsec_debug.o endif endif # Compiles the xxx_config.o if the $SKIP_CONFIG macro is either not defined # or set to anything other than true. ifneq ($(SKIP_CONFIG),true) IPLIBOBJECTS += $(IPLIBOBJECTS_C) endif ############################################################################# # VPATH ############################################################################# # object root IPSRCDIRS += $(IPMACSEC_ROOT)/src $(IPMACSEC_ROOT)/config ############################################################################# # LIB ############################################################################# IPLIBS += $(IPLIBROOT)/libipmacsec.a ############################################################################# # BINARIES ############################################################################# ifeq ($(IPPORT),las) #error not supported endif ############################################################################# # END OF IPMACSEC.MK #############################################################################