Makefile.pkg
上传用户:sy_wanhua
上传日期:2013-07-25
资源大小:3048k
文件大小:18k
- # $Id: Makefile.pkg,v 1.104 2001/05/19 02:41:10 icahoon Exp $
- # The license applies to all software incorporated in the "Vovida
- # Open Communication Application Library" except for those portions
- # incorporating third party software specifically identified as being
- # licensed under separate license.
- #
- #
- #
- # The Vovida Software License, Version 1.0
- # Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
- #
- # Redistribution and use in source and binary forms, with or without
- # modification, are permitted provided that the following conditions
- # are met:
- #
- # 1. Redistributions of source code must retain the above copyright
- # notice, this list of conditions and the following disclaimer.
- #
- # 2. Redistributions in binary form must reproduce the above copyright
- # notice, this list of conditions and the following disclaimer in
- # the documentation and/or other materials provided with the
- # distribution.
- #
- # 3. The names "VOCAL", "Vovida Open Communication Application Library",
- # and "Vovida Open Communication Application Library (VOCAL)" must
- # not be used to endorse or promote products derived from this
- # software without prior written permission. For written
- # permission, please contact vocal@vovida.org.
- #
- # 4. Products derived from this software may not be called "VOCAL", nor
- # may "VOCAL" appear in their name, without prior written
- # permission of Vovida Networks, Inc.
- #
- # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
- # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
- # NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
- # NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
- # IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- # OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
- # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- # DAMAGE.
- #
- # ====================================================================
- #
- # This software consists of voluntary contributions made by Vovida
- # Networks, Inc. and many individuals on behalf of Vovida Networks,
- # Inc. For more information on Vovida Networks, Inc., please see
- # <http://www.vovida.org/>.
- #
- #
- # All third party licenses and copyright notices and other required
- # legends also need to be complied with as well.
- #
- # this file defines packages -- each one needs to be of the form
- LIBSNDFILE_INCLUDEDIRS := $(ROOT)/contrib/libsndfile.$(OS_ARCH)/src
- LIBSNDFILE_LIBDIRS := $(ROOT)/contrib/libsndfile.$(OS_ARCH)/src/.libs
- ifeq ($(OSTYPE),Linux)
- LIBSNDFILE_LIBNAME :=
- endif
- ifeq ($(OSTYPE),Linux)
- LIBSNDFILE_LDLIBS_LAST := -Wl,-Bstatic -lsndfile -Wl,-Bdynamic
- else
- ifeq ($(OSTYPE),FreeBSD)
- LIBSNDFILE_LDLIBS_LAST := -Wl,-Bstatic -lsndfile -Wl,-Bdynamic
- else
- ifeq ($(OSTYPE),SunOS)
- LIBSNDFILE_LDLIBS_LAST := -Bdynamic -lc -Bstatic -lsndfile
- endif
- endif
- endif
- LIBSNDFILE_DEPENDS := $(ROOT)/contrib/libsndfile.$(OS_ARCH)/src/.libs/libsndfile.a
- $(LIBSNDFILE_DEPENDS):
- cd $(ROOT)/contrib ;$(MAKE) libsndfile
- ifeq ($(ARCH),sh)
- HITACHI_INCLUDEDIRS := $(ROOT)/contrib/hitachi
- HITACHI_LIBDIRS := $(ROOT)/contrib/hitachi
- HITACHI_LIBNAME := hitachi
- HITACHI_LDFLAGS :=
- HITACHI_DEPENDS := $(ROOT)/contrib/hitachi/libhitachi.a
- HITACHI_DEFINES := HW_HITACHI
- $(HITACHI_DEPENDS):
- cd $(ROOT)/contrib/hitachi; $(MAKE)
- endif
- SUACOMMON_INCLUDEDIRS := $(ROOT)/sip/sua/common
- SUACOMMON_LIBDIRS := $(ROOT)/sip/sua/common/obj.$(TARGET_NAME)
- SUACOMMON_LIBNAME := suacommon
- SUACOMMON_LDFLAGS :=
- SUACOMMON_DEPENDS := $(ROOT)/sip/sua/common/obj.$(TARGET_NAME)/libsuacommon.a
- LGCOM_INCLUDEDIRS := $(ROOT)/sip/sua/lgcom
- LGCOM_LIBDIRS := $(ROOT)/sip/sua/lgcom/obj.$(TARGET_NAME)
- LGCOM_LIBNAME := lgcom
- LGCOM_LDFLAGS :=
- LGCOM_DEPENDS := $(ROOT)/sip/sua/lgcom/obj.$(TARGET_NAME)/liblgcom.a
- SIP_INCLUDEDIRS := $(ROOT)/sip/sipstack
- SIP_LIBDIRS := $(ROOT)/sip/sipstack/obj.$(TARGET_NAME)
- SIP_LIBNAME := sip
- SIP_LDFLAGS :=
- SIP_DEPENDS := $(ROOT)/sip/sipstack/obj.$(TARGET_NAME)/libsip.a
- $(SIP_DEPENDS):
- cd $(ROOT)/sip/sipstack;$(MAKE)
- MGCP_INCLUDEDIRS := $(ROOT)/mgcp/libmgcp $(ROOT)/mgcp/lowlevel
- MGCP_LIBDIRS := $(ROOT)/mgcp/libmgcp/obj.$(TARGET_NAME)
- MGCP_LIBNAME := mgcp
- MGCP_LDFLAGS :=
- MGCP_DEPENDS := $(ROOT)/mgcp/libmgcp/obj.$(TARGET_NAME)/libmgcp.a
- $(MGCP_DEPENDS):
- cd $(ROOT);$(MAKE) libmgcp
- PROXYBASE_INCLUDEDIRS := $(ROOT)/sip/base
- PROXYBASE_LIBDIRS := $(ROOT)/sip/base/obj.$(TARGET_NAME)
- PROXYBASE_LIBNAME := proxyBase
- PROXYBASE_LDFLAGS :=
- PROXYBASE_DEPENDS := $(ROOT)/sip/base/obj.$(TARGET_NAME)/libproxyBase.a
- $(PROXYBASE_DEPENDS):
- cd $(ROOT)/sip/base;$(MAKE)
- YARROW_INCLUDEDIRS := $(ROOT)/contrib/yarrow.$(OS_ARCH)
- YARROW_LIBDIRS := $(ROOT)/contrib/yarrow.$(OS_ARCH)
- YARROW_LIBNAME := yarrow
- YARROW_LDFLAGS :=
- YARROW_DEPENDS := $(ROOT)/contrib/yarrow.$(OS_ARCH)/libyarrow.a
- $(YARROW_DEPENDS):
- cd $(ROOT)/contrib/yarrow; $(MAKE) yarrow
- OPENSSL_INCLUDEDIRS := $(ROOT)/do-not-distribute/openssl/openssl-0.9.4.$(OS_ARCH)/include $(ROOT)/do-not-distribute/openssl/openssl-0.9.4.$(OS_ARCH)/include/openssl
- OPENSSL_LIBDIRS := $(ROOT)/do-not-distribute/openssl/openssl-0.9.4.$(OS_ARCH)
- #OPENSSL_LIBNAME := crypto ssl
- OPENSSL_LIBNAME := ssl crypto
- OPENSSL_LDFLAGS :=
- #OPENSSL_INCLUDEDIRS := /usr/local/ssl/include
- #OPENSSL_LIBDIRS := /usr/local/ssl/lib
- #OPENSSL_LIBNAME := crypto ssl
- #OPENSSL_LDFLAGS :=
- #OPENSSL_DEPENDS := $(ROOT)/ssl/openssl-0.9.4/libcrypto.a $(ROOT)/ssl/openssl-0.9.4/libssl.a
- #$(OPENSSL_DEPENDS):
- # cd $(ROOT)/ssl/openssl-0.9.4; $(MAKE)
- #BIND_INCLUDEDIRS := /usr/local/bind-8.2.2p7/src/include
- #BIND_LIBDIRS := /usr/local/bind-8.2.2p7/src/lib
- BIND_INCLUDEDIRS := /usr/src/redhat/SOURCES/bind8/src/include
- BIND_LIBDIRS := /usr/src/redhat/SOURCES/bind8/src/lib
- BIND_LIBNAME := bind
- BIND_LDFLAGS :=
- # BIND_DEPENDS := /usr/src/redhat/SOURCES/bind8/src/bind/lib/libbind.a
- RTP_INCLUDEDIRS := $(ROOT)/rtp
- RTP_LIBDIRS := $(ROOT)/rtp/obj.$(TARGET_NAME)
- RTP_LIBNAME := rtp
- RTP_LDFLAGS :=
- RTP_DEPENDS := $(ROOT)/rtp/obj.$(TARGET_NAME)/librtp.a
- $(RTP_DEPENDS):
- cd $(ROOT);$(MAKE) rtp
- RTSP_INCLUDEDIRS := $(ROOT)/rtsp/rtspstack/
- RTSP_LIBDIRS := $(ROOT)/rtsp/rtspstack/obj.$(TARGET_NAME)
- RTSP_LIBNAME := rtsp
- RTSP_LDFLAGS :=
- RTSP_DEPENDS := $(ROOT)/rtsp/rtspstack/obj.$(TARGET_NAME)/librtsp.a
- $(RTSP_DEPENDS):
- cd $(ROOT);$(MAKE) rtsp
- RTSPIF_INCLUDEDIRS := $(ROOT)/rtsp/rtspif/
- RTSPIF_LIBDIRS := $(ROOT)/rtsp/rtspif/obj.$(TARGET_NAME)
- RTSPIF_LIBNAME := rtspif
- RTSPIF_LDFLAGS :=
- RTSPIF_DEPENDS := $(ROOT)/rtsp/rtspif/obj.$(TARGET_NAME)/librtspif.a
- $(RTSPIF_DEPENDS):
- cd $(ROOT);$(MAKE) rtspif
- SDP_INCLUDEDIRS := $(ROOT)/sdp
- SDP_LIBDIRS := $(ROOT)/sdp/obj.$(TARGET_NAME)
- SDP_LIBNAME := sdp
- SDP_LDFLAGS :=
- SDP_DEPENDS := $(ROOT)/sdp/obj.$(TARGET_NAME)/libsdp.a
- $(SDP_DEPENDS):
- cd $(ROOT);$(MAKE) sdp
- UTIL_INCLUDEDIRS := $(ROOT)/util $(ROOT)/util/threads $(ROOT)/util/logging
- $(ROOT)/util/crypto $(ROOT)/util/statistics
- $(ROOT)/util/snmp $(ROOT)/util/signals
- $(ROOT)/util/behavior $(ROOT)/util/io
- $(ROOT)/util/services $(ROOT)/util/transport
- $(ROOT)/util/config $(ROOT)/util/dnssrv
- $(ROOT)/util/deprecated
- UTIL_LIBDIRS := $(ROOT)/util/obj.$(TARGET_NAME)
- UTIL_LIBNAME := util
- UTIL_LDFLAGS :=
- UTIL_DEPENDS := $(ROOT)/util/obj.$(TARGET_NAME)/libutil.a
- $(UTIL_DEPENDS):
- cd $(ROOT);$(MAKE) util
- HTTP=$(ROOT)/http
- HTTP_INCLUDEDIRS := $(HTTP)/msg
- HTTP_LIBDIRS := $(HTTP)/obj.$(TARGET_NAME)
- HTTP_LIBNAME := http
- HTTP_LIB := lib$(HTTP_LIBNAME).a
- HTTP_LDFLAGS :=
- HTTP_DEPENDS := $(ROOT)/http/obj.$(TARGET_NAME)/$(HTTP_LIB)
- $(HTTP_DEPENDS):
- cd $(HTTP) && $(MAKE)
- HEARTBEAT_INCLUDEDIRS := $(ROOT)/heartbeat
- HEARTBEAT_LIBDIRS := $(ROOT)/heartbeat/obj.$(TARGET_NAME)
- HEARTBEAT_LIBNAME := heartbeat
- HEARTBEAT_LDFLAGS :=
- HEARTBEAT_DEPENDS := $(ROOT)/heartbeat/obj.$(TARGET_NAME)/libheartbeat.a
- $(HEARTBEAT_DEPENDS):
- cd $(ROOT);$(MAKE) heartbeat
- ifeq ($(OSTYPE),Linux)
- BSAFE_OS := linux/i386-libc6
- endif
- ifeq ($(OSTYPE),SunOS)
- BSAFE_OS := solaris/solaris26
- endif
- BSAFE_INCLUDEDIRS := $(ROOT)/do-not-distribute/BSAFE-NEW/cryptoc43/$(BSAFE_OS)/library/include
- BSAFE_CXXFLAGS := -D_REENTRANT -DOSP_SDK
- BSAFE_LIBDIRS := $(ROOT)/do-not-distribute/BSAFE-NEW/cryptoc43/$(BSAFE_OS)/library/lib
- BSAFE_LIBNAME := bsafe
- ifeq ($(OSTYPE),Linux)
- OSP_OS := linux
- endif
- ifeq ($(OSTYPE),SunOS)
- OSP_OS := solaris
- endif
- OSPSDK_INCLUDEDIRS := $(ROOT)/contrib/osp.$(OS_ARCH)/src
- OSPSDK_CXXFLAGS := -D_REENTRANT -DOSP_SDK
- OSPSDK_LIBDIRS := $(ROOT)/contrib/osp.$(OS_ARCH)/lib/client/$(OSP_OS)
- # don't change the repetition of osp bsafe osp -- this is needed
- # because osp depends on bsafe's MD5/crypto, while bsafe depends on
- # the definition of T_malloc and other memory fns, which are in osp.
- # yes, this is confusing. yes, this is horrible.
- OSPSDK_LIBNAME := osp
- #OSPSDK_LIBNAME := osp bsafe osp ssl crypto
- OSPSDK_LDFLAGS :=
- #OSPSDK_DEPENDS := $(ROOT)/do-not-distribute/osptk-2.5.1/lib/client/linux/libosp.a
- #OSPSDK_DEPENDS := $(ROOT)/contrib/osptk-2.5.1/lib/client/linux/libosp.a
- #OSPSDK_DEPENDS := $(ROOT)/contrib/OSPToolkit-2.5.2/lib/client/linux/libosp.a
- OSPSDK_DEPENDS := $(ROOT)/contrib/osp.$(OS_ARCH)/lib/client/$(OSP_OS)/libosp.a
- #$(OSPSDK_DEPENDS):
- # cd $(ROOT)/do-not-distribute/osptk-2.5.1/src; ./osp_sdk_compile.ksh -d client
- $(OSPSDK_DEPENDS):
- cd $(ROOT)/contrib/OSPToolkit-2.5.2/src; ./osp_sdk_compile.ksh -d client
- #cd $(ROOT)/contrib/osptk-2.5.1/src; ./osp_sdk_compile.ksh -d client
- OSP_INCLUDEDIRS := $(ROOT)/policy/libOSP
- OSP_LIBDIRS := $(ROOT)/policy/libOSP/obj.$(TARGET_NAME)
- OSP_LIBNAME := OSP
- OSP_LDFLAGS :=
- OSP_DEPENDS := $(ROOT)/policy/libOSP/obj.$(TARGET_NAME)/libOSP.a
- $(OSP_DEPENDS):
- cd $(ROOT)/policy/libOSP;$(MAKE)
- PSLIB_INCLUDEDIRS := $(ROOT)/provisioning/psLib
- PSLIB_LIBDIRS := $(ROOT)/provisioning/psLib/obj.$(TARGET_NAME)
- PSLIB_LIBNAME := ps
- PSLIB_LDFLAGS :=
- PSLIB_DEPENDS := $(ROOT)/provisioning/psLib/obj.$(TARGET_NAME)/libps.a
- $(PSLIB_DEPENDS):
- cd $(ROOT)/provisioning/psLib/;$(MAKE)
- CDRLIB_INCLUDEDIRS := $(ROOT)/cdr/cdrLib
- CDRLIB_LIBDIRS := $(ROOT)/cdr/cdrLib/obj.$(TARGET_NAME)
- CDRLIB_LIBNAME := cdr
- CDRLIB_LDFLAGS :=
- CDRLIB_DEPENDS := $(ROOT)/cdr/cdrLib/obj.$(TARGET_NAME)/libcdr.a
- $(CDRLIB_DEPENDS):
- cd $(ROOT)/cdr/cdrLib/;$(MAKE)
- PSUTILIB_INCLUDEDIRS := $(ROOT)/provisioning/util
- PSUTILIB_LIBDIRS := $(ROOT)/provisioning/util/obj.$(TARGET_NAME)
- PSUTILIB_LIBNAME := psutil
- PSUTILIB_LDFLAGS :=
- PSUTILIB_DEPENDS := $(ROOT)/provisioning/util/obj.$(TARGET_NAME)/libpsutil.a
- $(PSUTILIB_DEPENDS):
- cd $(ROOT)/provisioning/util/;$(MAKE)
- VCPL_INCLUDEDIRS := $(ROOT)/proxies/fs/cpl
- VCPL_LIBDIRS := $(ROOT)/proxies/fs/cpl/obj.$(TARGET_NAME)
- VCPL_LIBNAME := vcpl
- VCPL_LDFLAGS :=
- VCPL_DEPENDS := $(ROOT)/proxies/fs/cpl/obj.$(TARGET_NAME)/libvcpl.a
- $(VCPL_DEPENDS):
- cd $(ROOT)/proxies/fs/cpl;$(MAKE)
- LIBXML_INCLUDEDIRS := $(ROOT)/contrib/libxml2.$(OS_ARCH)
- LIBXML_LIBDIRS := $(ROOT)/contrib/libxml2.$(OS_ARCH)/.libs
- ifeq ($(OSTYPE),Linux)
- LIBXML_LIBNAME :=
- endif
- ifeq ($(OSTYPE),FreeBSD)
- LIBXML_LDLIBS_LAST := -Wl,-Bstatic -lxml -Wl,-Bdynamic
- endif
- ifeq ($(OSTYPE),Linux)
- LIBXML_LDLIBS_LAST := -Wl,-Bstatic -lxml -Wl,-Bdynamic
- endif
- ifeq ($(OSTYPE),SunOS)
- LIBXML_LDLIBS_LAST := -Bstatic -lxml -Bdynamic
- endif
- LIBXML_DEPENDS := $(ROOT)/contrib/libxml2.$(OS_ARCH)/.libs/libxml.a
- $(LIBXML_DEPENDS):
- cd $(ROOT)/contrib ;$(MAKE) libxml
- ENUM_INCLUDEDIRS := $(ROOT)/contrib/enum.$(OS_ARCH)/include
- #ENUM_LIBDIRS := $(ROOT)/contrib/enum.$(OS_ARCH)/lib /usr/local/bind-8.2.2p7/src/lib
- ENUM_LIBDIRS := $(ROOT)/contrib/enum.$(OS_ARCH)/lib /usr/src/redhat/SOURCES/bind8/src/lib
- ENUM_LIBNAME := ENUM bind
- ENUM_LDFLAGS :=
- ENUM_DEPENDS := $(ROOT)/contrib/enum.$(OS_ARCH)/lib/libENUM.a
- $(ENUM_DEPENDS):
- cd $(ROOT)/contrib/enum.$(OS_ARCH); $(MAKE)
- XERCES_INCLUDEDIRS := $(ROOT)/contrib/xerces-c-src1_4_0.$(OS_ARCH)/include
- XERCES_LIBDIRS := $(ROOT)/contrib/xerces-c-src1_4_0.$(OS_ARCH)/lib
- XERCES_DEPENDS := $(ROOT)/contrib/xerces-c-src1_4_0.$(OS_ARCH)/lib/libxerces-c1_4.so
- COPS_INCLUDEDIRS := $(ROOT)/policy/copsstack
- COPS_LIBDIRS := $(ROOT)/policy/copsstack/obj.$(TARGET_NAME)
- COPS_LIBNAME := cops
- COPS_LDFLAGS :=
- COPS_DEPENDS := $(ROOT)/policy/copsstack/obj.$(TARGET_NAME)/libcops.a
- $(COPS_DEPENDS):
- cd $(ROOT)/policy/copsstack; $(MAKE)
- COPSCOMMON_INCLUDEDIRS := $(ROOT)/policy/common
- COPSCOMMON_LIBDIRS := $(ROOT)/policy/common/obj.$(TARGET_NAME)
- COPSCOMMON_LIBNAME := copscommon
- COPSCOMMON_LDFLAGS :=
- COPSCOMMON_DEPENDS := $(ROOT)/policy/common/obj.$(TARGET_NAME)/libcopscommon.a
- $(COPSCOMMON_DEPENDS):
- cd $(ROOT)/policy/common; $(MAKE)
- LIBPEP_INCLUDEDIRS := $(ROOT)/policy/libpep
- LIBPEP_LIBDIRS := $(ROOT)/policy/libpep/obj.$(TARGET_NAME)
- LIBPEP_LIBNAME := pep
- LIBPEP_LDFLAGS :=
- LIBPEP_DEPENDS := $(ROOT)/policy/libpep/obj.$(TARGET_NAME)/libpep.a
- $(LIBPEP_DEPENDS):
- cd $(ROOT)/policy/libpep; $(MAKE)
- LIBPDP_INCLUDEDIRS := $(ROOT)/policy/libpdp
- LIBPDP_LIBDIRS := $(ROOT)/policy/libpdp/obj.$(TARGET_NAME)
- LIBPDP_LIBNAME := pdp
- LIBPDP_LDFLAGS :=
- LIBPDP_DEPENDS := $(ROOT)/policy/libpdp/obj.$(TARGET_NAME)/libpdp.a
- $(LIBPDP_DEPENDS):
- cd $(ROOT)/policy/libpdp; $(MAKE)
- PROXYAGENT_INCLUDEDIRS := $(ROOT)/proxies/agent
- PROXYAGENT_LIBDIRS := $(ROOT)/proxies/agent/obj.$(TARGET_NAME)
- PROXYAGENT_LIBNAME := proxyAgent
- PROXYAGENT_LDFLAGS :=
- PROXYAGENT_DEPENDS := $(ROOT)/proxies/agent/obj.$(TARGET_NAME)/libproxyAgent.a
- $(PROXYAGENT_DEPENDS):
- cd $(ROOT)/proxies/agent;$(MAKE)
- SNMPLIB_INCLUDEDIRS := $(ROOT)/snmp/vovidaSnmp/snmplib $(ROOT)/snmp/vovidaSnmp.$(OS_ARCH)
- SNMPLIB_LIBDIRS := $(ROOT)/snmp/vovidaSnmp.$(OS_ARCH)/snmplib
- SNMPLIB_LIBNAME := snmp
- #SNMPLIB_LDFLAGS := -static
- SNMPLIB_LDFLAGS :=
- SNMPLIB_DEPENDS := $(ROOT)/snmp/vovidaSnmp.$(OS_ARCH)/snmplib/libsnmp.a
- ifeq ($(OSTYPE),SunOS)
- SNMPLIB_LDLIBS_LAST := -lkstat
- endif
- $(SNMPLIB_DEPENDS):
- cd $(ROOT)/snmp/vovidaSnmp.$(OS_ARCH)/snmplib; $(MAKE)
- SNMPPLUSPLUS_INCLUDEDIRS := $(ROOT)/util $(ROOT)/snmp++ $(ROOT)/snmp/vovidaSnmp/snmplib $(ROOT)/snmp/vovidaSnmp.$(OS_ARCH)
- SNMPPLUSPLUS_LIBDIRS := $(ROOT)/snmp++/obj.$(TARGET_NAME)
- SNMPPLUSPLUS_LIBNAME := snmp++
- SNMPPLUSPLUS_LDFLAGS :=
- SNMPPLUSPLUS_DEPENDS := $(ROOT)/snmp++/obj.$(TARGET_NAME)/libsnmp++.a
- $(SNMPPLUSPLUS_DEPENDS):
- cd $(ROOT)/snmp++; $(MAKE)
- SNMPAGENT_INCLUDEDIRS := $(ROOT)/snmp/vovidaSnmp/agent
- SNMPAGENT_LIBDIRS := $(ROOT)/snmp/vovidaSnmp.$(OS_ARCH)/agent
- SNMPAGENT_LIBNAME := ucdagent
- #SNMPAGENT_LDFLAGS := -static
- SNMPAGENT_LDFLAGS :=
- SNMPAGENT_DEPENDS := $(ROOT)/snmp/vovidaSnmp.$(OS_ARCH)/agent/libucdagent.a
- $(SNMPAGENT_DEPENDS):
- cd $(ROOT)/snmp/vovidaSnmp.$(OS_ARCH)/agent; $(MAKE)
- PAM_INCLUDEDIRS :=
- PAM_LIBDIRS :=
- PAM_LIBNAME := pam
- PAM_LDFLAGS :=
- PAM_DEPENDS :=
- $(PAM_DEPENDS):
- LIBCEXT_INCLUDEDIRS :=
- LIBCEXT_LIBDIRS :=
- LIBCEXT_LIBNAME :=
- LIBCEXT_LDFLAGS :=
- LIBCEXT_DEPENDS :=
- $(LIBCEXT_DEPENDS):
- cd $(ROOT)/contrib; $(MAKE) libcext
- ifeq ($(USE_LIBGETOPT),1)
- LIBCEXT_INCLUDEDIRS := $(ROOT)/contrib/libcext_bsd.$(OS_ARCH)
- LIBCEXT_LIBDIRS := $(ROOT)/contrib/libcext_bsd.$(OS_ARCH)
- LIBCEXT_LIBNAME := cext_bsd
- endif
- ifeq ($(USE_R_WRAPPER),1)
- LIBCEXT_INCLUDEDIRS += $(ROOT)/contrib/libcext_lgpl.$(OS_ARCH)
- LIBCEXT_LIBDIRS += $(ROOT)/contrib/libcext_lgpl.$(OS_ARCH)
- LIBCEXT_LIBNAME += cext_lgpl
- endif
- TRIP_INCLUDEDIRS := $(ROOT)/tripstack/tripcore
- TRIP_LIBDIRS := $(ROOT)/tripstack/tripcore/obj.$(TARGET_NAME)
- TRIP_LIBNAME := tripcore
- TRIP_LDFLAGS :=
- TRIP_DEPENDS := $(ROOT)/tripstack/tripcore/obj.$(TARGET_NAME)/libtripcore.a
- $(TRIP_DEPENDS):
- cd $(ROOT)/tripstack/tripcore; $(MAKE)
- TRIPLS_INCLUDEDIRS := $(ROOT)/tripstack/lsfunctions
- TRIPLS_LIBDIRS := $(ROOT)/tripstack/lsfunctions/obj.$(TARGET_NAME)
- TRIPLS_LIBNAME := lsfunc
- TRIPLS_LDFLAGS :=
- TRIPLS_DEPENDS := $(ROOT)/tripstack/lsfunctions/obj.$(TARGET_NAME)/liblsfunc.a
- $(TRIPLS_DEPENDS):
- cd $(ROOT)/tripstack/lsfunctions; $(MAKE)
- LSAPI_INCLUDEDIRS := $(ROOT)/tripstack/lsapi
- LSAPI_LIBDIRS := $(ROOT)/tripstack/lsapi/obj.$(TARGET_NAME)
- LSAPI_LIBNAME := lsapi
- LSAPI_LDFLAGS :=
- LSAPI_DEPENDS := $(ROOT)/tripstack/lsapi/obj.$(TARGET_NAME)/liblsapi.a
- $(LSAPI_DEPENDS):
- cd $(ROOT)/tripstack/lsapi; $(MAKE)
- #PTHREAD_INCLUDEDIRS :=
- #PTHREAD_LIBDIRS :=
- ifneq ($(OSTYPE),FreeBSD)
- PTHREAD_LIBNAME := pthread
- else
- PTHREAD_LDFLAGS := -pthread
- PTHREAD_LIBNAME := c_r
- endif
- ifeq ($(OSTYPE),IRIX64)
- PTHREAD_LDFLAGS :=
- endif
- ifeq ($(OSCLASS),VXWORKS)
- PTHREAD_LDFLAGS :=
- PTHREAD_LIBNAME :=
- endif
- ifeq ($(OSTYPE),Linux)
- PTHREAD_LDFLAGS := --thread
- endif
- ifeq ($(OSTYPE),Solaris)
- PTHREAD_LDFLAGS := --thread
- endif
- PTHREAD_TARGETS :=
- ifeq ($(LARCH),ia32)
- ifeq ($(OSTYPE),Linux)
- QUICKNET_INCLUDEDIRS := $(ROOT)/contrib/quicknet/ixj
- QUICKNET_LIBDIRS := $(ROOT)/contrib/quicknet/ixj
- QUICKNET_LIBNAME :=
- QUICKNET_LDFLAGS :=
- QUICKNET_DEPENDS := $(ROOT)/contrib/quicknet/ixj/ixjuser.h
- QUICKNET_DEFINES := HW_QUICKNET
- $(QUICKNET_DEPENDS):
- cd $(ROOT);$(MAKE) contrib
- endif
- endif
- VMCP_INCLUDEDIRS := $(ROOT)/vm/vmcp
- VMCP_LIBDIRS := $(ROOT)/vm/vmcp/obj.$(TARGET_NAME)
- VMCP_LIBNAME := vmcp
- VMCP_LDFLAGS :=
- VMCP_DEPENDS := $(ROOT)/vm/vmcp/obj.$(TARGET_NAME)/libvmcp.a
- $(VMCP_DEPENDS):
- cd $(ROOT)/vm/vmcp; $(MAKE)
- VME_INCLUDEDIRS := $(ROOT)/vm/vme
- VME_LIBDIRS := $(ROOT)/vm/vme/obj.$(TARGET_NAME)
- VME_LIBNAME := vme
- VME_LDFLAGS :=
- VME_DEPENDS := $(ROOT)/vm/vme/obj.$(TARGET_NAME)/libvme.a
-
- LIBIMAP_INCLUDEDIRS := $(ROOT)/contrib/imap.$(OS_ARCH)/c-client
- LIBIMAP_LIBDIRS := $(ROOT)/contrib/imap.$(OS_ARCH)/c-client
- LIBIMAP_LIBNAME := imap
- LIBIMAP_LDFLAGS := -lcrypt
- LIBIMAP_DEPENDS := $(ROOT)/contrib/imap.$(OS_ARCH)/c-client/libimap.a
-
- MAIL_INCLUDEDIRS := $(ROOT)/vm/mail/
- MAIL_LIBDIRS := $(ROOT)/vm/mail/obj.$(TARGET_NAME)
- MAIL_LIBNAME := mail
- MAIL_LDFLAGS :=
- MAIL_DEPENDS := $(ROOT)/vm/mail/obj.$(TARGET_NAME)/libmail.a
- LIBLDAP_INCLUDEDIRS := /usr/local/include