224 lines
6.4 KiB
Makefile
224 lines
6.4 KiB
Makefile
#############################################################################
|
|
# IPNTP.MK
|
|
#
|
|
# Document no: @(#) $Name: VXWORKS_ITER40_RCPL8_2024030303 $ $RCSfile: ipntp.mk,v $ $Revision: 1.2.10.8 $
|
|
# $Source: /home/interpeak/CVSRoot/ipntp/make/ipntp.mk,v $
|
|
# $Author: rzhang3 $ $Date: 2020-09-09 01:25:29 $
|
|
# $State: Exp $ $Locker: $
|
|
#
|
|
# INTERPEAK_COPYRIGHT_STRING
|
|
#
|
|
#############################################################################
|
|
|
|
|
|
#############################################################################
|
|
# PRODUCT
|
|
###########################################################################
|
|
IPPROD = ipntp
|
|
|
|
#############################################################################
|
|
# DEFINE
|
|
###########################################################################
|
|
IPDEFINE += -DIPNTP -DHAVE_CONFIG_H
|
|
|
|
#############################################################################
|
|
# INCLUDE
|
|
###########################################################################
|
|
|
|
IPINCLUDE += -I$(IPNTP_ROOT)/config
|
|
IPINCLUDE += -I$(IPNTP_ROOT)/include
|
|
IPINCLUDE += -I$(IPNTP_ROOT)/src/libntp
|
|
|
|
IPLIBINCLUDE += -I$(IPXINC_ROOT)/include
|
|
|
|
#############################################################################
|
|
# OBJECTS
|
|
###########################################################################
|
|
|
|
# config files
|
|
IPLIBOBJECTS_C += ipntp_config.o
|
|
|
|
|
|
# Rules
|
|
#TGT_DIR = $(WIND_BASE)/target
|
|
|
|
# Main
|
|
# libisc objects
|
|
IPLIBOBJECTS += assertions.o
|
|
IPLIBOBJECTS += interfaceiter.o
|
|
IPLIBOBJECTS += isc_error.o
|
|
IPLIBOBJECTS += isc_inet_ntop.o
|
|
IPLIBOBJECTS += isc_inet_pton.o
|
|
IPLIBOBJECTS += isc_lib.o
|
|
IPLIBOBJECTS += isc_mem.o
|
|
IPLIBOBJECTS += isc_strerror.o
|
|
IPLIBOBJECTS += msgcat.o
|
|
IPLIBOBJECTS += net.o
|
|
IPLIBOBJECTS += netaddr.o
|
|
IPLIBOBJECTS += sockaddr.o
|
|
IPLIBOBJECTS += backtrace.o
|
|
IPLIBOBJECTS += sha1.o
|
|
IPLIBOBJECTS += backtrace-emptytbl.o
|
|
IPLIBOBJECTS += ondestroy.o
|
|
IPLIBOBJECTS += task_api.o
|
|
#IPLIBOBJECTS += app_api.o
|
|
IPLIBOBJECTS += buffer.o
|
|
IPLIBOBJECTS += log.o
|
|
IPLIBOBJECTS += dir.o
|
|
IPLIBOBJECTS += errno2result.o
|
|
IPLIBOBJECTS += result.o
|
|
IPLIBOBJECTS += file.o
|
|
IPLIBOBJECTS += timer.o
|
|
IPLIBOBJECTS += stdio.o
|
|
IPLIBOBJECTS += random.o
|
|
IPLIBOBJECTS += tsmemcmp.o
|
|
|
|
# libntp objects
|
|
IPLIBOBJECTS += a_md5encrypt.o
|
|
IPLIBOBJECTS += adjtime.o
|
|
IPLIBOBJECTS += atoint.o
|
|
IPLIBOBJECTS += atolfp.o
|
|
IPLIBOBJECTS += atouint.o
|
|
IPLIBOBJECTS += audio.o
|
|
IPLIBOBJECTS += authkeys.o
|
|
IPLIBOBJECTS += authreadkeys.o
|
|
IPLIBOBJECTS += authusekey.o
|
|
IPLIBOBJECTS += buftvtots.o
|
|
IPLIBOBJECTS += caljulian.o
|
|
IPLIBOBJECTS += caltontp.o
|
|
IPLIBOBJECTS += calyearstart.o
|
|
IPLIBOBJECTS += clocktime.o
|
|
IPLIBOBJECTS += clocktypes.o
|
|
IPLIBOBJECTS += decodenetnum.o
|
|
IPLIBOBJECTS += dofptoa.o
|
|
IPLIBOBJECTS += dolfptoa.o
|
|
IPLIBOBJECTS += findconfig.o
|
|
IPLIBOBJECTS += hextoint.o
|
|
IPLIBOBJECTS += hextolfp.o
|
|
IPLIBOBJECTS += humandate.o
|
|
IPLIBOBJECTS += iosignal.o
|
|
IPLIBOBJECTS += is_ip_address.o
|
|
IPLIBOBJECTS += lib_strbuf.o
|
|
IPLIBOBJECTS += libssl_compat.o
|
|
IPLIBOBJECTS += machines.o
|
|
IPLIBOBJECTS += md5c.o
|
|
IPLIBOBJECTS += modetoa.o
|
|
IPLIBOBJECTS += mstolfp.o
|
|
IPLIBOBJECTS += msyslog.o
|
|
IPLIBOBJECTS += netof.o
|
|
IPLIBOBJECTS += ntp_calgps.o
|
|
IPLIBOBJECTS += ntp_getopt.o
|
|
IPLIBOBJECTS += ntp_intres.o
|
|
#IPLIBOBJECTS += ntp_memmove.o
|
|
IPLIBOBJECTS += ntp_mktime.o
|
|
IPLIBOBJECTS += ntp_random.o
|
|
IPLIBOBJECTS += ntp_rfc2553.o
|
|
IPLIBOBJECTS += ntp_snprintf.o
|
|
IPLIBOBJECTS += ntp_strdup.o
|
|
IPLIBOBJECTS += numtoa.o
|
|
IPLIBOBJECTS += numtohost.o
|
|
IPLIBOBJECTS += octtoint.o
|
|
IPLIBOBJECTS += prettydate.o
|
|
IPLIBOBJECTS += recvbuff.o
|
|
IPLIBOBJECTS += refnumtoa.o
|
|
IPLIBOBJECTS += socktoa.o
|
|
IPLIBOBJECTS += socktohost.o
|
|
IPLIBOBJECTS += statestr.o
|
|
IPLIBOBJECTS += syssignal.o
|
|
IPLIBOBJECTS += systime.o
|
|
IPLIBOBJECTS += timespecops.o
|
|
IPLIBOBJECTS += timexsup.o
|
|
IPLIBOBJECTS += uglydate.o
|
|
IPLIBOBJECTS += xsbprintf.o
|
|
IPLIBOBJECTS += ymd2yd.o
|
|
IPLIBOBJECTS += ntp_worker.o
|
|
#IPLIBOBJECTS += ntp_libopts.o
|
|
IPLIBOBJECTS += ssl_init.o
|
|
IPLIBOBJECTS += ntp_lineedit.o
|
|
IPLIBOBJECTS += emalloc.o
|
|
IPLIBOBJECTS += ntp_crypto_rnd.o
|
|
IPLIBOBJECTS += ntp_calendar.o
|
|
IPLIBOBJECTS += socket.o
|
|
IPLIBOBJECTS += vint64ops.o
|
|
IPLIBOBJECTS += timetoa.o
|
|
IPLIBOBJECTS += timevalops.o
|
|
|
|
# ntpd objects
|
|
#IPLIBOBJECTS += cmd_args.o
|
|
IPLIBOBJECTS += cmd_args_old.o
|
|
IPLIBOBJECTS += ipntp.o
|
|
IPLIBOBJECTS += ipntp_cmd_ntp.o
|
|
IPLIBOBJECTS += ntp_config.o
|
|
IPLIBOBJECTS += ntp_control.o
|
|
IPLIBOBJECTS += ntp_crypto.o
|
|
IPLIBOBJECTS += ntp_filegen.o
|
|
IPLIBOBJECTS += ntp_io.o
|
|
IPLIBOBJECTS += ntp_loopfilter.o
|
|
IPLIBOBJECTS += ntp_mem.o
|
|
IPLIBOBJECTS += ntp_monitor.o
|
|
IPLIBOBJECTS += ntp_peer.o
|
|
IPLIBOBJECTS += ntp_proto.o
|
|
IPLIBOBJECTS += ntp_refclock.o
|
|
IPLIBOBJECTS += ntp_request.o
|
|
IPLIBOBJECTS += ntp_restrict.o
|
|
IPLIBOBJECTS += ntp_timer.o
|
|
IPLIBOBJECTS += ntp_util.o
|
|
IPLIBOBJECTS += ntp_version.o
|
|
IPLIBOBJECTS += ntpd.o
|
|
IPLIBOBJECTS += ntpd-opts.o
|
|
IPLIBOBJECTS += ntp_parser.o
|
|
IPLIBOBJECTS += ntp_leapsec.o
|
|
IPLIBOBJECTS += ntp_scanner.o
|
|
IPLIBOBJECTS += rc_cmdlength.o
|
|
IPLIBOBJECTS += refclock_conf.o
|
|
IPLIBOBJECTS += refclock_local.o
|
|
|
|
# ntpdc objects
|
|
IPLIBOBJECTS += ntpdc.o
|
|
IPLIBOBJECTS += ntpdc_ops.o
|
|
|
|
# ntpq objects
|
|
IPLIBOBJECTS += ntpq.o
|
|
IPLIBOBJECTS += ntpq-subs.o
|
|
|
|
# util objects
|
|
IPLIBOBJECTS += ntp-keygen.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 += $(IPNTP_ROOT)/config
|
|
IPSRCDIRS += $(IPNTP_ROOT)/src/libisc
|
|
IPSRCDIRS += $(IPNTP_ROOT)/src/libntp
|
|
IPSRCDIRS += $(IPNTP_ROOT)/src/ntpd
|
|
IPSRCDIRS += $(IPNTP_ROOT)/src/ntpdc
|
|
IPSRCDIRS += $(IPNTP_ROOT)/src/ntpq
|
|
IPSRCDIRS += $(IPNTP_ROOT)/src/util
|
|
|
|
|
|
#IPNET_ROOT_PATH := $(subst \,/,$(WRVX_COMPBASE))/$(subst \,/,$(COMP_IPNET2))
|
|
#INCLUDE_CC += -I$(IPNET_ROOT_PATH)/ipnet2/include
|
|
#INCLUDE_CC += -I$(IPNET_ROOT_PATH)/ipnet2/config
|
|
#INCLUDE_CC += -I$(IPNET_ROOT_PATH)/ipcom/port/vxworks/include
|
|
#INCLUDE_CC += -I$(IPNET_ROOT_PATH)/ipcom/port/vxworks/config
|
|
#INCLUDE_CC += -I$(IPNET_ROOT_PATH)/ipcom/include
|
|
#INCLUDE_CC += -I$(IPNET_ROOT_PATH)/ipcom/config
|
|
|
|
#############################################################################
|
|
# LIB
|
|
###########################################################################
|
|
|
|
IPLIBS += $(IPLIBROOT)/libipntp.a
|
|
|
|
###########################################################################
|
|
# END OF IPNTP.MK
|
|
###########################################################################
|