74 lines
2.2 KiB
Makefile
74 lines
2.2 KiB
Makefile
#############################################################################
|
|
# IPSNTP.MK
|
|
#
|
|
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipsntp.mk,v $ $Revision: 1.5.52.2 $
|
|
# $Source: /home/interpeak/CVSRoot/ipsntp/gmake/ipsntp.mk,v $
|
|
# $Author: zluo0 $ $Date: 2011-12-07 09:23:24 $
|
|
# $State: Exp $ $Locker: $
|
|
#
|
|
# INTERPEAK_COPYRIGHT_STRING
|
|
#
|
|
#############################################################################
|
|
|
|
|
|
#############################################################################
|
|
# PRODUCT
|
|
###########################################################################
|
|
|
|
IPPROD ?= ipsntp
|
|
|
|
|
|
#############################################################################
|
|
# DEFINE
|
|
###########################################################################
|
|
|
|
IPDEFINE += -DIPSNTP
|
|
|
|
|
|
#############################################################################
|
|
# INCLUDE
|
|
###########################################################################
|
|
|
|
IPINCLUDE += -I$(IPSNTP_ROOT)/config
|
|
IPINCLUDE += -I$(IPSNTP_ROOT)/include
|
|
|
|
IPLIBINCLUDE += -I$(IPSNTP_ROOT)/src
|
|
|
|
|
|
#############################################################################
|
|
# OBJECTS
|
|
###########################################################################
|
|
|
|
# config files
|
|
IPLIBOBJECTS_C += ipsntp_config.o
|
|
|
|
# Interpeak SNTP
|
|
IPLIBOBJECTS += ipsntp.o
|
|
IPLIBOBJECTS += ipsntp_cmd_sntp.o
|
|
IPLIBOBJECTS += ipsntp_time.o
|
|
|
|
# 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
|
|
###########################################################################
|
|
|
|
IPSRCDIRS += $(IPSNTP_ROOT)/src $(IPSNTP_ROOT)/config
|
|
|
|
|
|
#############################################################################
|
|
# LIB
|
|
###########################################################################
|
|
|
|
IPLIBS += $(IPLIBROOT)/libipsntp.a
|
|
|
|
|
|
###########################################################################
|
|
# END OF IPSNTP.MK
|
|
###########################################################################
|