original files of m241
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
IPTARGETS := lib
|
||||
|
||||
ifneq ($(IPMAKEFILE),)
|
||||
include $(IPMAKEFILE)
|
||||
else
|
||||
include $(IPCOM_ROOT)/Makefile
|
||||
endif
|
||||
|
||||
include ipptp.mk
|
||||
include $(IPCOM_ROOT)/gmake/ipcom_make.mk
|
||||
|
||||
lib: dirs $(IPLIBFILE)
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
#############################################################################
|
||||
# IPPTP.MK
|
||||
#
|
||||
# 25apr16,pdr backport Vx7 to Vx6.9
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
|
||||
#############################################################################
|
||||
# PRODUCT
|
||||
###########################################################################
|
||||
|
||||
IPPROD ?= ipptp
|
||||
|
||||
|
||||
#############################################################################
|
||||
# DEFINE
|
||||
###########################################################################
|
||||
|
||||
IPDEFINE += -DIPPTP
|
||||
#IPDEFINE += -DIPCRYPTO_USE_TYPE_MAPPING
|
||||
#IPDEFINE += -UHAVE_CONFIG_H
|
||||
|
||||
#IPLIBDEFINE += -DIPCRYPTO_USE_TYPE_MAPPING
|
||||
#IPLIBDEFINE += -std=c99
|
||||
|
||||
#############################################################################
|
||||
# INCLUDE
|
||||
###########################################################################
|
||||
|
||||
IPINCLUDE += -I$(IPPTP_ROOT)/config
|
||||
IPINCLUDE += -I$(IPPTP_ROOT)/include
|
||||
|
||||
IPLIBINCLUDE += -I$(IPPTP_ROOT)/src
|
||||
IPLIBINCLUDE += -I$(VXCOREIP_ROOT)/include
|
||||
|
||||
#############################################################################
|
||||
# OBJECTS
|
||||
###########################################################################
|
||||
|
||||
# config files
|
||||
IPLIBOBJECTS_C += ipptp_config_init.o
|
||||
IPLIBOBJECTS_C += ipptp_config.o
|
||||
IPLIBOBJECTS_C += ipptp_config_bclk1.o
|
||||
IPLIBOBJECTS_C += ipptp_config_bclk2.o
|
||||
IPLIBOBJECTS_C += ipptp_config_bclk3.o
|
||||
IPLIBOBJECTS_C += ipptp_config_bclk4.o
|
||||
|
||||
# PTP Main objects
|
||||
IPLIBOBJECTS = arith.o
|
||||
IPLIBOBJECTS += bmc.o
|
||||
IPLIBOBJECTS += display.o
|
||||
IPLIBOBJECTS += management.o
|
||||
IPLIBOBJECTS += protocol.o
|
||||
IPLIBOBJECTS += ptpd.o
|
||||
|
||||
# PTP dep
|
||||
IPLIBOBJECTS += timer.o
|
||||
IPLIBOBJECTS += ipv4_acl.o
|
||||
IPLIBOBJECTS += msg.o
|
||||
IPLIBOBJECTS += net.o
|
||||
IPLIBOBJECTS += servo.o
|
||||
IPLIBOBJECTS += startup.o
|
||||
IPLIBOBJECTS += sys.o
|
||||
IPLIBOBJECTS += daemonconfig.o
|
||||
|
||||
|
||||
# PTP dep/iniparser
|
||||
#IPLIBOBJECTS += dictionary.o
|
||||
#IPLIBOBJECTS += iniparser.o
|
||||
|
||||
# PTP dep/ntpengine
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
#############################################################################
|
||||
# SOURCE
|
||||
###########################################################################
|
||||
|
||||
IPSRCDIRS += $(IPPTP_ROOT)/src
|
||||
IPSRCDIRS += $(IPPTP_ROOT)/config
|
||||
IPSRCDIRS += $(IPPTP_ROOT)/src/dep
|
||||
IPSRCDIRS += $(IPPTP_ROOT)/src/dep/iniparser
|
||||
|
||||
|
||||
#############################################################################
|
||||
# LIB
|
||||
###########################################################################
|
||||
|
||||
IPLIBS += $(IPLIBROOT)/libipptp.a
|
||||
|
||||
|
||||
###########################################################################
|
||||
# END OF IPPTP.MK
|
||||
###########################################################################
|
||||
Reference in New Issue
Block a user