2008-02-17 16:52:17 -05:00
|
|
|
# Copyright (c) 2007, Anthony Minessale II
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions
|
|
|
|
# are met:
|
|
|
|
#
|
|
|
|
# * Redistributions of source code must retain the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer.
|
|
|
|
#
|
|
|
|
# * Redistributions in binary form must reproduce the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer in the
|
|
|
|
# documentation and/or other materials provided with the distribution.
|
|
|
|
#
|
|
|
|
# * Neither the name of the original author; nor the names of any contributors
|
|
|
|
# may be used to endorse or promote products derived from this software
|
|
|
|
# without specific prior written permission.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
|
|
|
|
# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
|
|
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
|
|
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
|
|
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
|
|
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
|
|
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
2009-04-08 17:35:29 -04:00
|
|
|
PREFIX = $(prefix)
|
|
|
|
SRC = src
|
2009-02-02 11:47:44 -05:00
|
|
|
|
2009-04-08 17:35:29 -04:00
|
|
|
moddir = @modinstdir@
|
2009-11-23 13:19:35 -05:00
|
|
|
libdir = @libdir@
|
2009-04-08 17:35:29 -04:00
|
|
|
library_includedir = $(PREFIX)/include
|
2009-02-05 13:21:51 -05:00
|
|
|
|
2010-04-19 11:39:03 -04:00
|
|
|
INCS = -I$(FT_SRCDIR)/$(SRC)/include -I$(FT_SRCDIR)/$(SRC)/isdn/include -I$(FT_SRCDIR)/$(SRC)/include/private
|
2010-06-05 18:23:39 -04:00
|
|
|
INCS += -I$(FT_SRCDIR)/$(SRC)/ftmod/ftmod_sangoma_boost
|
|
|
|
if SNGSS7
|
|
|
|
INCS += -I/usr/include/wanpipe/sng_ss7/
|
|
|
|
endif
|
2010-01-15 14:22:49 -05:00
|
|
|
MY_CFLAGS = $(INCS) $(FTDM_CFLAGS) -DFTDM_CONFIG_DIR=\"@confdir@\" -DFTDM_MOD_DIR=\"$(moddir)\" @COMP_VENDOR_CFLAGS@ @DEFS@
|
2009-04-08 17:35:29 -04:00
|
|
|
COMPILE = $(CC) $(MY_CFLAGS) $(INCS)
|
2008-09-06 01:46:14 -04:00
|
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(COMPILE)
|
2009-04-08 17:35:29 -04:00
|
|
|
LINK = $(LIBTOOL) --mode=link --tag=CC $(CC) $(MY_CFLAGS) $(LDFLAGS) -o $@
|
2008-09-06 01:46:14 -04:00
|
|
|
|
2009-02-03 00:41:40 -05:00
|
|
|
|
2009-04-08 17:44:33 -04:00
|
|
|
#
|
|
|
|
# GNU pkgconfig file
|
|
|
|
#
|
2010-01-15 14:22:49 -05:00
|
|
|
EXTRA_DIST = freetdm.pc.in
|
2009-04-08 17:44:33 -04:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2010-01-15 14:22:49 -05:00
|
|
|
pkgconfig_DATA = freetdm.pc
|
2009-04-08 17:44:33 -04:00
|
|
|
|
|
|
|
|
2009-04-08 17:35:29 -04:00
|
|
|
#
|
2010-01-15 14:22:49 -05:00
|
|
|
# libfreetdm
|
2009-04-08 17:35:29 -04:00
|
|
|
#
|
2010-01-15 14:22:49 -05:00
|
|
|
libfreetdm_la_SOURCES = \
|
2008-02-17 16:52:17 -05:00
|
|
|
$(SRC)/hashtable.c \
|
|
|
|
$(SRC)/hashtable_itr.c \
|
2010-01-15 14:22:49 -05:00
|
|
|
$(SRC)/ftdm_io.c \
|
|
|
|
$(SRC)/ftdm_queue.c \
|
2010-05-26 15:47:37 -04:00
|
|
|
$(SRC)/ftdm_sched.c \
|
2010-01-15 14:22:49 -05:00
|
|
|
$(SRC)/ftdm_config.c \
|
|
|
|
$(SRC)/ftdm_callerid.c \
|
2008-02-17 16:52:17 -05:00
|
|
|
$(SRC)/fsk.c \
|
|
|
|
$(SRC)/uart.c \
|
|
|
|
$(SRC)/g711.c \
|
|
|
|
$(SRC)/libteletone_detect.c \
|
|
|
|
$(SRC)/libteletone_generate.c \
|
2010-01-15 14:22:49 -05:00
|
|
|
$(SRC)/ftdm_buffer.c \
|
|
|
|
$(SRC)/ftdm_threadmutex.c \
|
2010-04-05 17:49:43 -04:00
|
|
|
$(SRC)/ftdm_dso.c \
|
|
|
|
$(SRC)/ftdm_cpu_monitor.c
|
2008-08-29 11:58:59 -04:00
|
|
|
|
2009-02-03 00:41:40 -05:00
|
|
|
library_include_HEADERS = \
|
2010-01-15 14:22:49 -05:00
|
|
|
$(SRC)/include/freetdm.h \
|
2010-04-30 16:00:33 -04:00
|
|
|
$(SRC)/include/ftdm_declare.h \
|
2010-01-15 14:22:49 -05:00
|
|
|
$(SRC)/include/ftdm_threadmutex.h \
|
2010-05-12 11:54:50 -04:00
|
|
|
$(SRC)/include/ftdm_os.h \
|
|
|
|
$(SRC)/include/ftdm_dso.h
|
2009-02-03 00:41:40 -05:00
|
|
|
|
2010-01-15 14:22:49 -05:00
|
|
|
lib_LTLIBRARIES = libfreetdm.la
|
|
|
|
libfreetdm_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
|
|
|
libfreetdm_la_LDFLAGS = -version-info 1:0:0 $(AM_LDFLAGS)
|
|
|
|
libfreetdm_la_LIBADD = $(LIBS)
|
2008-08-29 11:58:59 -04:00
|
|
|
|
2010-01-15 14:22:49 -05:00
|
|
|
MYLIB = libfreetdm.la
|
2008-02-17 16:52:17 -05:00
|
|
|
|
2010-01-15 14:22:49 -05:00
|
|
|
core: libfreetdm.la
|
2009-02-09 14:13:02 -05:00
|
|
|
core-install: install-libLTLIBRARIES
|
|
|
|
|
2009-04-08 17:35:29 -04:00
|
|
|
#
|
|
|
|
# tools & test programs
|
|
|
|
#
|
2010-04-02 01:24:20 -04:00
|
|
|
noinst_PROGRAMS = testtones detect_tones detect_dtmf testpri testr2 testanalog testapp testcid #testisdn
|
2009-11-10 18:28:49 -05:00
|
|
|
if HAVE_SCTP
|
|
|
|
noinst_PROGRAMS += testboost
|
|
|
|
endif
|
2009-11-17 18:13:38 -05:00
|
|
|
noinst_PROGRAMS += testsangomaboost
|
2009-04-08 17:35:29 -04:00
|
|
|
|
2009-02-03 14:48:04 -05:00
|
|
|
testapp_SOURCES = $(SRC)/testapp.c
|
2010-01-15 14:22:49 -05:00
|
|
|
testapp_LDADD = libfreetdm.la
|
2009-04-08 17:35:29 -04:00
|
|
|
testapp_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
|
|
|
|
2009-02-03 14:48:04 -05:00
|
|
|
testcid_SOURCES = $(SRC)/testcid.c
|
2010-01-15 14:22:49 -05:00
|
|
|
testcid_LDADD = libfreetdm.la
|
2009-04-08 17:35:29 -04:00
|
|
|
testcid_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
2008-02-17 16:52:17 -05:00
|
|
|
|
2009-04-08 17:35:29 -04:00
|
|
|
testtones_SOURCES = $(SRC)/testtones.c
|
2010-01-15 14:22:49 -05:00
|
|
|
testtones_LDADD = libfreetdm.la
|
2009-04-08 17:35:29 -04:00
|
|
|
testtones_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
2008-02-17 16:52:17 -05:00
|
|
|
|
2009-04-08 17:35:29 -04:00
|
|
|
detect_tones_SOURCES = $(SRC)/detect_tones.c
|
2010-01-15 14:22:49 -05:00
|
|
|
detect_tones_LDADD = libfreetdm.la
|
2009-04-08 17:35:29 -04:00
|
|
|
detect_tones_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
2008-02-17 16:52:17 -05:00
|
|
|
|
2009-04-08 17:35:29 -04:00
|
|
|
detect_dtmf_SOURCES = $(SRC)/detect_dtmf.c
|
2010-01-15 14:22:49 -05:00
|
|
|
detect_dtmf_LDADD = libfreetdm.la
|
2009-04-08 17:35:29 -04:00
|
|
|
detect_dtmf_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
2008-02-17 16:52:17 -05:00
|
|
|
|
2010-04-02 01:24:20 -04:00
|
|
|
#testisdn_SOURCES = $(SRC)/testisdn.c
|
|
|
|
#testisdn_LDADD = libfreetdm.la
|
|
|
|
#testisdn_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
2008-02-17 16:52:17 -05:00
|
|
|
|
2009-07-27 19:19:41 -04:00
|
|
|
testpri_SOURCES = $(SRC)/testpri.c
|
2010-01-15 14:22:49 -05:00
|
|
|
testpri_LDADD = libfreetdm.la
|
2009-07-27 19:19:41 -04:00
|
|
|
testpri_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
|
|
|
|
2009-08-19 17:47:56 -04:00
|
|
|
testr2_SOURCES = $(SRC)/testr2.c
|
2010-01-15 14:22:49 -05:00
|
|
|
testr2_LDADD = libfreetdm.la
|
2009-08-19 17:47:56 -04:00
|
|
|
testr2_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
|
|
|
|
2009-11-10 18:28:49 -05:00
|
|
|
if HAVE_SCTP
|
2009-04-08 17:35:29 -04:00
|
|
|
testboost_SOURCES = $(SRC)/testboost.c
|
2010-01-15 14:22:49 -05:00
|
|
|
testboost_LDADD = libfreetdm.la
|
2009-04-08 17:35:29 -04:00
|
|
|
testboost_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
2009-11-10 18:28:49 -05:00
|
|
|
endif
|
2008-02-17 16:52:17 -05:00
|
|
|
|
2009-11-17 18:13:38 -05:00
|
|
|
testsangomaboost_SOURCES = $(SRC)/testsangomaboost.c
|
2010-01-15 14:22:49 -05:00
|
|
|
testsangomaboost_LDADD = libfreetdm.la
|
2009-11-17 18:13:38 -05:00
|
|
|
testsangomaboost_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
|
|
|
|
2009-04-08 17:35:29 -04:00
|
|
|
testanalog_SOURCES = $(SRC)/testanalog.c
|
2010-01-15 14:22:49 -05:00
|
|
|
testanalog_LDADD = libfreetdm.la
|
2009-04-08 17:35:29 -04:00
|
|
|
testanalog_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
2008-08-29 11:58:59 -04:00
|
|
|
|
2009-04-08 17:35:29 -04:00
|
|
|
#
|
2010-01-15 14:22:49 -05:00
|
|
|
# ftmod modules
|
2009-04-08 17:35:29 -04:00
|
|
|
#
|
2010-04-02 01:24:20 -04:00
|
|
|
mod_LTLIBRARIES = ftmod_zt.la ftmod_skel.la ftmod_analog.la ftmod_analog_em.la #ftmod_isdn.la
|
2009-11-11 13:51:03 -05:00
|
|
|
|
|
|
|
|
|
|
|
if HAVE_SCTP
|
2010-01-15 14:22:49 -05:00
|
|
|
mod_LTLIBRARIES += ftmod_sangoma_boost.la
|
2009-11-11 13:51:03 -05:00
|
|
|
endif
|
2009-04-22 21:46:37 -04:00
|
|
|
|
|
|
|
if LIBSANGOMA
|
2010-01-15 14:22:49 -05:00
|
|
|
mod_LTLIBRARIES += ftmod_wanpipe.la
|
2009-04-22 21:46:37 -04:00
|
|
|
endif
|
2009-04-08 17:35:29 -04:00
|
|
|
|
2009-02-09 12:17:47 -05:00
|
|
|
if LIBPRI
|
2010-01-15 14:22:49 -05:00
|
|
|
mod_LTLIBRARIES += ftmod_libpri.la
|
2009-02-09 12:17:47 -05:00
|
|
|
endif
|
2009-04-08 17:35:29 -04:00
|
|
|
|
2010-06-05 18:23:39 -04:00
|
|
|
if SNGSS7
|
|
|
|
mod_LTLIBRARIES += ftmod_sangoma_ss7.la
|
|
|
|
endif
|
|
|
|
|
2009-08-19 17:47:56 -04:00
|
|
|
if OPENR2
|
2010-01-15 14:22:49 -05:00
|
|
|
mod_LTLIBRARIES += ftmod_r2.la
|
2009-08-19 17:47:56 -04:00
|
|
|
endif
|
|
|
|
|
2010-01-15 14:22:49 -05:00
|
|
|
ftmod_zt_la_SOURCES = $(SRC)/ftmod/ftmod_zt/ftmod_zt.c
|
|
|
|
ftmod_zt_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
|
|
|
ftmod_zt_la_LDFLAGS = -module -avoid-version
|
|
|
|
ftmod_zt_la_LIBADD = $(MYLIB)
|
2009-04-08 17:35:29 -04:00
|
|
|
|
2010-01-15 14:22:49 -05:00
|
|
|
ftmod_skel_la_SOURCES = $(SRC)/ftmod/ftmod_skel/ftmod_skel.c
|
|
|
|
ftmod_skel_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
|
|
|
ftmod_skel_la_LDFLAGS = -module -avoid-version
|
|
|
|
ftmod_skel_la_LIBADD = $(MYLIB)
|
2009-04-08 17:35:29 -04:00
|
|
|
|
2009-04-22 17:22:42 -04:00
|
|
|
if LIBSANGOMA
|
2010-01-15 14:22:49 -05:00
|
|
|
ftmod_wanpipe_la_SOURCES = $(SRC)/ftmod/ftmod_wanpipe/ftmod_wanpipe.c
|
|
|
|
ftmod_wanpipe_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS) -D__LINUX__ -I/usr/include/wanpipe
|
|
|
|
ftmod_wanpipe_la_LDFLAGS = -module -avoid-version -lsangoma
|
|
|
|
ftmod_wanpipe_la_LIBADD = $(MYLIB)
|
2009-04-22 17:22:42 -04:00
|
|
|
endif
|
2009-02-05 13:21:51 -05:00
|
|
|
|
2010-04-02 01:24:20 -04:00
|
|
|
#ftmod_isdn_la_SOURCES = \
|
|
|
|
#$(SRC)/isdn/EuroISDNStateNT.c \
|
|
|
|
#$(SRC)/isdn/EuroISDNStateTE.c \
|
|
|
|
#$(SRC)/isdn/mfifo.c \
|
|
|
|
#$(SRC)/isdn/Q921.c \
|
|
|
|
#$(SRC)/isdn/Q931api.c \
|
|
|
|
#$(SRC)/isdn/Q931.c \
|
|
|
|
#$(SRC)/isdn/Q931ie.c \
|
|
|
|
#$(SRC)/isdn/Q931mes.c \
|
|
|
|
#$(SRC)/isdn/Q931StateNT.c \
|
|
|
|
#$(SRC)/isdn/Q931StateTE.c \
|
|
|
|
#$(SRC)/isdn/nationalmes.c \
|
|
|
|
#$(SRC)/isdn/nationalStateNT.c \
|
|
|
|
#$(SRC)/isdn/nationalStateTE.c \
|
|
|
|
#$(SRC)/isdn/DMSmes.c \
|
|
|
|
#$(SRC)/isdn/DMSStateNT.c \
|
|
|
|
#$(SRC)/isdn/DMSStateTE.c \
|
|
|
|
#$(SRC)/isdn/5ESSmes.c \
|
|
|
|
#$(SRC)/isdn/5ESSStateNT.c \
|
|
|
|
#$(SRC)/isdn/5ESSStateTE.c \
|
|
|
|
#$(SRC)/isdn/Q932mes.c \
|
|
|
|
#$(SRC)/ftmod/ftmod_isdn/ftmod_isdn.c
|
|
|
|
|
|
|
|
#ftmod_isdn_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS) -D_GNU_SOURCE
|
|
|
|
#ftmod_isdn_la_LDFLAGS = $(PCAP_LIB_FLAGS) -module -avoid-version
|
|
|
|
#ftmod_isdn_la_LIBADD = $(MYLIB)
|
2009-02-05 13:21:51 -05:00
|
|
|
|
2010-01-15 14:22:49 -05:00
|
|
|
ftmod_analog_la_SOURCES = $(SRC)/ftmod/ftmod_analog/ftmod_analog.c
|
|
|
|
ftmod_analog_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
|
|
|
ftmod_analog_la_LDFLAGS = -module -avoid-version
|
|
|
|
ftmod_analog_la_LIBADD = $(MYLIB)
|
2009-02-05 13:21:51 -05:00
|
|
|
|
2010-01-15 14:22:49 -05:00
|
|
|
ftmod_analog_em_la_SOURCES = $(SRC)/ftmod/ftmod_analog_em/ftmod_analog_em.c
|
|
|
|
ftmod_analog_em_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
|
|
|
ftmod_analog_em_la_LDFLAGS = -module -avoid-version
|
|
|
|
ftmod_analog_em_la_LIBADD = $(MYLIB)
|
2009-02-05 13:21:51 -05:00
|
|
|
|
2009-11-10 18:28:49 -05:00
|
|
|
if HAVE_SCTP
|
2010-01-15 14:22:49 -05:00
|
|
|
ftmod_sangoma_boost_la_SOURCES = $(SRC)/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c $(SRC)/ftmod/ftmod_sangoma_boost/ftmod_sangoma_boost.c
|
|
|
|
ftmod_sangoma_boost_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
|
|
|
ftmod_sangoma_boost_la_LDFLAGS = -module -avoid-version
|
|
|
|
ftmod_sangoma_boost_la_LIBADD = $(MYLIB)
|
2009-11-10 18:28:49 -05:00
|
|
|
endif
|
2009-02-05 15:44:13 -05:00
|
|
|
|
|
|
|
if LIBPRI
|
2010-01-15 14:22:49 -05:00
|
|
|
ftmod_libpri_la_SOURCES = $(SRC)/ftmod/ftmod_libpri/ftmod_libpri.c $(SRC)/ftmod/ftmod_libpri/lpwrap_pri.c
|
|
|
|
ftmod_libpri_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
|
|
|
ftmod_libpri_la_LDFLAGS = -module -avoid-version -lpri
|
|
|
|
ftmod_libpri_la_LIBADD = $(MYLIB)
|
2009-02-05 15:44:13 -05:00
|
|
|
endif
|
2009-04-08 17:35:29 -04:00
|
|
|
|
2010-06-05 18:23:39 -04:00
|
|
|
if SNGSS7
|
|
|
|
ftmod_sangoma_ss7_la_SOURCES = $(SRC)/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c \
|
|
|
|
$(SRC)/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.c \
|
|
|
|
$(SRC)/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_in.c \
|
|
|
|
$(SRC)/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_out.c \
|
|
|
|
$(SRC)/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_cntrl.c \
|
|
|
|
$(SRC)/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_xml.c \
|
|
|
|
$(SRC)/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_timers.c \
|
|
|
|
$(SRC)/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_cli.c
|
|
|
|
ftmod_sangoma_ss7_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS) -D_GNU_SOURCE
|
|
|
|
ftmod_sangoma_ss7_la_LDFLAGS = -module -avoid-version -lsng_ss7
|
|
|
|
ftmod_sangoma_ss7_la_LIBADD = $(MYLIB)
|
|
|
|
endif
|
|
|
|
|
2009-08-19 17:47:56 -04:00
|
|
|
if OPENR2
|
2010-01-15 14:22:49 -05:00
|
|
|
ftmod_r2_la_SOURCES = $(SRC)/ftmod/ftmod_r2/ftmod_r2.c
|
|
|
|
ftmod_r2_la_CFLAGS = $(AM_CFLAGS) $(MY_CFLAGS)
|
|
|
|
ftmod_r2_la_LDFLAGS = -module -avoid-version -lopenr2
|
|
|
|
ftmod_r2_la_LIBADD = $(MYLIB)
|
2009-08-19 17:47:56 -04:00
|
|
|
endif
|
|
|
|
|
2009-04-08 17:35:29 -04:00
|
|
|
|
|
|
|
dox doxygen:
|
2010-01-15 14:22:49 -05:00
|
|
|
cd docs && doxygen $(FT_SRCDIR)/docs/Doxygen.conf
|
2009-04-08 17:35:29 -04:00
|
|
|
|
2010-01-15 14:22:49 -05:00
|
|
|
mod_freetdm/mod_freetdm.$(DYNAMIC_LIB_EXTEN): $(MYLIB) mod_freetdm/mod_freetdm.c
|
|
|
|
cd mod_freetdm && make
|
2009-04-08 17:35:29 -04:00
|
|
|
|
2010-01-15 14:22:49 -05:00
|
|
|
mod_freetdm: mod_freetdm/mod_freetdm.$(DYNAMIC_LIB_EXTEN)
|
2009-04-08 17:35:29 -04:00
|
|
|
|
2010-01-15 14:22:49 -05:00
|
|
|
mod_freetdm-install: mod_freetdm
|
|
|
|
cd mod_freetdm && make install
|
2009-04-08 17:35:29 -04:00
|
|
|
|
2010-01-15 14:22:49 -05:00
|
|
|
mod_freetdm-clean:
|
|
|
|
@if [ -f mod_freetdm/mod_freetdm.$(DYNAMIC_LIB_EXTEN) ] ; then cd mod_freetdm && make clean ; fi
|
2009-04-08 17:35:29 -04:00
|
|
|
|
|
|
|
install-data-local:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(PREFIX)
|
2009-06-09 11:23:51 -04:00
|
|
|
$(mkinstalldirs) $(DESTDIR)@confdir@
|
2010-01-15 14:22:49 -05:00
|
|
|
@[ -f "$(DESTDIR)@confdir@/freetdm.conf" ] || ( cp conf/*.conf $(DESTDIR)@confdir@)
|
2010-04-19 11:39:03 -04:00
|
|
|
@echo FreeTDM Installed
|