]> git.lyx.org Git - features.git/blob - src/frontends/qt2/ui/moc/Makefile.am
Move the setting of the Qt preprocessor flags out of the Makefiles and into qt.m4
[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 AM_CPPFLAGS = \
7         $(QT_CPPFLAGS) -DQT_NO_TRANSLATION \
8         $(PCH_FLAGS) \
9         -I$(top_srcdir)/src \
10         -I$(top_srcdir)/src/frontends \
11         -I$(top_srcdir)/src/frontends/controllers \
12         $(QT_INCLUDES) \
13         $(BOOST_INCLUDES)
14
15 noinst_LTLIBRARIES = libqt2uimoc.la
16
17 nodist_libqt2uimoc_la_SOURCES = $(UIFILES:.ui=_moc.C)
18 # The trick.
19 libqt2uimoc_la_LINK = touch libqt2uimoc.la ; echo
20
21 %_moc.C: ../%.h
22         $(MOC) -o $@ $<