📄 makefile.am
字号:
## Copyright (C) 2002-2008 Thomas Ries <tries@gmx.net>## This file is part of Siproxd.# # Siproxd is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.# # Siproxd is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.# # You should have received a copy of the GNU General Public License# along with Siproxd; if not, write to the Free Software# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #AM_CFLAGS = -Wall -D_GNU_SOURCE \ -DBUILDSTR="\"`cat .buildno`\""## Siproxd itself#sbin_PROGRAMS = siproxdsiproxd_SOURCES = siproxd.c proxy.c register.c sock.c utils.c \ sip_utils.c sip_layer.c log.c readconf.c rtpproxy.c \ rtpproxy_relay.c accessctl.c route_processing.c \ security.c auth.c fwapi.c resolve.c \ plugin_shortdial.c dejitter.c# addrcache.c## an example for a custom firewall control module# that can be linked into siproxd (--with-custom-fwmodule)#noinst_LIBRARIES = libcustom_fw_module.alibcustom_fw_module_a_SOURCES = custom_fw_module.cnoinst_HEADERS = log.h siproxd.h digcalc.h rtpproxy.h \ fwapi.h plugins.h dejitter.h addrcache.hEXTRA_DIST = .buildno## count BUILDs - each time increment by one and define the# C macro BUILDNO. bind it to a file everybody includes (log.h)#log.h: increment_buildincrement_build: @echo "incrementing BUILD number" @if [ -f .buildno ]; then \ bld=`cat .buildno`; \ bld=`expr $${bld} + 1`; \ else \ bld=1; \ fi; \ echo "$${bld}" >.buildno;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -