1 include $(top_srcdir)/config/common.am
2 include $(srcdir)/../Makefile.dialogs
4 DISTCLEANFILES += *.C *.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_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
17 noinst_LTLIBRARIES = libqt2ui.la
19 nodist_libqt2ui_la_SOURCES = $(UIFILES:.ui=.h) $(UIFILES:.ui=.C)
21 libqt2ui_la_LINK = touch libqt2ui.la
23 # Use _() for localization instead of tr() or trUtf8()
27 $(UIC) $(UICFLAGS) $< -o $@
29 $(UIC) $(UICFLAGS) -impl $^ -o $@