Revert "Revert "and added files""
[bcm963xx.git] / userapps / opensource / siproxd / src / Makefile
1 # Makefile.in generated by automake 1.7.8 from Makefile.am.
2 # src/Makefile.  Generated from Makefile.in by configure.
3
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.
9
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
13 # PARTICULAR PURPOSE.
14
15
16
17 #
18 #    Copyright (C) 2002-2005  Thomas Ries <tries@gmx.net>
19 #
20 #    This file is part of Siproxd.
21 #    
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.
26 #    
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.
31 #    
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 
35 #
36
37 srcdir = .
38 top_srcdir = ..
39
40 pkgdatadir = $(datadir)/siproxd
41 pkglibdir = $(libdir)/siproxd
42 pkgincludedir = $(includedir)/siproxd
43 top_builddir = ..
44
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)
52 NORMAL_INSTALL = :
53 PRE_INSTALL = :
54 POST_INSTALL = :
55 NORMAL_UNINSTALL = :
56 PRE_UNINSTALL = :
57 POST_UNINSTALL = :
58 build_triplet = i686-redhat-linux-gnu
59 host_triplet = i686-redhat-linux-gnu
60 target_triplet = i686-redhat-linux-gnu
61 ACLOCAL = aclocal-1.7
62 AMDEP_FALSE = #
63 AMDEP_TRUE = 
64 AMTAR = tar
65 AUTOCONF = autoconf
66 AUTOHEADER = autoheader
67 AUTOMAKE = automake-1.7
68 AWK = gawk
69 #CC = gcc
70 CCDEPMODE = depmode=gcc3
71 CFLAGS = -Os -pthread -D_POSIX_THREAD_SAFE_FUNCTIONS -s -fomit-frame-pointer -fno-exceptions
72 #CPP = gcc -E
73 CPPFLAGS =  -I../../libosip2/include
74 CYGPATH_W = echo
75 DEFS = -DHAVE_CONFIG_H
76 DEPDIR = .deps
77 ECHO_C = 
78 ECHO_N = -n
79 ECHO_T = 
80 EGREP = grep -E
81 EXEEXT = 
82 INSTALL_DATA = ${INSTALL} -m 644
83 INSTALL_PROGRAM = ${INSTALL}
84 INSTALL_SCRIPT = ${INSTALL}
85 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
86 LDFLAGS = 
87 LIBOBJS = 
88 LIBS = -losipparser2 -losip2 -L../../libosip2/lib   
89 LN_S = ln -s
90 LTLIBOBJS = 
91 MAKEINFO = makeinfo
92 OBJEXT = o
93 PACKAGE = siproxd
94 PACKAGE_BUGREPORT = 
95 PACKAGE_NAME = 
96 PACKAGE_STRING = 
97 PACKAGE_TARNAME = 
98 PACKAGE_VERSION = 
99 PATH_SEPARATOR = :
100 PTHREAD_CC = gcc
101 PTHREAD_CFLAGS = -pthread
102 PTHREAD_LIBS = 
103 #RANLIB = ranlib
104 SET_MAKE = 
105 SHELL = /bin/sh
106 STRIP = 
107 VERSION = 0.5.10
108 ac_ct_CC = gcc
109 ac_ct_RANLIB = ranlib
110 ac_ct_STRIP = 
111 am__fastdepCC_FALSE = #
112 am__fastdepCC_TRUE = 
113 am__include = include
114 am__leading_dot = .
115 am__quote = 
116 bindir = ${exec_prefix}/bin
117 build = i686-redhat-linux-gnu
118 build_alias = 
119 build_cpu = i686
120 build_os = linux-gnu
121 build_vendor = redhat
122 datadir = ${prefix}/share
123 exec_prefix = ${prefix}
124 extra_includes = 
125 extra_libs = 
126 host = i686-redhat-linux-gnu
127 host_alias = 
128 host_cpu = i686
129 host_os = linux-gnu
130 host_vendor = redhat
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
140 prefix = /usr/local
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
146 target_alias = 
147 target_cpu = i686
148 target_os = linux-gnu
149 target_vendor = redhat
150
151 AM_CFLAGS = -Wall -D_GNU_SOURCE \
152             -DBUILDSTR="\"`cat .buildno`\""
153
154
155 #
156 # Siproxd itself
157 #
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
163
164
165 #
166 # an example for a custom firewall control module
167 # that can be linked into siproxd (--with-custom-fwmodule)
168 #
169 noinst_LIBRARIES = libcustom_fw_module.a
170 libcustom_fw_module_a_SOURCES = custom_fw_module.c
171
172 noinst_HEADERS = log.h rewrite_rules.h siproxd.h digcalc.h rtpproxy.h \
173                  fwapi.h
174
175
176 EXTRA_DIST = .buildno
177 subdir = src
178 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
179 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
180 CONFIG_HEADER = $(top_builddir)/config.h
181 CONFIG_CLEAN_FILES =
182 LIBRARIES = $(noinst_LIBRARIES)
183
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)
190
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) \
196         fwapi.$(OBJEXT)
197 siproxd_OBJECTS = $(am_siproxd_OBJECTS)
198 siproxd_LDADD = $(LDADD)
199 siproxd_DEPENDENCIES =
200 siproxd_LDFLAGS =
201
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 \
215         ./$(DEPDIR)/utils.Po
216 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
217         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
218 CCLD = $(CC)
219 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
220 DIST_SOURCES = $(libcustom_fw_module_a_SOURCES) $(siproxd_SOURCES)
221 HEADERS = $(noinst_HEADERS)
222
223 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in Makefile.am
224 SOURCES = $(libcustom_fw_module_a_SOURCES) $(siproxd_SOURCES)
225
226 all: all-am
227
228 .SUFFIXES:
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
233 #Makefile: 
234
235 #AR = ar
236
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)
245         @$(NORMAL_INSTALL)
246         $(mkinstalldirs) $(DESTDIR)$(sbindir)
247         @list='$(sbin_PROGRAMS)'; for p in $$list; do \
248           p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
249           if test -f $$p \
250           ; then \
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; \
254           else :; fi; \
255         done
256
257 uninstall-sbinPROGRAMS:
258         @$(NORMAL_UNINSTALL)
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; \
263         done
264
265 clean-sbinPROGRAMS:
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)
270
271 mostlyclean-compile:
272         -rm -f *.$(OBJEXT) core *.core
273
274 distclean-compile:
275         -rm -f *.tab.c
276
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
293
294 .c.o:
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; \
299 #       fi
300 #       source='$<' object='$@' libtool=no \
301 #       depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
302 #       $(CCDEPMODE) $(depcomp) \
303 #       $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
304         $(COMPILE) -c $<
305
306 .c.obj:
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; \
311         fi
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`
316 uninstall-info-am:
317
318 ETAGS = etags
319 ETAGSFLAGS =
320
321 CTAGS = ctags
322 CTAGSFLAGS =
323
324 tags: TAGS
325
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; \
330           done | \
331           $(AWK) '    { files[$$0] = 1; } \
332                END { for (i in files) print i; }'`; \
333         mkid -fID $$unique
334
335 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
336                 $(TAGS_FILES) $(LISP)
337         tags=; \
338         here=`pwd`; \
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; \
342           done | \
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) \
347              $$tags $$unique
348
349 ctags: CTAGS
350 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
351                 $(TAGS_FILES) $(LISP)
352         tags=; \
353         here=`pwd`; \
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; \
357           done | \
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) \
362              $$tags $$unique
363
364 GTAGS:
365         here=`$(am__cd) $(top_builddir) && pwd` \
366           && cd $(top_srcdir) \
367           && gtags -i $(GTAGS_ARGS) $$here
368
369 distclean-tags:
370         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
371 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
372
373 top_distdir = ..
374 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
375
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 \
380           case $$file in \
381             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
382             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
383           esac; \
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 \
387             dir="/$$dir"; \
388             $(mkinstalldirs) "$(distdir)$$dir"; \
389           else \
390             dir=''; \
391           fi; \
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; \
395             fi; \
396             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
397           else \
398             test -f $(distdir)/$$file \
399             || cp -p $$d/$$file $(distdir)/$$file \
400             || exit 1; \
401           fi; \
402         done
403 check-am: all-am
404 check: check-am
405 all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS)
406
407 installdirs:
408         $(mkinstalldirs) $(DESTDIR)$(sbindir)
409 install: install-am
410 install-exec: install-exec-am
411 install-data: install-data-am
412 uninstall: uninstall-am
413
414 install-am: all-am
415         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
416
417 installcheck: installcheck-am
418 install-strip:
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
423 mostlyclean-generic:
424
425 clean-generic:
426
427 distclean-generic:
428         -rm -f $(CONFIG_CLEAN_FILES)
429
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."
433 clean: clean-am
434
435 clean-am: clean-generic clean-noinstLIBRARIES clean-sbinPROGRAMS \
436         mostlyclean-am
437
438 distclean: distclean-am
439         -rm -rf ./$(DEPDIR)
440         -rm -f Makefile
441 distclean-am: clean-am distclean-compile distclean-generic \
442         distclean-tags
443
444 dvi: dvi-am
445
446 dvi-am:
447
448 info: info-am
449
450 info-am:
451
452 install-data-am:
453
454 install-exec-am: install-sbinPROGRAMS
455
456 install-info: install-info-am
457
458 install-man:
459
460 installcheck-am:
461
462 maintainer-clean: maintainer-clean-am
463         -rm -rf ./$(DEPDIR)
464         -rm -f Makefile
465 maintainer-clean-am: distclean-am maintainer-clean-generic
466
467 mostlyclean: mostlyclean-am
468
469 mostlyclean-am: mostlyclean-compile mostlyclean-generic
470
471 pdf: pdf-am
472
473 pdf-am:
474
475 ps: ps-am
476
477 ps-am:
478
479 uninstall-am: uninstall-info-am uninstall-sbinPROGRAMS
480
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
491
492
493 #
494 # count BUILDs - each time increment by one and define the
495 # C macro BUILDNO. bind it to a file everybody includes (log.h)
496 #
497 log.h: increment_build
498
499 increment_build:
500         @echo "incrementing BUILD number"
501         @if [ -f .buildno ]; then \
502           bld=`cat .buildno`; \
503           bld=`expr $${bld} + 1`; \
504         else \
505           bld=1; \
506         fi; \
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.
510 .NOEXPORT: