1 include $(top_srcdir)/config/common.am
2 include $(srcdir)/../Makefile.dialogs
4 CLEANFILES += *.C *Base.h
8 EXTRA_DIST = QPreambleDialogBase.ui $(UIFILES)
11 $(QT_CPPFLAGS) -DQT_NO_TRANSLATION \
14 -I$(top_srcdir)/src/frontends \
15 -I$(top_srcdir)/src/frontends/qt2 \
16 $(QT_INCLUDES) $(BOOST_INCLUDES) \
17 -I$(top_srcdir)/src/frontends/controllers
19 noinst_LTLIBRARIES = libqt2ui.la
21 nodist_libqt2ui_la_SOURCES = $(UIFILES:.ui=.h) $(UIFILES:.ui=.C)
23 libqt2ui_la_LINK = touch libqt2ui.la ; echo
25 # Use _() for localization instead of tr() or trUtf8()
29 $(UIC) $(UICFLAGS) $< -o $@
30 %.C: %.h %.ui $(PCH_FILE)
31 $(UIC) $(UICFLAGS) -impl `echo $^ | sed 's/[^ ]*pch.h.gch//'` -o $@