1 include $(top_srcdir)/config/common.am
2 include $(srcdir)/../Makefile.dialogs
4 CLEANFILES += *.C *Base.h
8 EXTRA_DIST = QPreambleDialogBase.ui $(UIFILES)
10 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/frontends \
11 -I$(top_srcdir)/src/frontends/qt2 \
12 $(QT_INCLUDES) $(BOOST_INCLUDES) \
13 -I$(top_srcdir)/src/frontends/controllers
15 AM_CPPFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
16 AM_CXXFLAGS = $(PCH_FLAGS)
18 noinst_LTLIBRARIES = libqt2ui.la
20 nodist_libqt2ui_la_SOURCES = $(UIFILES:.ui=.h) $(UIFILES:.ui=.C)
22 libqt2ui_la_LINK = touch libqt2ui.la
24 # Use _() for localization instead of tr() or trUtf8()
28 $(UIC) $(UICFLAGS) $< -o $@
29 %.C: %.h %.ui $(PCH_FILE)
30 $(UIC) $(UICFLAGS) -impl `echo $^ | sed 's/pch.h.gch//'` -o $@