]> git.lyx.org Git - features.git/blob - src/frontends/qt2/ui/moc/Makefile.am
compilation fix
[features.git] / src / frontends / qt2 / ui / moc / Makefile.am
1 include $(top_srcdir)/config/common.am
2 include $(srcdir)/../../Makefile.dialogs
3
4 DISTCLEANFILES += $(UIFILES:.ui=_moc.C)
5
6 INCLUDES = -I$(top_srcdir)/src \
7         -I$(top_srcdir)/src/frontends \
8         -I$(top_srcdir)/src/frontends/controllers \
9         $(QT_INCLUDES) \
10         $(BOOST_INCLUDES)
11
12 AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
13
14 noinst_LTLIBRARIES = libqt2uimoc.la
15
16 nodist_libqt2uimoc_la_SOURCES = $(UIFILES:.ui=_moc.C)
17 # The trick.
18 libqt2uimoc_la_LINK = touch libqt2uimoc.la
19
20 %_moc.C: ../%.h
21         $(MOC) -o $@ $<