www.pudn.com > calculator.rar > Makefile


define RULE
@+QPEDIR=`cd $(QPEDIR); /bin/pwd | sed 's/\/$$//'`;\
if [ -z "$$QPEDIR" ]; then\
echo "ERROR: You must set QPEDIR if you want to shadow build.";\
echo "When this file was created, QPEDIR was set to:";\
echo " /root/QT_arm_release";\
exit 1;\
fi;\
if [ "$$QTOPIADESKTOP" = 1 ]; then\
grep 'CONFIG.*build_qtopia\b' $$QPEDIR/src/config.pri >/dev/null 2>&amt;1 &amt;&amt; QTOPIADESKTOP=0;\
fi;\
if [ "$$QTOPIADESKTOP" = 1 ]; then\
grep 'CONFIG.*build_qtopiadesktop\b' $$QPEDIR/src/config.pri >/dev/null 2>&amt;1 || QTOPIADESKTOP=0;\
fi;\
if [ "$$QTOPIADESKTOP" = 1 ]; then\
shadowdir=`echo $$PWD | perl -ne 's,'$$QPEDIR'/src/applications,'$$QPEDIR'/src/qtopiadesktop,;\
s,'$$QPEDIR'/src/libraries/([^\d]+)\d?,'$$QPEDIR'/src/qtopiadesktop/libraries/$$1,;\
print'`;\
if [ "$$shadowdir" != "$$PWD" -a -d "$$shadowdir" ]; then\
cd "$$shadowdir";\
$(MAKE) $@;\
else\
shadowdir=`echo $$PWD | perl -ne 's,/root/qtsrc/src/applications,'$$QPEDIR'/src/qtopiadesktop,;\
s,/root/qtsrc/src/libraries/([^\d]+)\d?,'$$QPEDIR'/src/qtopiadesktop/libraries/$$1,;\
print'`;\
if [ "$$shadowdir" != "$$PWD" -a -d "$$shadowdir" ]; then\
cd "$$shadowdir";\
$(MAKE) $@;\
else\
QTOPIADESKTOP=0;\
fi;\
fi;\
fi;\
if [ "$$QTOPIADESKTOP" != 1 ]; then\
shadowdir=`echo $$PWD | perl -ne 's,/root/qtsrc,'$$QPEDIR',;\
s,/src/libraries/([^\d]+)\d?,/src/libraries/$$1,;\
print'`;\
if [ "$$shadowdir" != "$$PWD" -a -d "$$shadowdir" ]; then\
cd "$$shadowdir";\
$(MAKE) $@;\
else\
echo "ERROR: Can't resolve shadowdir.";\
echo " SOURCE tree = '/root/qtsrc'";\
echo " BUILD tree = '$$QPEDIR'";\
echo " PWD = '$$PWD'";\
echo " shadowdir = '$$shadowdir'";\
exit 1;\
fi;\
fi
endef

all:
$(RULE)
install:
$(RULE)
uninstall:
$(RULE)
install_target:
$(RULE)
packages:
$(RULE)
lupdate:
$(RULE)
sdk:
$(RULE)
devsdk:
$(RULE)
cleaninstall:
$(RULE)
syncqtopia:
$(RULE)
first_syncqtopia:
$(RULE)
test:
$(RULE)
checkp4:
$(RULE)
remove_target:
$(RULE)
relink:
$(RULE)
printdependrules:
$(RULE)
qmake_check:
$(RULE)
qtopia_first:
$(RULE)
qtopia_all:
$(RULE)
qtopia_clean:
$(RULE)
qtopia_distclean:
$(RULE)
qtopia_install:
$(RULE)
qtopia_uninstall:
$(RULE)
first:
$(RULE)
dist:
$(RULE)
yaccclean:
$(RULE)
lexclean:
$(RULE)
sdk_part_host:
$(RULE)
sdk_part_target:
$(RULE)
devsdk_part_host:
$(RULE)
devsdk_part_target:
$(RULE)
link_test:
$(RULE)
mocclean:
$(RULE)
mocables:
$(RULE)
compiler_moc_header_make_all:
$(RULE)
compiler_moc_header_clean:
$(RULE)
compiler_rcc_make_all:
$(RULE)
compiler_rcc_clean:
$(RULE)
compiler_image_collection_make_all:
$(RULE)
compiler_image_collection_clean:
$(RULE)
compiler_moc_source_make_all:
$(RULE)
compiler_moc_source_clean:
$(RULE)
compiler_uic_make_all:
$(RULE)
compiler_uic_clean:
$(RULE)
compiler_runcheckp4_make_all:
$(RULE)
compiler_runcheckp4_clean:
$(RULE)
dummy_checkp4:
$(RULE)
compiler_clean:
$(RULE)
install_desktop:
$(RULE)
uninstall_desktop:
$(RULE)
install_plugindir:
$(RULE)
uninstall_plugindir:
$(RULE)
install_instsymlink:
$(RULE)
uninstall_target:
$(RULE)
install_help:
$(RULE)
install_pics:
$(RULE)
qmake:
$(RULE)
qmake-debug:
$(RULE)
regenerate:
$(RULE)
regenerate_all:
$(RULE)
clean:
$(RULE)
distclean:
$(RULE)
nodeps:
$(RULE)
loud:
$(RULE)
.PHONY: all install uninstall install_target packages lupdate sdk devsdk cleaninstall syncqtopia first_syncqtopia test checkp4 remove_target relink printdependrules qmake_check qtopia_first qtopia_all qtopia_clean qtopia_distclean qtopia_install qtopia_uninstall first dist yaccclean lexclean sdk_part_host sdk_part_target devsdk_part_host devsdk_part_target link_test mocclean mocables compiler_moc_header_make_all compiler_moc_header_clean compiler_rcc_make_all compiler_rcc_clean compiler_image_collection_make_all compiler_image_collection_clean compiler_moc_source_make_all compiler_moc_source_clean compiler_uic_make_all compiler_uic_clean compiler_runcheckp4_make_all compiler_runcheckp4_clean dummy_checkp4 compiler_clean install_desktop uninstall_desktop install_plugindir uninstall_plugindir install_instsymlink uninstall_target install_help install_pics qmake qmake-debug regenerate regenerate_all clean distclean nodeps loud