.PHONY: mocclean FORCE

# Makefile.qmake is only exist when --enable-qt5-immodule
if QT5_IMMODULE
all clean mocclean install uninstall:
	$(MAKE) $(AM_MAKEFLAGS) -f Makefile.qmake $@
endif

# *.pro is required to run Makefile.qmake. So distclean-am is deferred.
distclean:
if QT5_IMMODULE
	$(MAKE) $(AM_MAKEFLAGS) -f Makefile.qmake $@
	$(MAKE) $(AM_MAKEFLAGS) distclean-am
endif
	-rm -f Makefile
