]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/ui/Makefile.am
QBibtex/QCitation ui fixes (bug 1146)
[lyx.git] / src / frontends / qt2 / ui / Makefile.am
1 include $(top_srcdir)/config/common.am
2 include $(srcdir)/../Makefile.dialogs
3
4 DISTCLEANFILES += *.C *.h
5
6 SUBDIRS = . moc
7
8 EXTRA_DIST = $(UIFILES)
9
10 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/frontends \
11         -I$(top_srcdir)/src/frontends/qt2 \
12         $(FRONTEND_INCLUDES) $(BOOST_INCLUDES) \
13         -I$(top_srcdir)/src/frontends/controllers
14
15 AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
16
17 noinst_LTLIBRARIES = libqt2ui.la
18
19 nodist_libqt2ui_la_SOURCES = $(UIFILES:.ui=.h) $(UIFILES:.ui=.C)
20 # The trick.
21 libqt2ui_la_LINK = touch libqt2ui.la
22
23 # Use _() for localization instead of tr() or trUtf8()
24 UICFLAGS=-tr qt_
25
26 %.h: %.ui
27         $(UIC) $(UICFLAGS) $< -o $@
28 %.C: %.h %.ui
29         $(UIC) $(UICFLAGS) -impl $^ -o $@