Commit c69a8713 authored by Urs Fleisch's avatar Urs Fleisch
Browse files

Changed build system from selfmade Makefile to automake/autoconf: Moved source...

Changed build system from selfmade Makefile to automake/autoconf: Moved source code to subdirectory kid3, added administrative files.
parent 5353e459
# Makefile for kid3
CONFIGMK_PATH = $(wildcard config.mk)
ifneq (,$(findstring config.mk,$(CONFIGMK_PATH)))
# read CONFIG_... defines
include config.mk
endif
ifndef QTDIR
QTDIR = /usr/lib/qt3
endif
ifndef KDEDIR
KDEDIR = /opt/kde3
endif
# Output directories
OBJECTS_DIR = .obj
MOC_DIR = .moc
# Compiler, tools and options
CC = gcc
CXX = g++
CFLAGS = -pipe -Wall -W -mcpu=i486 -march=i486
ifdef CONFIG_DEBUG
CFLAGS += -O -g
else
CFLAGS += -O2 -DNO_DEBUG -DQT_NO_DEBUG
endif
CFLAGS += -I$(KDEDIR)/include -I$(QTDIR)/include -I$(MOC_DIR) -I.
CXXFLAGS = $(CFLAGS)
LINK = g++
LFLAGS = -Wl,-rpath,$(QTDIR)/lib -L$(QTDIR)/lib -lqt-mt -lid3
ifdef CONFIG_USE_KDE
LFLAGS += -L$(KDEDIR)/lib -lkdecore -lkdeui -lkio
ifneq (,$(wildcard $(KDEDIR)/lib/libkfile.so))
# library for file dialog in KDE2
LFLAGS += -lkfile
endif
endif
AR = ar cqs
RANLIB =
MOC = $(QTDIR)/bin/moc
TAR = tar -cf
GZIP = gzip -9f
COPY = cp -f
COPY_FILE= $(COPY) -p
COPY_DIR = $(COPY) -pR
DEL_FILE = rm -f
SYMLINK = ln -sf
DEL_DIR = rmdir
MOVE = mv
PERL = /usr/bin/perl
INSTALL = /usr/bin/install -c -p
# quoted the following characters: # -> \#, $ -> $$
# make C defines from Makefile definitions
MK2H = $(PERL) -ne "print if (s/^([^\#][^=\s]*)[\s=]+(.+)$$/\#define \1 \2/)"
# prepend .o filenames by OBJECTS_DIR
ADDOBJDIR = $(PERL) -ne "s/(\w+\.o)/$(OBJECTS_DIR)\/\1/; print"
# quoted the following characters: # -> \#, / -> \/
FINISH_HTML = $(PERL) -ne "s/ufleisch@/ufleisch at /g; s/common\/fdl-license.html/http:\/\/www.gnu.org\/licenses\/licenses.html\#FDL/g; s/common\/gpl-license.html/http:\/\/www.gnu.org\/licenses\/licenses.html\#GPL/g; s/common\/fdl-translated.html/http:\/\/www.gnu.org\/licenses\/licenses.html\#FDL/g; s/common\/gpl-translated.html/http:\/\/www.gnu.org\/licenses\/licenses.html\#GPL/g; s/<div class=\"toc\">.+?<\/div><div class=\"sect1\">/<div class=\"sect1\">/g; print"
# Files
HEADERS = filelist.h framelist.h genres.h kid3_1.h kid3_2.h mp3file.h \
standardtags.h id3form.h
SOURCES = filelist.cpp framelist.cpp genres.cpp kid3.cpp main.cpp \
mp3file.cpp standardtags.cpp id3form.cpp
OBJECTS = $(SOURCES:%.cpp=$(OBJECTS_DIR)/%.o)
SRCMOC = $(MOC_DIR)/moc_framelist.cpp $(MOC_DIR)/moc_kid3.cpp \
$(MOC_DIR)/moc_id3form.cpp
OBJMOC = $(SRCMOC:$(MOC_DIR)/%.cpp=$(OBJECTS_DIR)/%.o)
DIST = AUTHORS COPYING INSTALL LICENSE README ChangeLog \
Makefile config.mk kid3.mak kid3.spec \
hi16-app-kid3.png hi32-app-kid3.png hi48-app-kid3.png \
kid3.desktop kid3ui.rc
DISTNAME = kid3-$(CONFIG_VERSION:"%"=%)
TARGET = kid3
# Implicit rules
$(OBJECTS_DIR)/%.o: %.cpp
$(CXX) -c $(CXXFLAGS) $< -o $@
$(OBJECTS_DIR)/%.o: $(MOC_DIR)/%.cpp
$(CXX) -c $(CXXFLAGS) $< -o $@
$(MOC_DIR)/moc_%.cpp: %.h
$(MOC) $< -o $@
# Build rules
all: autoconf.h .depend $(TARGET) docs i18n
ifneq (,$(findstring config.mk,$(CONFIGMK_PATH)))
# generate autoconf.h from config.mk
autoconf.h: config.mk
$(MK2H) $< >$@
endif
$(TARGET): $(OBJECTS) $(OBJMOC)
$(LINK) $(LFLAGS) -o $(TARGET) $^
mocables: $(SRCMOC)
mocclean:
-$(DEL_FILE) $(OBJMOC)
-$(DEL_FILE) $(SRCMOC)
clean: mocclean
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) *~ core *.core
-$(DEL_FILE) kid3.h
-$(DEL_FILE) autoconf.h
distclean: clean
-$(DEL_FILE) $(TARGET)
-$(DEL_FILE) TAGS
-$(DEL_FILE) .depend
-$(DEL_FILE) po/de/kid3.mo
-$(DEL_FILE) kid3_de.qm
-$(DEL_FILE) doc/en/index.cache.bz2
-$(DEL_FILE) doc/de/index.cache.bz2
FORCE:
####### Compile
# moc can't handle ifdefs, so we create a partially preprocessed file before
kid3.h: kid3_1.h kid3_2.h autoconf.h
echo -e "#ifndef KID3_H\n#define KID3_H" >kid3.h
cat kid3_1.h >>kid3.h
$(CXX) -E -C -P -x c++ $(CXXFLAGS) kid3_2.h >>kid3.h
echo "#endif" >>kid3.h
# Internationalization
ifdef CONFIG_USE_KDE
i18n: po/de/kid3.mo
else
i18n: kid3_de.qm
endif
po/de/kid3.po: $(SOURCES)
xgettext --omit-header -C -ki18n -kI18N_NOOP -ktr2i18n -ktranslate -x/opt/kde3/include/kde.pot -otmp.po $(SOURCES)
msgmerge -U $@ tmp.po
$(DEL_FILE) tmp.po
po/de/kid3.mo: po/de/kid3.po
msgfmt -o $@ $<
# Translation for Qt (non-KDE) application
kid3_de.qm: po/de/kid3.po po/de/kid3qt.po
cat po/de/kid3.po po/de/kid3qt.po >tmp.po; \
$(QTDIR)/bin/msg2qm tmp.po kid3_de.qm; \
$(DEL_FILE) tmp.po
# Documentation
ifdef CONFIG_USE_KDE
docs: doc/en/index.cache.bz2 doc/de/index.cache.bz2
else
docs: kid3_en.html kid3_de.html
endif
doc/en/index.cache.bz2: doc/en/index.docbook
$(KDEDIR)/bin/meinproc --check --cache doc/en/index.cache.bz2 doc/en/index.docbook
doc/de/index.cache.bz2: doc/de/index.docbook
$(KDEDIR)/bin/meinproc --check --cache doc/de/index.cache.bz2 doc/de/index.docbook
kid3_en.html: doc/en/index.docbook
SGML_CATALOG_FILES=$(KDEDIR)/share/apps/ksgmltools2/customization/catalog xsltproc --catalogs $(KDEDIR)/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl doc/en/index.docbook | $(FINISH_HTML) >kid3_en.html
kid3_de.html: doc/de/index.docbook
SGML_CATALOG_FILES=$(KDEDIR)/share/apps/ksgmltools2/customization/catalog xsltproc --catalogs $(KDEDIR)/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl doc/de/index.docbook | $(FINISH_HTML) >kid3_de.html
# Installation
ifdef CONFIG_USE_KDE
install: kdeinstall
uninstall: kdeuninstall
else
ifndef DESTDIR
DESTDIR = ./kid3qt
endif
install: qtinstall
uninstall: qtuninstall
endif
kdeinstall: all
$(INSTALL) -d $(DESTDIR)/$(KDEDIR)/bin
$(INSTALL) ./kid3 $(DESTDIR)/$(KDEDIR)/bin/kid3
$(INSTALL) -d $(DESTDIR)/$(KDEDIR)/share/applnk/Multimedia
$(INSTALL) -m 644 ./kid3.desktop $(DESTDIR)/$(KDEDIR)/share/applnk/Multimedia/kid3.desktop
$(INSTALL) -d $(DESTDIR)/$(KDEDIR)/share/icons/hicolor/16x16/apps
$(INSTALL) -m 644 ./hi16-app-kid3.png $(DESTDIR)/$(KDEDIR)/share/icons/hicolor/16x16/apps/kid3.png
$(INSTALL) -d $(DESTDIR)/$(KDEDIR)/share/icons/hicolor/32x32/apps
$(INSTALL) -m 644 ./hi32-app-kid3.png $(DESTDIR)/$(KDEDIR)/share/icons/hicolor/32x32/apps/kid3.png
$(INSTALL) -d $(DESTDIR)/$(KDEDIR)/share/icons/hicolor/48x48/apps
$(INSTALL) -m 644 ./hi48-app-kid3.png $(DESTDIR)/$(KDEDIR)/share/icons/hicolor/48x48/apps/kid3.png
$(INSTALL) -d $(DESTDIR)/$(KDEDIR)/share/apps/kid3
$(INSTALL) -m 644 ./kid3ui.rc $(DESTDIR)/$(KDEDIR)/share/apps/kid3/kid3ui.rc
$(INSTALL) -d $(DESTDIR)/$(KDEDIR)/share/doc/HTML/en/kid3
$(INSTALL) -m 644 doc/en/index.cache.bz2 $(DESTDIR)/$(KDEDIR)/share/doc/HTML/en/kid3/index.cache.bz2
$(INSTALL) -m 644 doc/en/index.docbook $(DESTDIR)/$(KDEDIR)/share/doc/HTML/en/kid3/index.docbook
$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/doc/HTML/en/kid3/common
$(SYMLINK) $(KDEDIR)/share/doc/HTML/en/common $(DESTDIR)/$(KDEDIR)/share/doc/HTML/en/kid3/common
$(INSTALL) -d $(DESTDIR)/$(KDEDIR)/share/doc/HTML/de
$(INSTALL) -d $(DESTDIR)/$(KDEDIR)/share/doc/HTML/de/kid3
$(INSTALL) -m 644 doc/de/index.cache.bz2 $(DESTDIR)/$(KDEDIR)/share/doc/HTML/de/kid3/index.cache.bz2
$(INSTALL) -m 644 doc/de/index.docbook $(DESTDIR)/$(KDEDIR)/share/doc/HTML/de/kid3/index.docbook
$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/doc/HTML/de/kid3/common
$(SYMLINK) $(KDEDIR)/share/doc/HTML/de/common $(DESTDIR)/$(KDEDIR)/share/doc/HTML/de/kid3/common
$(INSTALL) -d $(DESTDIR)/$(KDEDIR)/share/locale/de/LC_MESSAGES
$(INSTALL) -m 644 po/de/kid3.mo $(DESTDIR)/$(KDEDIR)/share/locale/de/LC_MESSAGES/kid3.mo
kdeuninstall:
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/bin/kid3
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/applnk/Multimedia/kid3.desktop
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/icons/hicolor/16x16/apps/kid3.png
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/icons/hicolor/32x32/apps/kid3.png
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/icons/hicolor/48x48/apps/kid3.png
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/apps/kid3/kid3ui.rc
-$(DEL_DIR) $(DESTDIR)/$(KDEDIR)/share/apps/kid3
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/doc/HTML/en/kid3/index.cache.bz2
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/doc/HTML/en/kid3/index.docbook
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/doc/HTML/en/kid3/common
-$(DEL_DIR) $(DESTDIR)/$(KDEDIR)/share/doc/HTML/en/kid3
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/doc/HTML/de/kid3/index.cache.bz2
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/doc/HTML/de/kid3/index.docbook
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/doc/HTML/de/kid3/common
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/doc/HTML/de/kid3/common
-$(DEL_DIR) $(DESTDIR)/$(KDEDIR)/share/doc/HTML/de/kid3
-$(DEL_FILE) $(DESTDIR)/$(KDEDIR)/share/locale/de/LC_MESSAGES/kid3.mo
qtinstall: all
$(INSTALL) -d $(DESTDIR)
$(INSTALL) ./kid3 $(DESTDIR)/kid3
$(INSTALL) -m 644 ./kid3_de.qm $(DESTDIR)/kid3_de.qm
$(INSTALL) -m 644 ./kid3_en.html $(DESTDIR)/kid3_en.html
$(INSTALL) -m 644 ./kid3_de.html $(DESTDIR)/kid3_de.html
qtuninstall:
-$(DEL_FILE) $(DESTDIR)/kid3 $(DESTDIR)/kid3_de.qm $(DESTDIR)/kid3_en.html
-$(DEL_DIR) $(DESTDIR)
# Tags
TAGS: autoconf.h
ctags -e $(HEADERS) autoconf.h $(SOURCES)
# Distribution
# As .html and .qm files cannot be generated from Windows,
# they are included in the distribution.
dist: kid3_en.html kid3_de.html kid3_de.qm
mkdir $(DISTNAME) $(DISTNAME)/$(MOC_DIR)
mkdir $(DISTNAME)/$(OBJECTS_DIR)
mkdir $(DISTNAME)/doc $(DISTNAME)/doc/en $(DISTNAME)/doc/de
mkdir $(DISTNAME)/po $(DISTNAME)/po/de
cp $(DIST) $(SOURCES) $(HEADERS) $(FORMS) $(DISTNAME)/
cp doc/en/index.docbook $(DISTNAME)/doc/en/
cp doc/de/index.docbook $(DISTNAME)/doc/de/
cp po/de/kid3.po po/de/kid3qt.po $(DISTNAME)/po/de/
cp kid3_en.html kid3_de.html $(DISTNAME)/
cp kid3_de.qm $(DISTNAME)/
tar czf $(DISTNAME).tgz $(DISTNAME)/
rm -rf $(DISTNAME)/
# Dependencies which are needed before automatic generation of dependencies
$(MOC_DIR)/moc_framelist.cpp: framelist.h
$(MOC_DIR)/moc_kid3.cpp: kid3.h autoconf.h config.mk
$(MOC_DIR)/moc_id3form.cpp: id3form.h
# Automatic generation of dependencies
depend .depend dep: $(SRCMOC)
$(CC) $(CFLAGS) -MM -MG $(SOURCES) $(SRCMOC) | $(ADDOBJDIR) > .depend
ifeq (.depend,$(wildcard .depend))
include .depend
endif
SUBDIRS = $(TOPSUBDIRS)
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
$(top_srcdir)/subdirs:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
package-messages:
$(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge
EXTRA_DIST = admin AUTHORS COPYING ChangeLog INSTALL README make_qtonly.sh
dist-hook:
cd $(top_distdir) && perl admin/am_edit -padmin
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
all:
@echo "This Makefile is only for the CVS repository"
@echo "This will be deleted before making the distribution"
@echo ""
$(MAKE) -f admin/Makefile.common cvs
dist:
$(MAKE) -f admin/Makefile.common dist
.SILENT:
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
## generate API documentation with doxygen
apidox-am-yes:
@if test "$(subdir)" != "."; then \
$(mkinstalldirs) $(top_builddir)/apidocs/$(subdir) ;\
if test ! -x $(top_builddir)/apidocs/common; then \
if test -d $(top_srcdir)/doc/common; then \
common_dir=`cd $(top_srcdir)/doc/common && pwd` ;\
else \
common_dir=$(kde_libs_htmldir)/en/common ;\
fi ;\
$(LN_S) $$common_dir $(top_builddir)/apidocs/common; \
fi ;\
cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \
echo "PROJECT_NAME = \"$(subdir) Library\"" >> Doxyfile; \
echo "PROJECT_NUMBER = \"Version $(VERSION)\"" >> Doxyfile; \
echo "INPUT = $(srcdir)" >> Doxyfile; \
echo "IMAGE_PATH = $(top_srcdir)/doc/api" >> Doxyfile ;\
echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile; \
echo "HTML_OUTPUT = $(subdir)/html" >> Doxyfile; \
echo "LATEX_OUTPUT = $(subdir)/latex" >> Doxyfile; \
echo "RTF_OUTPUT = $(subdir)/rtf" >> Doxyfile; \
echo "MAN_OUTPUT = $(subdir)/man" >> Doxyfile; \
echo "GENERATE_HTML = $(GENERATE_FLAG)" >> Doxyfile ;\
echo "GENERATE_MAN = $(GENERATE_FLAG)" >> Doxyfile ;\
echo "GENERATE_LATEX = $(GENERATE_FLAG)" >> Doxyfile ;\
if test -n "$(DOXYGEN_EXCLUDE)"; then \
echo "EXCLUDE_PATTERNS += $(DOXYGEN_EXCLUDE)" >> Doxyfile; \
fi ;\
echo "TAGFILES = \\" >> Doxyfile; \
tags='$(DOXYGEN_REFERENCES) qt'; for tag in $$tags; do \
tagpath= ;\
path="../../$$tag" ;\
if test -f $(top_builddir)/apidocs/$$tag/$$tag.tag; then \
tagpath="$(top_builddir)/apidocs/$$tag/$$tag.tag" ;\
else \
tagpath=`ls -1 $(kde_htmldir)/en/*-apidocs/$$tag/$$tag.tag 2> /dev/null` ;\
if test -n "$$tagpath"; then \
path=`echo $$tagpath | sed -e "s,.*/\([^/]*-apidocs\)/$$tag/$$tag.tag,../../../\1/$$tag,"` ;\
fi ;\
fi ;\
if test "$$tag" = qt; then \
echo $$tagpath=$(QTDOCDIR) >> Doxyfile ;\
else if test -n "$$tagpath"; then \
echo "$$tagpath=$$path/html \\" >> Doxyfile ;\
fi ;\
fi ;\
done ;\
echo "GENERATE_TAGFILE = $(top_builddir)/apidocs/$(subdir)/$(subdir).tag" >> Doxyfile ;\
echo "IGNORE_PREFIX = K" >> Doxyfile ;\
echo "HAVE_DOT = $(KDE_HAVE_DOT)" >> Doxyfile ;\
$(DOXYGEN) Doxyfile ;\
fi
apidox-am-no:
install-data-local: install-apidox
## install API documentation
install-apidox:
@if test "$(subdir)" != "."; then \
$(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html ; \
if test -f $(top_builddir)/apidocs/$(subdir)/$(subdir).tag; then \
echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
$(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
fi; \
if test -d $(top_builddir)/apidocs/$(subdir)/html; then \
list=`ls $(top_builddir)/apidocs/$(subdir)/html`; \
for file in $$list; do \
echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \
$(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \
done; \
fi; \
rm -f $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/common; \
$(LN_S) $(kde_libs_htmldir)/en/common $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/common; \
else\
if test -d $(top_builddir)/apidocs; then \
$(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs ;\
list=`cd $(top_builddir)/apidocs && ls -1`; \
for file in $$list; do \
if test -f $(top_builddir)/apidocs/$$file; then \
echo $(INSTALL_DATA) $(top_builddir)/apidocs/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
$(INSTALL_DATA) $(top_builddir)/apidocs/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
fi; \
done ; fi; \
fi
uninstall-local: uninstall-apidox
## uninstall API documentation
uninstall-apidox:
@if test "$(subdir)" != "."; then \
if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); then \
rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
fi\
else\
if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; then \
rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
fi\
fi
apidox:
@if test "$(subdir)" != "."; then \
$(MAKE) apidox-am-@KDE_HAS_DOXYGEN@ ;\
else \
$(MAKE) apidox-am-toplevel-@KDE_HAS_DOXYGEN@ ;\
fi
@set fnord $(MAKEFLAGS); amf=$$2; if test -n '$(SUBDIRS)'; then \
list='$(SUBDIRS)'; \
for subdir in $$list; do \
if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am; then \
echo "Making apidox in $$subdir"; \
if test "$$subdir" != "."; then \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=no apidox) || exit 1; \
fi ; fi ;\
done; \
for subdir in $$list; do \
if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am; then \
echo "Making apidox in $$subdir"; \
if test "$$subdir" != "."; then \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=yes apidox) || exit 1; \
fi ; fi ;\
done; \
fi
apidox-am-toplevel-no:
apidox-am-toplevel-yes:
@echo "*** Creating API documentation main page"; \
cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \
echo "PROJECT_NAME = $(DOXYGEN_PROJECT_NAME)" >> Doxyfile ; \
echo "PROJECT_NUMBER = $(DOXYGEN_PROJECT_NUMBER)" >> Doxyfile ; \
echo "INPUT = $(top_srcdir)" >> Doxyfile ; \
echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile ; \
echo "FILE_PATTERNS = *.dox" >> Doxyfile ; \
echo "RECURSIVE = NO" >> Doxyfile ; \
echo "SOURCE_BROWSER = NO" >> Doxyfile ; \
echo "ALPHABETICAL_INDEX = NO" >> Doxyfile ; \
echo "HTML_OUTPUT = ." >> Doxyfile ; \
echo "HTML_HEADER = apidocs/common/mainheader.html" >> Doxyfile ; \
echo "HTML_FOOTER = apidocs/common/mainfooter.html" >> Doxyfile ; \
echo "HTML_STYLESHEET = apidocs/common/doxygen.css" >> Doxyfile ; \
echo "GENERATE_LATEX = NO" >> Doxyfile ; \
echo "GENERATE_RTF = NO" >> Doxyfile ; \
echo "GENERATE_MAN = NO" >> Doxyfile ; \
echo "GENERATE_XML = NO" >> Doxyfile ; \
echo "GENERATE_AUTOGEN_DEF = NO" >> Doxyfile ; \
echo "ENABLE_PREPROCESSING = NO" >> Doxyfile ; \
echo "CLASS_DIAGRAMS = NO" >> Doxyfile ; \
echo "HAVE_DOT = NO" >> Doxyfile ; \
echo "GENERATE_HTML = YES" >> Doxyfile ;\
$(mkinstalldirs) $(top_builddir)/apidocs ; \
rm -f $(top_builddir)/apidocs/common ; \
if test -d $(top_srcdir)/doc/common; then \
common_dir=`cd $(top_srcdir)/doc/common && pwd` ;\
else \
common_dir=$(kde_libs_htmldir)/en/common ;\
fi ;\
$(LN_S) $$common_dir $(top_builddir)/apidocs/common ;\
doxygen Doxyfile; \
rm -f Doxyfile
# Local Variables:
# mode: makefile
# End:
This diff is collapsed.
# Makefile.in generated by automake 1.7.2 from Makefile.am.
# KDE tags expanded automatically by am_edit - $Revision$
# admin/Makefile. Generated from Makefile.in by configure.
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
srcdir = .
top_srcdir = ..
pkgdatadir = $(datadir)/kid3
pkglibdir = $(libdir)/kid3
pkgincludedir = $(includedir)/kid3
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c -p
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = i686-pc-linux-gnu
host_triplet = i686-pc-linux-gnu
target_triplet = i686-pc-linux-gnu
ACLOCAL = ${SHELL} /usr/src/packages/BUILD/kid3-0.2.1/admin/missing --run aclocal-1.7
AMDEP_FALSE = #
AMDEP_TRUE =
AMTAR = ${SHELL} /usr/src/packages/BUILD/kid3-0.2.1/admin/missing --run tar
ARTSCCONFIG = /opt/kde3/bin/artsc-config
AUTOCONF = ${SHELL} /usr/src/packages/BUILD/kid3-0.2.1/admin/missing --run autoconf
AUTODIRS =
AUTOHEADER = ${SHELL} /usr/src/packages/BUILD/kid3-0.2.1/admin/missing --run autoheader
AUTOMAKE = ${SHELL} /usr/src/packages/BUILD/kid3-0.2.1/admin/missing --run automake-1.7
AWK = gawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2
CONF_FILES = $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in
CPP = gcc -E
CPPFLAGS = -DQT_THREAD_SUPPORT -D_REENTRANT
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new
CYGPATH_W = echo
DCOPIDL = /opt/kde3/bin/dcopidl
DCOPIDL2CPP = /opt/kde3/bin/dcopidl2cpp
DCOP_DEPENDENCIES = $(DCOPIDL)
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
ECHO = echo
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = grep -E
EXEEXT =
FRAMEWORK_COREAUDIO =
GMSGFMT = /usr/bin/msgfmt
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL} $(INSTALL_STRIP_FLAG)
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
KDECONFIG = /opt/kde3/bin/kde-config
KDE_EXTRA_RPATH =
KDE_INCLUDES = -I/opt/kde3/include
KDE_LDFLAGS = -L/opt/kde3/lib
KDE_MT_LDFLAGS =
KDE_MT_LIBS = -lpthread
KDE_PLUGIN = -avoid-version -module -no-undefined $(KDE_RPATH) $(KDE_MT_LDFLAGS)
KDE_RPATH = -R $(kde_libraries) -R $(qt_libraries) -R $(x_libraries)
KDE_USE_CLOSURE_FALSE = #
KDE_USE_CLOSURE_TRUE =
KDE_USE_FINAL_FALSE =
KDE_USE_FINAL_TRUE = #
KDE_XSL_STYLESHEET = /opt/kde3/share/apps/ksgmltools2/customization/kde-chunk.xsl
LDFLAGS =
LIBCOMPAT =
LIBCRYPT = -lcrypt
LIBDL = -ldl
LIBJPEG = -ljpeg
LIBOBJS =
LIBPNG = -lpng -lz -lm
LIBPTHREAD = -lpthread
LIBRESOLV = -lresolv
LIBS = -lid3 -lz
LIBSM = -lSM -lICE
LIBSOCKET =
LIBTOOL = $(SHELL) $(top_builddir)/libtool --silent
LIBUCB =
LIBUTIL = -lutil
LIBXINERAMA =
LIBZ = -lz
LIB_KAB = -lkab
LIB_KABC = -lkabc
LIB_KDECORE = -lkdecore
LIB_KDEPRINT = -lkdeprint
LIB_KDEUI = -lkdeui
LIB_KFILE = -lkio
LIB_KFM =
LIB_KHTML = -lkhtml
LIB_KIO = -lkio
LIB_KPARTS = -lkparts
LIB_KSPELL = -lkspell
LIB_KSYCOCA = -lkio
LIB_POLL =