Files
siproxd/src/Makefile.am
T
Thomas Ries a53744ce81 - comp_osip.c: libosip2-2.0.9 compatibility (There SEEM
to happen some API changes forward and backward:
  osip_message_to_str, osip_body_to_str,
  osip_message_set_body, osip_message_parse)
- included startup script (by Guido Trentalancia)
- siproxd.spec: create PID and registrations directories
  and install startup script
2004-10-09 17:21:37 +00:00

61 lines
1.8 KiB
Makefile

#
# Copyright (C) 2002-2004 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 -DBUILDSTR=\"`cat .buildno`\" -D_GNU_SOURCE
#
# Siproxd itself
#
sbin_PROGRAMS = siproxd
siproxd_SOURCES = siproxd.c proxy.c register.c sock.c utils.c \
sip_utils.c log.c readconf.c rtpproxy.c \
rtpproxy_relay.c accessctl.c route_processing.c \
security.c auth.c fwapi.c comp_osip.c
#
# an example for a custom firewall control module
# that can be linked into siproxd (--with-custom-fwmodule)
#
noinst_LIBRARIES = libcustom_fw_module.a
libcustom_fw_module_a_SOURCES = custom_fw_module.c
noinst_HEADERS = log.h rewrite_rules.h siproxd.h digcalc.h rtpproxy.h \
fwapi.h
EXTRA_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_build
increment_build:
@echo "incrementing BUILD number"
@if [ -f .buildno ]; then \
bld=`cat .buildno`; \
bld=`expr $${bld} + 1`; \
else \
bld=1; \
fi; \
echo "$${bld}" >.buildno;