]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/moc/Makefile.am
Get rid of the static_casts.
[lyx.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 INCLUDES = -I$(top_srcdir)/src/ \
7         -I$(top_srcdir)/src/frontends/ \
8         -I$(top_srcdir)/src/frontends/controllers \
9         -I$(top_builddir)/src/frontends/qt2 \
10         $(FRONTEND_INCLUDES) \
11         $(BOOST_INCLUDES)
12
13 AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
14
15 noinst_LTLIBRARIES = libqt2moc.la
16
17 nodist_libqt2moc_la_SOURCES = $(MOCFILES:.C=_moc.C)
18 # The trick.
19 libqt2moc_la_LINK = touch libqt2moc.la
20
21 %_moc.C: $(srcdir)/../%.h
22         $(MOC) -o $@ $<