~ubuntu-branches/debian/sid/libnice/sid

« back to all changes in this revision

Viewing changes to docs/reference/libnice/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Laurent Bigonville
  • Date: 2012-04-08 00:21:29 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20120408002129-kqpmjbj4z3yzl8qv
Tags: 0.1.2-1
* New upstream release.
  - Bump libglib2.0-dev build-dependency
* debian/control:
  - Bump Standards-Version to 3.9.3 (no further changes)
  - Bump libgstreamer0.10-dev build-dependency to have multiarch support
* Install gstreamer0.10-nice into multiarch path

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
POST_UNINSTALL = :
40
40
build_triplet = @build@
41
41
host_triplet = @host@
 
42
target_triplet = @target@
42
43
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
43
44
        $(top_srcdir)/gtk-doc.make
44
45
subdir = docs/reference/libnice
91
92
GST_CFLAGS = @GST_CFLAGS@
92
93
GST_LIBS = @GST_LIBS@
93
94
GTKDOC_CHECK = @GTKDOC_CHECK@
 
95
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
 
96
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
94
97
GTKDOC_MKPDF = @GTKDOC_MKPDF@
95
98
GTKDOC_REBASE = @GTKDOC_REBASE@
96
99
GUPNP_CFLAGS = @GUPNP_CFLAGS@
188
191
sharedstatedir = @sharedstatedir@
189
192
srcdir = @srcdir@
190
193
sysconfdir = @sysconfdir@
 
194
target = @target@
191
195
target_alias = @target_alias@
 
196
target_cpu = @target_cpu@
 
197
target_os = @target_os@
 
198
target_vendor = @target_vendor@
192
199
top_build_prefix = @top_build_prefix@
193
200
top_builddir = @top_builddir@
194
201
top_srcdir = @top_srcdir@
269
276
GTKDOC_LIBS = $(top_builddir)/agent/libagent.la $(GLIB_LIBS) $(top_builddir)/stun/libstun.la \
270
277
         $(GUPNP_LIBS)
271
278
 
272
 
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
273
 
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
274
 
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
275
 
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
 
279
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
280
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
281
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
 
282
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
276
283
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = 
277
284
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
278
285
 
289
296
        $(DOC_MODULE)-sections.txt      \
290
297
        $(DOC_MODULE)-overrides.txt
291
298
 
292
 
 
293
 
# This includes the standard gtk-doc make rules, copied by gtkdocize.
294
 
 
295
 
# Other files to distribute
296
 
# e.g. EXTRA_DIST += version.xml.in
297
 
EXTRA_DIST = $(SETUP_FILES)
 
299
EXTRA_DIST = \
 
300
        $(HTML_IMAGES)                  \
 
301
        $(SETUP_FILES)
 
302
 
298
303
DOC_STAMPS = setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
299
304
        html-build.stamp pdf-build.stamp \
300
 
        setup.stamp tmpl.stamp sgml.stamp html.stamp pdf.stamp
 
305
        tmpl.stamp sgml.stamp html.stamp pdf.stamp
301
306
 
302
307
SCANOBJ_FILES = \
303
308
        $(DOC_MODULE).args       \
527
532
 
528
533
setup-build.stamp:
529
534
        -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
530
 
           echo 'gtk-doc: Preparing build'; \
531
 
           files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
532
 
           if test "x$$files" != "x" ; then \
533
 
               for file in $$files ; do \
534
 
                   test -f $(abs_srcdir)/$$file && \
535
 
                       cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \
536
 
               done \
537
 
           fi; \
538
 
           test -f $(abs_srcdir)/tmpl && \
539
 
               cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
 
535
            echo '  DOC   Preparing build'; \
 
536
            files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
 
537
            if test "x$$files" != "x" ; then \
 
538
                for file in $$files ; do \
 
539
                    test -f $(abs_srcdir)/$$file && \
 
540
                        cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
 
541
                done; \
 
542
            fi; \
 
543
            test -d $(abs_srcdir)/tmpl && \
 
