changeset 437:c405e93bb2cc

Added build script for app_sip tools
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 28 Jul 2010 15:32:55 +0900
parents bfe99640cdfa
children e7814e24e57b
files contrib/debian/freediameter-sip-server.install extensions/app_sip/CMakeLists.txt extensions/app_sip/tools/CMakeLists.txt
diffstat 3 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/debian/freediameter-sip-server.install	Wed Jul 28 15:19:55 2010 +0900
+++ b/contrib/debian/freediameter-sip-server.install	Wed Jul 28 15:32:55 2010 +0900
@@ -1,2 +1,3 @@
 usr/lib/freeDiameter/app_sip.fdx
 usr/share/doc/freeDiameter-sip-server/*
+usr/bin/freediameter-sip-*
--- a/extensions/app_sip/CMakeLists.txt	Wed Jul 28 15:19:55 2010 +0900
+++ b/extensions/app_sip/CMakeLists.txt	Wed Jul 28 15:32:55 2010 +0900
@@ -32,6 +32,8 @@
 
 TARGET_LINK_LIBRARIES(app_sip ${MySQL_LIBRARIES})
 
+SUBDIRS(tools)
+
 ####
 ## INSTALL section ##
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/extensions/app_sip/tools/CMakeLists.txt	Wed Jul 28 15:32:55 2010 +0900
@@ -0,0 +1,12 @@
+# Utilities for app_sip
+PROJECT("Diameter SIP Application (RFC4740) tools" C)
+
+ADD_EXECUTABLE(freediameter-sip-rtr app_sip_rtr.c)
+ADD_EXECUTABLE(freediameter-sip-ppr app_sip_ppr.c)
+
+####
+## INSTALL section ##
+
+INSTALL(TARGETS freediameter-sip-rtr freediameter-sip-ppr
+	RUNTIME DESTINATION ${INSTALL_DAEMON_SUFFIX}
+	COMPONENT freeDiameter-sip-server)
"Welcome to our mercurial repository"