]> git.lyx.org Git - features.git/blob - src/frontends/qt2/moc/Makefile.am
Move the setting of the Qt preprocessor flags out of the Makefiles and into qt.m4
[features.git] / src / frontends / qt2 / moc / Makefile.am
1 include $(top_srcdir)/config/common.am
2 include $(srcdir)/../Makefile.dialogs
3
4 DISTCLEANFILES += *.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         -I$(top_builddir)/src/frontends/qt2 \
13         $(QT_INCLUDES) \
14         $(BOOST_INCLUDES)
15
16 noinst_LTLIBRARIES = libqt2moc.la
17
18 nodist_libqt2moc_la_SOURCES = $(MOCFILES:.C=_moc.C)
19 # The trick.
20 libqt2moc_la_LINK = touch libqt2moc.la ; echo
21
22 %_moc.C: $(srcdir)/../%.h
23         $(MOC) -o $@ $<