Revision 7a59e566
Von martin vor mehr als 15 Jahren hinzugefügt
| Makefile.am | ||
|---|---|---|
|
if [ `rpm --version | awk '{ print $$3 }'` > /dev/null ]; then rpmbuild="rpmbuild"; fi && \
|
||
|
$$rpmbuild --nodeps -ts $(PACKAGE)-$(VERSION).tar.gz
|
||
|
|
||
|
# This section is for a qt4 environment
|
||
|
qt4-port:
|
||
|
if HAVE_QT3TO4
|
||
|
for d in src/frontends/qbanking src/plugins/backends/aqhbci/ui/qt3 src/plugins/backends/aqdtaus/ui/qt3 src/plugins/backends/aqofxconnect/ui/qt3; do \
|
||
|
$(MAKE) -C $$d qt4-port; \
|
||
|
done
|
||
|
else
|
||
|
@echo "***"
|
||
|
@echo "*** Error: The tool \"qt3to4\" has not been found by ./configure. "
|
||
|
@echo "*** Did you add \"qbanking\" to the argument list of --with-frontends=\"...\""
|
||
|
@echo "*** so that the qt4 tools are being detected?"
|
||
|
@echo "***"
|
||
|
@exit 1
|
||
|
endif
|
||
|
|
||
|
# One consolidated make target for running all steps of qt4 building
|
||
|
qt4-all: $(BUILT_SOURCES) config.h
|
||
|
$(MAKE) $(AM_MAKEFLAGS) clean
|
||
|
$(MAKE) $(AM_MAKEFLAGS) qt4-port
|
||
|
$(MAKE) $(AM_MAKEFLAGS) all
|
||
|
|
||
|
BUILT_SOURCES = $(iheader_HEADERS) sl-headers
|
||
|
CLEANFILES += $(BUILT_SOURCES)
|
||
|
|
||
| configure.ac | ||
|---|---|---|
|
# QT3
|
||
|
#
|
||
|
|
||
|
QT3TO4="NO"
|
||
|
UIC3="NO"
|
||
|
QT_BINDIR=""
|
||
|
|
||
| ... | ... | |
|
UIC3="${qt3_uic}"
|
||
|
else
|
||
|
AC_PATH_PROGS([UIC3], [uic3 uic], [NO], ["` echo ${qt3_moc} | ${SED} 's-/moc--' `":$PATH])
|
||
|
AC_PATH_PROG([QT3TO4], [qt3to4], [NO], ["` echo ${qt3_moc} | ${SED} 's-/moc--' `":$PATH])
|
||
|
fi
|
||
|
|
||
|
dnl Make sure moc and uic come from the same Qt version
|
||
| ... | ... | |
|
|
||
|
dnl Store the bin dir for the windows dlls
|
||
|
AC_SUBST(QT_BINDIR)
|
||
|
AM_CONDITIONAL([HAVE_QT3TO4], [test "$QT3TO4" != "NO"])
|
||
|
AM_CONDITIONAL(WITH_QBANKING, [test "$with_qbanking" = "yes"])
|
||
|
|
||
|
|
||
| src/frontends/qbanking/Makefile.am | ||
|---|---|---|
|
$(MAKE) -C $$d sources; \
|
||
|
done ;
|
||
|
|
||
|
# This section is for a qt4 environment
|
||
|
qt4-port:
|
||
|
for d in $(SUBDIRS); do \
|
||
|
$(MAKE) -C $$d qt4-port; \
|
||
|
done
|
||
|
|
||
|
built_sources: $(BUILT_SOURCES)
|
||
|
for d in $(SUBDIRS); do \
|
||
|
$(MAKE) -C $$d built_sources; \
|
||
| src/frontends/qbanking/bin/Makefile.am | ||
|---|---|---|
|
$(MAKE) -C $$d sources; \
|
||
|
done ;
|
||
|
|
||
|
# This section is for a qt4 environment
|
||
|
qt4-port:
|
||
|
for d in $(SUBDIRS); do \
|
||
|
$(MAKE) -C $$d qt4-port; \
|
||
|
done
|
||
|
|
||
|
built_sources: $(BUILT_SOURCES)
|
||
|
for d in $(SUBDIRS); do \
|
||
|
$(MAKE) -C $$d built_sources; \
|
||
| src/frontends/qbanking/bin/helpbrowser/Makefile.am | ||
|---|---|---|
|
$(MAKE) -C $$d sources; \
|
||
|
done
|
||
|
|
||
|
# This section is for a qt4 environment
|
||
|
qt4-port:
|
||
|
for A in $(libqbhelp_la_SOURCES) $(noinst_HEADERS) qb_help.cpp qbhelpbrowser.cpp; do \
|
||
|
$(YES) | $(QT3TO4) $$A; \
|
||
|
done
|
||
|
# rm $(BUILT_SOURCES)
|
||
|
# For qt3 compatibility of qt4
|
||
|
DEFS += -DQT3_SUPPORT
|
||
|
|
||
| src/frontends/qbanking/bin/wizard/Makefile.am | ||
|---|---|---|
|
$(MAKE) -C $$d sources; \
|
||
|
done
|
||
|
|
||
|
# This section is for a qt4 environment
|
||
|
qt4-port:
|
||
|
for A in $(qt3_wizard_SOURCES) $(noinst_HEADERS); do \
|
||
|
$(YES) | $(QT3TO4) $$A; \
|
||
|
done
|
||
|
# rm $(BUILT_SOURCES)
|
||
|
# For qt3 compatibility of qt4
|
||
|
DEFS += -DQT3_SUPPORT
|
||
|
|
||
|
built_sources:
|
||
| src/frontends/qbanking/help/Makefile.am | ||
|---|---|---|
|
|
||
|
sources:
|
||
|
|
||
|
qt4-port:
|
||
|
|
||
|
built_sources:
|
||
| src/frontends/qbanking/lib/Makefile.am | ||
|---|---|---|
|
clean-local:
|
||
|
-rm -rf testfolder
|
||
|
|
||
|
# This section is for a qt4 environment
|
||
|
qt4-port:
|
||
|
for A in $(libqbanking_la_SOURCES) $(HEADERS); do \
|
||
|
$(YES) | $(QT3TO4) $$A; \
|
||
|
done
|
||
|
for d in $(SUBDIRS); do \
|
||
|
$(MAKE) -C $$d qt4-port; \
|
||
|
done
|
||
|
# For qt3 compatibility of qt4
|
||
|
DEFS += -DQT3_SUPPORT
|
||
|
|
||
| src/frontends/qbanking/lib/dialogs/Makefile.am | ||
|---|---|---|
|
|
||
|
SUFFIXES = .ui .ui.h .ui.cpp .moc
|
||
|
|
||
|
# This section is for a qt4 environment
|
||
|
qt4-port:
|
||
|
for A in $(libdialogs_la_SOURCES) $(iheader_HEADERS); do \
|
||
|
$(YES) | $(QT3TO4) $$A; \
|
||
|
done
|
||
|
# For qt3 compatibility of qt4
|
||
|
DEFS += -DQT3_SUPPORT
|
||
|
|
||
| src/frontends/qbanking/lib/views/Makefile.am | ||
|---|---|---|
|
|
||
|
SUFFIXES = .ui .ui.h .ui.cpp .moc
|
||
|
|
||
|
# This section is for a qt4 environment
|
||
|
qt4-port:
|
||
|
for A in $(libviews_la_SOURCES) $(iheader_HEADERS); do \
|
||
|
$(YES) | $(QT3TO4) $$A; \
|
||
|
done
|
||
|
# For qt3 compatibility of qt4
|
||
|
DEFS += -DQT3_SUPPORT
|
||
|
|
||
| src/frontends/qbanking/lib/widgets/Makefile.am | ||
|---|---|---|
|
SUFFIXES = .ui .ui.h .ui.cpp .moc
|
||
|
|
||
|
|
||
|
# This section is for a qt4 environment
|
||
|
qt4-port:
|
||
|
for A in $(libwidgets_la_SOURCES) $(iheader_HEADERS); do \
|
||
|
$(YES) | $(QT3TO4) $$A; \
|
||
|
done
|
||
|
# For qt3 compatibility of qt4
|
||
|
DEFS += -DQT3_SUPPORT
|
||
|
|
||
| src/frontends/qbanking/po/Makefile.am | ||
|---|---|---|
|
|
||
|
built_sources:
|
||
|
|
||
|
qt4-port:
|
||
Auch abrufbar als: Unified diff
Remove tests for qt3to4 (we already have a qt4 port).
git-svn-id: https://devel.aqbanking.de/svn/aqbanking/trunk@1981 5c42a225-8b10-0410-9873-89b7810ad06e