544
                { cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
 
545
                chmod -R u+w $(abs_builddir)/tmpl; } \
540
546
        fi
541
547
        @touch setup-build.stamp
542
548
 
543
 
setup.stamp: setup-build.stamp
544
 
        @true
545
 
 
546
549
#### scan ####
547
550
 
548
551
scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
549
 
        @echo 'gtk-doc: Scanning header files'
 
552
        @echo '  DOC   Scanning header files'
550
553
        @_source_dir='' ; \
551
554
        for i in $(DOC_SOURCE_DIR) ; do \
552
555
            _source_dir="$${_source_dir} --source-dir=$$i" ; \
553
556
        done ; \
554
557
        gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
555
558
        @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
556
 
            CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) ; \
 
559
            echo "  DOC   Introspecting gobjects"; \
 
560
            scanobj_options=""; \
 
561
            gtkdoc-scangobj 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
 
562
            if test "$(?)" = "0"; then \
 
563
                if test "x$(V)" = "x1"; then \
 
564
                    scanobj_options="--verbose"; \
 
565
                fi; \
 
566
            fi; \
 
567
            CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
 
568
            gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
557
569
        else \
558
570
            for i in $(SCANOBJ_FILES) ; do \
559
 
               test -f $$i || touch $$i ; \
 
571
                test -f $$i || touch $$i ; \
560
572
            done \
561
573
        fi
562
574
        @touch scan-build.stamp
566
578
 
567
579
#### templates ####
568
580
 
569
 
tmpl-build.stamp: setup.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
570
 
        @echo 'gtk-doc: Rebuilding template files'
 
581
tmpl-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
 
582
        @echo '  DOC   Rebuilding template files'
571
583
        @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
572
584
        @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
573
585
          if test -w $(abs_srcdir) ; then \
585
597
#### xml ####
586
598
 
587
599
sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
588
 
        @echo 'gtk-doc: Building XML'
 
600
        @echo '  DOC   Building XML'
589
601
        @-chmod -R u+w $(srcdir)
590
602
        @_source_dir='' ; \
591
603
        for i in $(DOC_SOURCE_DIR) ; do \
600
612
#### html ####
601
613
 
602
614
html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
603
 
        @echo 'gtk-doc: Building HTML'
 
615
        @echo '  DOC   Building HTML'
604
616
        @rm -rf html
605
617
        @mkdir html
606
618
        @mkhtml_options=""; \
 
619
        gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
 
620
        if test "$(?)" = "0"; then \
 
621
          if test "x$(V)" = "x1"; then \
 
622
            mkhtml_options="$$mkhtml_options --verbose"; \
 
623
          fi; \
 
624
        fi; \
607
625
        gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-path"; \
608
626
        if test "$(?)" = "0"; then \
609
 
          mkhtml_options=--path="$(abs_srcdir)"; \
 
627
          mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
610
628
        fi; \
611
629
        cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
612
630
        -@test "x$(HTML_IMAGES)" = "x" || \
618
636
            cp $(abs_builddir)/$$file $(abs_builddir)/html; \
619
637
          fi; \
620
638
        done;
621
 
        @echo 'gtk-doc: Fixing cross-references'
 
639
        @echo '  DOC   Fixing cross-references'
622
640
        @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
623
641
        @touch html-build.stamp
624
642
 
625
643
#### pdf ####
626
644
 
627
645
pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
628
 
        @echo 'gtk-doc: Building PDF'
629
 
        @rm -rf $(DOC_MODULE).pdf
630
 
        @mkpdf_imgdirs=""; \
 
646
        @echo '  DOC   Building PDF'
 
647
        @rm -f $(DOC_MODULE).pdf
 
648
        @mkpdf_options=""; \
 
649
        gtkdoc-mkpdf 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
 
650
        if test "$(?)" = "0"; then \
 
651
          if test "x$(V)" = "x1"; then \
 
652
            mkpdf_options="$$mkpdf_options --verbose"; \
 
