📄 makefile
字号:
#-*-makefile-*- ; force emacs to enter makefile-mode# ``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 vsn.mkVSN=$(MEGACO_SESSION_VSN)DIR_NAME = megaco_session-$(VSN)TARGET = $(shell autoconf/config.guess)ifndef RELEASE_DIR RELEASE_DIR = /tmpendififndef TAR_FILE TAR_FILE = $(RELEASE_DIR)/$(DIR_NAME).tgzendifAPP_DIR = $(RELEASE_DIR)/$(DIR_NAME)include subdirs.mksubdirs = $(SUB_DIRS)docdirs = doc/srcall gen debug clean: set -e; for i in $(subdirs); do (cd $$i; $(MAKE) $@); done docs: set -e; for i in $(docdirs); do (cd $$i; $(MAKE) $@); doneconf: do_configuredo_configure: configure ./configureconfigure: configure.in autoconfversion: @echo "$(VSN)"# release: gen docs app_dirrelease: app_dirapp_dir: $(APP_DIR)$(APP_DIR): cat TAR.exclude > TAR.exclude2; \ echo "megaco_session/TAR.exclude2" >> TAR.exclude2; \ echo "megaco_session/examples/simple_MG/$(TARGET)" >> TAR.exclude2; \ echo "megaco_session/examples/simple_MGC/$(TARGET)" >> TAR.exclude2; \ echo "megaco_session/src/$(TARGET)" >> TAR.exclude2; \ cd ..; \ find megaco_session -name '.*cmake*' >> megaco_session/TAR.exclude2; \ find megaco_session -name '*.keep*' >> megaco_session/TAR.exclude2; \ find megaco_session -name '*~' >> megaco_session/TAR.exclude2; \ find megaco_session -name 'erl_crash.dump' >> megaco_session/TAR.exclude2; \ find megaco_session -name 'core' >> megaco_session/TAR.exclude2 mkdir $(APP_DIR); \ (cd ..; tar cfX - megaco_session/TAR.exclude2 megaco_session) | \ (cd $(APP_DIR); tar xf -) mv $(APP_DIR)/megaco_session/* $(APP_DIR)/; \ rmdir $(APP_DIR)/megaco_session mkdir $(APP_DIR)/autoconf cp autoconf/config.guess $(APP_DIR)/autoconf/; \ cp autoconf/config.sub $(APP_DIR)/autoconf/; \ cp autoconf/install-sh $(APP_DIR)/autoconf/tar: $(TAR_FILE)$(TAR_FILE): $(APP_DIR) (cd $(RELEASE_DIR); gtar zcf $(TAR_FILE) $(DIR_NAME))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -