TDE core libraries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.am.in 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. # This file is part of the KDE libraries
  2. # Copyright (C) 1996-1997 Matthias Kalle Dalheimer (kalle@kde.org)
  3. # (C) 1997,1998 Stephan Kulow (coolo@kde.org)
  4. # This library is free software; you can redistribute it and/or
  5. # modify it under the terms of the GNU Library General Public
  6. # License as published by the Free Software Foundation; either
  7. # version 2 of the License, or (at your option) any later version.
  8. # This library is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. # Library General Public License for more details.
  12. # You should have received a copy of the GNU Library General Public License
  13. # along with this library; see the file COPYING.LIB. If not, write to
  14. # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  15. # Boston, MA 02110-1301, USA.
  16. COMPILE_FIRST = dcop libltdl tdefx tdecore tdeunittest tdeui tdesu kjs tdewallet tdeio kded kded_post
  17. COMPILE_BEFORE_doc = kdoctools
  18. COMPILE_AFTER_tdeparts = tdespell2 tdemdi tdeprint tdeinit kate interfaces tdecert tdehtml tderandr
  19. COMPILE_AFTER_tdeprint = kate tdehtml
  20. COMPILE_BEFORE_tdehtml = tdeutils
  21. COMPILE_BEFORE_tdeabc = kab tderesources
  22. COMPILE_BEFORE_kate = interfaces tdeutils
  23. COMPILE_BEFORE_tdemdi = tdeutils
  24. COMPILE_BEFORE_tdespell2 = tdeutils
  25. COMPILE_BEFORE_tdecmshell = tdeutils
  26. COMPILE_BEFORE_tdewidgets = tdeabc tdehtml
  27. COMPILE_BEFORE_interfaces = arts tdeabc
  28. $(top_srcdir)/acinclude.m4: $(top_srcdir)/libltdl/ltdl.m4
  29. AUTOMAKE_OPTIONS = foreign 1.6.1
  30. potdir = $(kde_includes)
  31. pot_DATA = tde.pot
  32. messages:
  33. cd tdeabc/scripts && perl ./makeaddressee
  34. find . -type d | grep -v '\.svn' | sed -e 's,$$,/,' > dirs
  35. mfs=`find . -name Makefile.am | xargs egrep -l '^messages:'` ;\
  36. for dir in $$mfs; do \
  37. if test "$$dir" != "./Makefile.am"; then \
  38. dir=`dirname $$dir` ;\
  39. egrep -v "^$$dir" dirs > dirs.new && mv dirs.new dirs ;\
  40. fi ;\
  41. done
  42. fgrep -v "/tests" dirs > dirs.new && mv dirs.new dirs ;\
  43. dirs=`cat dirs` ;\
  44. find $$dirs -maxdepth 1 -name "*.cpp" -print > files ;\
  45. find $$dirs -maxdepth 1 -name "*.cc" -print >> files ;\
  46. find $$dirs -maxdepth 1 -name "*.h" -print >> files ;\
  47. echo ./tdecore/tde-config.cpp.in >> files ;\
  48. $(EXTRACTRC) `find $$dirs -maxdepth 1 \( -name "*.rc" -o -name "*.ui" \) ` ./dnssd/kcm_tdednssd.kcfg > rc.cpp; \
  49. : > tde.pot ;\
  50. $(XGETTEXT) common_texts.cpp -o tde.pot
  51. rm -f dirs
  52. EXTRA_DIST = admin tde.pot \
  53. COMPILING COMPILING.html COPYING.BSD DEBUG \
  54. KDE2PORTING.html NAMING common_texts.cpp tdelibs.lsm kdoc.rules \
  55. configure.in.in configure.in.mid configure.in.bot
  56. MAINTAINERCLEANFILES = configure.files subdirs
  57. dist-hook:
  58. cd $(top_distdir) && perl $(top_srcdir)/admin/am_edit -padmin
  59. # Rule for generating HTML documentation [you need kdoc installed]
  60. # Don't forget to run qt2kdoc first (qt2kdoc $TQTDIR/doc/html)
  61. # The tdelibs docu will end up in ./srcdoc/
  62. kdedoc:
  63. cd $(top_srcdir) && \
  64. makekdedoc -p'--skip-internal' --outputdir=$(top_builddir)/srcdoc
  65. include admin/Doxyfile.am
  66. include admin/deps.am
  67. apidox-am-toplevel-yes: apidox-am-toplevel-tdelibs
  68. apidox-am-toplevel-tdelibs: $(top_builddir)/apidocs/qt/qt.tag
  69. $(top_builddir)/apidocs/qt/qt.tag:
  70. @echo "*** Creating a tag file for the Qt library:"; \
  71. $(mkinstalldirs) $(top_builddir)/apidocs/qt; \
  72. doxytag -t $(top_builddir)/apidocs/qt/qt.tag $(TQTDOCDIR)
  73. install-data-local: install-apidox-tdelibs
  74. ## install the tag file for the Qt documentation
  75. install-apidox-tdelibs:
  76. if test -f $(top_builddir)/apidocs/qt/qt.tag; then \
  77. $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/qt ;\
  78. echo $(INSTALL_DATA) $(top_builddir)/apidocs/qt/qt.tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/qt; \
  79. $(INSTALL_DATA) $(top_builddir)/apidocs/qt/qt.tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/qt; \
  80. fi
  81. .PHONY: install-apidox-tdelibs apidox-am-toplevel-tdelibs apidox-am-toplevel-yes