653
          fi; \
 
654
        fi; \
631
655
        if test "x$(HTML_IMAGES)" != "x"; then \
632
656
          for img in $(HTML_IMAGES); do \
633
657
            part=`dirname $$img`; \
634
 
            echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \
 
658
            echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
635
659
            if test $$? != 0; then \
636
 
              mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \
 
660
              mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
637
661
            fi; \
638
662
          done; \
639
663
        fi; \
640
 
        gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
 
664
        gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
641
665
        @touch pdf-build.stamp
642
666
 
643
667
##############
644
668
 
645
669
clean-local:
646
 
        rm -f *~ *.bak
647
 
        rm -rf .libs
 
670
        @rm -f *~ *.bak
 
671
        @rm -rf .libs
648
672
 
649
673
distclean-local:
650
 
        rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
 
674
        @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
651
675
            $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
652
 
        if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
 
676
        @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
653
677
            rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
654
678
            rm -rf tmpl; \
655
679
        fi
656
680
 
657
681
maintainer-clean-local: clean
658
 
        rm -rf xml html
 
682
        @rm -rf xml html
659
683
 
660
684
install-data-local:
661
 
        @installfiles=`echo $(srcdir)/html/*`; \
662
 
        if test "$$installfiles" = '$(srcdir)/html/*'; \
663
 
        then echo '-- Nothing to install' ; \
 
685
        @installfiles=`echo $(builddir)/html/*`; \
 
686
        if test "$$installfiles" = '$(builddir)/html/*'; \
 
687
        then echo 1>&2 'Nothing to install' ; \
664
688
        else \
665
689
          if test -n "$(DOC_MODULE_VERSION)"; then \
666
690
            installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
669
693
          fi; \
670
694
          $(mkinstalldirs) $${installdir} ; \
671
695
          for i in $$installfiles; do \
672
 
            echo '-- Installing '$$i ; \
 
696
            echo ' $(INSTALL_DATA) '$$i ; \
673
697
            $(INSTALL_DATA) $$i $${installdir}; \
674
698
          done; \
675
699
          if test -n "$(DOC_MODULE_VERSION)"; then \
676
700
            mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
677
701
              $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
678
 
            mv -f $${installdir}/$(DOC_MODULE).devhelp \
679
 
              $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
680
702
          fi; \
681
703
          $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
682
704
        fi
698
720
@ENABLE_GTK_DOC_FALSE@  @false
699
721
 
700
722
dist-hook: dist-check-gtkdoc dist-hook-local
701
 
        mkdir $(distdir)/tmpl
702
 
        mkdir $(distdir)/html
703
 
        -cp $(build)/tmpl/*.sgml $(distdir)/tmpl
704
 
        cp $(builddir)/html/* $(distdir)/html
705
 
        -cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/
706
 
        -cp $(build)/$(DOC_MODULE).types $(distdir)/
707
 
        -cp $(build)/$(DOC_MODULE)-sections.txt $(distdir)/
708
 
        cd $(distdir) && rm -f $(DISTCLEANFILES)
709
 
        $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
 
723
        @mkdir $(distdir)/tmpl
 
724
        @mkdir $(distdir)/html
 
725
        @-cp ./tmpl/*.sgml $(distdir)/tmpl
 
726
        @cp ./html/* $(distdir)/html
 
727
        @-cp ./$(DOC_MODULE).pdf $(distdir)/
 
728
        @-cp ./$(DOC_MODULE).types $(distdir)/
 
729
        @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
 
730
        @cd $(distdir) && rm -f $(DISTCLEANFILES)
 
731
        @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
710
732
 
711
733
.PHONY : dist-hook-local docs
712
734
 
 
735
# This includes the standard gtk-doc make rules, copied by gtkdocize.
 
736
 
 
737
# Other files to distribute
 
738
# e.g. EXTRA_DIST += version.xml.in
 
739
#EXTRA_DIST +=
 
740
 
713
741
# Files not to distribute
714
742
# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
715
743
# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt