⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 OTP是开放电信平台的简称
💻
字号:
# ``The contents of this file are subject to the Erlang Public License,# Version 1.1, (the "License"); you may not use this file except in# compliance with the License. You should have received a copy of the# Erlang Public License along with this software. If not, it can be# retrieved via the world wide web at http://www.erlang.org/.# # Software distributed under the License is distributed on an "AS IS"# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See# the License for the specific language governing rights and limitations# under the License.# # The Initial Developer of the Original Code is Ericsson Utvecklings AB.# Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings# AB. All Rights Reserved.''# #     $Id$#include $(ERL_TOP)/make/target.mkifeq ($(TYPE),debug)ERL_COMPILE_FLAGS += -Ddebug -WendifEBIN = .MEGACO_INCLUDEDIR = ../../includeinclude $(ERL_TOP)/make/$(TARGET)/otp.mk# ----------------------------------------------------# Application version# ----------------------------------------------------include ../../vsn.mkVSN=$(MEGACO_VSN)# ----------------------------------------------------# Release directory specification# ----------------------------------------------------RELSYSDIR = $(RELEASE_PATH)/lib/megaco-$(VSN)# ----------------------------------------------------# Target Specs# ----------------------------------------------------include modules.mkMODULES = $(MG_MODULES) $(MGC_MODULES) $(COMMON_MODULES)ERL_FILES = $(MODULES:%=%.erl)	TARGET_FILES = \	$(ERL_FILES:%.erl=$(EBIN)/%.$(EMULATOR))MEGACO_ROOT_DIR = $(shell (cd .. ; dirname `pwd`))# ----------------------------------------------------# FLAGS# ----------------------------------------------------ifeq ($(WARN_UNUSED_WARS),true)ERL_COMPILE_FLAGS += +warn_unused_varsendifERL_COMPILE_FLAGS += \	-pa $(ERL_TOP)/lib/megaco/ebin \	-I../../includeifneq ($(MGC_HOST),)MG_START_ARGS = "{mgc_host, $(MGC_HOST)}"endififneq ($(MG_INLINE_TRACE),true)MG_MEGACO_FILTER  = -s megaco_filter MG_START_ARGS    += "{trace,false}"elseMG_START_ARGS    += "{trace,true}"endififneq ($(MG_DEBUG),)MG_START_ARGS += "{debug,true}"elseMG_START_ARGS += "{debug,false}"endififneq ($(MGC_INLINE_TRACE),true)MGC_MEGACO_FILTER  = -s megaco_filter MGC_START_ARGS    += "{trace,false}"elseMGC_START_ARGS    += "{trace,true}"endififneq ($(MGC_DEBUG),)MGC_START_ARGS += "{debug,true}"elseMGC_START_ARGS += "{debug,false}"endif# ----------------------------------------------------# Targets# ----------------------------------------------------opt: $(TARGET_FILES) debug:	@${MAKE} TYPE=debug optclean:	rm -f $(TARGET_FILES) 	rm -f errs core *~docs:info: 	@echo "MEGACO_ROOT_DIR = $(MEGACO_ROOT_DIR)"# ----------------------------------------------------# Special Build Targets# ----------------------------------------------------mg: opt	erl -noshell -pa $(MEGACO_ROOT_DIR)/ebin \          $(MG_MEGACO_FILTER) \          -s megaco \          -s megaco_simple_mg start_batch $(MG_START_ARGS)mgc: opt	erl -noshell -pa $(MEGACO_ROOT_DIR)/ebin \          $(MGC_MEGACO_FILTER) \          -s megaco \          -s megaco_simple_mgc start_batch $(MGC_START_ARGS)# ----------------------------------------------------# Release Target# ---------------------------------------------------- include $(ERL_TOP)/make/otp_release_targets.mkrelease_spec: opt	$(INSTALL_DIR) $(RELSYSDIR)/examples	$(INSTALL_DIR) $(RELSYSDIR)/examples/simple	$(INSTALL_DATA) $(ERL_FILES) $(TARGET_FILES) $(RELSYSDIR)/examples/simplerelease_docs_spec:# ----------------------------------------------------# Include dependencies# ----------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -