1 # Makefile.in generated by automake 1.7.8 from Makefile.am.
2 # src/Makefile. Generated from Makefile.in by configure.
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5 # Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # Copyright (C) 2002-2005 Thomas Ries <tries@gmx.net>
20 # This file is part of Siproxd.
22 # Siproxd is free software; you can redistribute it and/or modify
23 # it under the terms of the GNU General Public License as published by
24 # the Free Software Foundation; either version 2 of the License, or
25 # (at your option) any later version.
27 # Siproxd is distributed in the hope that it will be useful,
28 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 # GNU General Public License for more details.
32 # You should have received a copy of the GNU General Public License
33 # along with Siproxd; if not, write to the Free Software
34 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
40 pkgdatadir = $(datadir)/siproxd
41 pkglibdir = $(libdir)/siproxd
42 pkgincludedir = $(includedir)/siproxd
45 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
46 INSTALL = /usr/bin/install -c
47 install_sh_DATA = $(install_sh) -c -m 644
48 install_sh_PROGRAM = $(install_sh) -c
49 install_sh_SCRIPT = $(install_sh) -c
50 INSTALL_HEADER = $(INSTALL_DATA)
51 transform = $(program_transform_name)
58 build_triplet = i686-redhat-linux-gnu
59 host_triplet = i686-redhat-linux-gnu
60 target_triplet = i686-redhat-linux-gnu
66 AUTOHEADER = autoheader
67 AUTOMAKE = automake-1.7
70 CCDEPMODE = depmode=gcc3
71 CFLAGS = -Os -pthread -D_POSIX_THREAD_SAFE_FUNCTIONS -s -fomit-frame-pointer -fno-exceptions
73 CPPFLAGS = -I../../libosip2/include
75 DEFS = -DHAVE_CONFIG_H
82 INSTALL_DATA = ${INSTALL} -m 644
83 INSTALL_PROGRAM = ${INSTALL}
84 INSTALL_SCRIPT = ${INSTALL}
85 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
88 LIBS = -losipparser2 -losip2 -L../../libosip2/lib
101 PTHREAD_CFLAGS = -pthread
109 ac_ct_RANLIB = ranlib
111 am__fastdepCC_FALSE = #
113 am__include = include
116 bindir = ${exec_prefix}/bin
117 build = i686-redhat-linux-gnu
121 build_vendor = redhat
122 datadir = ${prefix}/share
123 exec_prefix = ${prefix}
126 host = i686-redhat-linux-gnu
131 includedir = ${prefix}/include
132 infodir = ${prefix}/info
133 install_sh = /home/jefchiao/myviews/jefchiao_linux26_jclinux_sview/CommEngine/userapps/opensource/siproxd/scripts/install-sh
134 libdir = ${exec_prefix}/lib
135 libexecdir = ${exec_prefix}/libexec
136 libosip_prefix_dir = ../../libosip2
137 localstatedir = ${prefix}/var
138 mandir = ${prefix}/man
139 oldincludedir = /usr/include
141 program_transform_name = s,x,x,
142 sbindir = ${exec_prefix}/sbin
143 sharedstatedir = ${prefix}/com
144 sysconfdir = ${prefix}/etc
145 target = i686-redhat-linux-gnu
148 target_os = linux-gnu
149 target_vendor = redhat
151 AM_CFLAGS = -Wall -D_GNU_SOURCE \
152 -DBUILDSTR="\"`cat .buildno`\""
158 sbin_PROGRAMS = siproxd
159 siproxd_SOURCES = siproxd.c proxy.c register.c sock.c utils.c \
160 sip_utils.c log.c readconf.c rtpproxy.c \
161 rtpproxy_relay.c accessctl.c route_processing.c \
162 security.c auth.c fwapi.c
166 # an example for a custom firewall control module
167 # that can be linked into siproxd (--with-custom-fwmodule)
169 noinst_LIBRARIES = libcustom_fw_module.a
170 libcustom_fw_module_a_SOURCES = custom_fw_module.c
172 noinst_HEADERS = log.h rewrite_rules.h siproxd.h digcalc.h rtpproxy.h \
176 EXTRA_DIST = .buildno
178 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
179 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
180 CONFIG_HEADER = $(top_builddir)/config.h
182 LIBRARIES = $(noinst_LIBRARIES)
184 libcustom_fw_module_a_AR = $(AR) cru
185 libcustom_fw_module_a_LIBADD =
186 am_libcustom_fw_module_a_OBJECTS = custom_fw_module.$(OBJEXT)
187 libcustom_fw_module_a_OBJECTS = $(am_libcustom_fw_module_a_OBJECTS)
188 sbin_PROGRAMS = siproxd$(EXEEXT)
189 PROGRAMS = $(sbin_PROGRAMS)
191 am_siproxd_OBJECTS = siproxd.$(OBJEXT) proxy.$(OBJEXT) \
192 register.$(OBJEXT) sock.$(OBJEXT) utils.$(OBJEXT) \
193 sip_utils.$(OBJEXT) log.$(OBJEXT) readconf.$(OBJEXT) \
194 rtpproxy.$(OBJEXT) rtpproxy_relay.$(OBJEXT) accessctl.$(OBJEXT) \
195 route_processing.$(OBJEXT) security.$(OBJEXT) auth.$(OBJEXT) \
197 siproxd_OBJECTS = $(am_siproxd_OBJECTS)
198 siproxd_LDADD = $(LDADD)
199 siproxd_DEPENDENCIES =
202 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
203 depcomp = $(SHELL) $(top_srcdir)/scripts/depcomp
204 am__depfiles_maybe = depfiles
205 DEP_FILES = ./$(DEPDIR)/accessctl.Po ./$(DEPDIR)/auth.Po \
206 ./$(DEPDIR)/custom_fw_module.Po \
207 ./$(DEPDIR)/fwapi.Po ./$(DEPDIR)/log.Po \
208 ./$(DEPDIR)/proxy.Po ./$(DEPDIR)/readconf.Po \
209 ./$(DEPDIR)/register.Po \
210 ./$(DEPDIR)/route_processing.Po \
211 ./$(DEPDIR)/rtpproxy.Po \
212 ./$(DEPDIR)/rtpproxy_relay.Po \
213 ./$(DEPDIR)/security.Po ./$(DEPDIR)/sip_utils.Po \
214 ./$(DEPDIR)/siproxd.Po ./$(DEPDIR)/sock.Po \
216 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
217 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
219 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
220 DIST_SOURCES = $(libcustom_fw_module_a_SOURCES) $(siproxd_SOURCES)
221 HEADERS = $(noinst_HEADERS)
223 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in Makefile.am
224 SOURCES = $(libcustom_fw_module_a_SOURCES) $(siproxd_SOURCES)
229 .SUFFIXES: .c .o .obj
230 #$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
231 # cd $(top_srcdir) && \
232 # $(AUTOMAKE) --gnu src/Makefile
237 clean-noinstLIBRARIES:
238 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
239 libcustom_fw_module.a: $(libcustom_fw_module_a_OBJECTS) $(libcustom_fw_module_a_DEPENDENCIES)
240 -rm -f libcustom_fw_module.a
241 $(libcustom_fw_module_a_AR) libcustom_fw_module.a $(libcustom_fw_module_a_OBJECTS) $(libcustom_fw_module_a_LIBADD)
242 $(RANLIB) libcustom_fw_module.a
243 sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
244 install-sbinPROGRAMS: $(sbin_PROGRAMS)
246 $(mkinstalldirs) $(DESTDIR)$(sbindir)
247 @list='$(sbin_PROGRAMS)'; for p in $$list; do \
248 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
251 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
252 echo " $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
253 $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f || exit 1; \
257 uninstall-sbinPROGRAMS:
259 @list='$(sbin_PROGRAMS)'; for p in $$list; do \
260 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
261 echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
262 rm -f $(DESTDIR)$(sbindir)/$$f; \
266 -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
267 siproxd$(EXEEXT): $(siproxd_OBJECTS) $(siproxd_DEPENDENCIES)
268 @rm -f siproxd$(EXEEXT)
269 $(LINK) $(siproxd_LDFLAGS) $(siproxd_OBJECTS) $(siproxd_LDADD) $(LIBS)
272 -rm -f *.$(OBJEXT) core *.core
277 #include ./$(DEPDIR)/accessctl.Po
278 #include ./$(DEPDIR)/auth.Po
279 #include ./$(DEPDIR)/custom_fw_module.Po
280 #include ./$(DEPDIR)/fwapi.Po
281 #include ./$(DEPDIR)/log.Po
282 #include ./$(DEPDIR)/proxy.Po
283 #include ./$(DEPDIR)/readconf.Po
284 #include ./$(DEPDIR)/register.Po
285 #include ./$(DEPDIR)/route_processing.Po
286 #include ./$(DEPDIR)/rtpproxy.Po
287 #include ./$(DEPDIR)/rtpproxy_relay.Po
288 #include ./$(DEPDIR)/security.Po
289 #include ./$(DEPDIR)/sip_utils.Po
290 #include ./$(DEPDIR)/siproxd.Po
291 #include ./$(DEPDIR)/sock.Po
292 #include ./$(DEPDIR)/utils.Po
295 # if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
296 # -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
297 # then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
298 # else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
300 # source='$<' object='$@' libtool=no \
301 # depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
302 # $(CCDEPMODE) $(depcomp) \
303 # $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
307 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
308 -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
309 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
310 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
312 # source='$<' object='$@' libtool=no \
313 # depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
314 # $(CCDEPMODE) $(depcomp) \
315 # $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
326 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
327 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
328 unique=`for i in $$list; do \
329 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
331 $(AWK) ' { files[$$0] = 1; } \
332 END { for (i in files) print i; }'`; \
335 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
336 $(TAGS_FILES) $(LISP)
339 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
340 unique=`for i in $$list; do \
341 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
343 $(AWK) ' { files[$$0] = 1; } \
344 END { for (i in files) print i; }'`; \
345 test -z "$(ETAGS_ARGS)$$tags$$unique" \
346 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
350 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
351 $(TAGS_FILES) $(LISP)
354 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
355 unique=`for i in $$list; do \
356 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
358 $(AWK) ' { files[$$0] = 1; } \
359 END { for (i in files) print i; }'`; \
360 test -z "$(CTAGS_ARGS)$$tags$$unique" \
361 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
365 here=`$(am__cd) $(top_builddir) && pwd` \
366 && cd $(top_srcdir) \
367 && gtags -i $(GTAGS_ARGS) $$here
370 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
371 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
374 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
376 distdir: $(DISTFILES)
377 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
378 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
379 list='$(DISTFILES)'; for file in $$list; do \
381 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
382 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
384 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
385 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
386 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
388 $(mkinstalldirs) "$(distdir)$$dir"; \
392 if test -d $$d/$$file; then \
393 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
394 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
396 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
398 test -f $(distdir)/$$file \
399 || cp -p $$d/$$file $(distdir)/$$file \
405 all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS)
408 $(mkinstalldirs) $(DESTDIR)$(sbindir)
410 install-exec: install-exec-am
411 install-data: install-data-am
412 uninstall: uninstall-am
415 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
417 installcheck: installcheck-am
419 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
420 INSTALL_STRIP_FLAG=-s \
421 `test -z '$(STRIP)' || \
422 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
428 -rm -f $(CONFIG_CLEAN_FILES)
430 maintainer-clean-generic:
431 @echo "This command is intended for maintainers to use"
432 @echo "it deletes files that may require special tools to rebuild."
435 clean-am: clean-generic clean-noinstLIBRARIES clean-sbinPROGRAMS \
438 distclean: distclean-am
441 distclean-am: clean-am distclean-compile distclean-generic \
454 install-exec-am: install-sbinPROGRAMS
456 install-info: install-info-am
462 maintainer-clean: maintainer-clean-am
465 maintainer-clean-am: distclean-am maintainer-clean-generic
467 mostlyclean: mostlyclean-am
469 mostlyclean-am: mostlyclean-compile mostlyclean-generic
479 uninstall-am: uninstall-info-am uninstall-sbinPROGRAMS
481 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
482 clean-noinstLIBRARIES clean-sbinPROGRAMS ctags distclean \
483 distclean-compile distclean-generic distclean-tags distdir dvi \
484 dvi-am info info-am install install-am install-data \
485 install-data-am install-exec install-exec-am install-info \
486 install-info-am install-man install-sbinPROGRAMS install-strip \
487 installcheck installcheck-am installdirs maintainer-clean \
488 maintainer-clean-generic mostlyclean mostlyclean-compile \
489 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
490 uninstall-am uninstall-info-am uninstall-sbinPROGRAMS
494 # count BUILDs - each time increment by one and define the
495 # C macro BUILDNO. bind it to a file everybody includes (log.h)
497 log.h: increment_build
500 @echo "incrementing BUILD number"
501 @if [ -f .buildno ]; then \
502 bld=`cat .buildno`; \
503 bld=`expr $${bld} + 1`; \
507 echo "$${bld}" >.buildno;
508 # Tell versions [3.59,3.63) of GNU make to not export all variables.
509 # Otherwise a system limit (for SysV at least) may be exceeded.