]> git.lyx.org Git - features.git/blob - src/frontends/qt2/moc/Makefile.am
fix qt2 build.
[features.git] / src / frontends / qt2 / moc / Makefile.am
1 AUTOMAKE_OPTIONS = foreign 1.4
2 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
3 noinst_LTLIBRARIES = libqt2moc.o
4 BOOST_INCLUDES = -I$(top_srcdir)/boost
5 INCLUDES = -I${top_srcdir}/src/ \
6         -I${top_srcdir}/src/frontends/ \
7         -I${top_srcdir}/src/frontends/controllers \
8         -I${top_builddir}/src/frontends/qt2 \
9         ${SIGC_CFLAGS} \
10         ${FRONTEND_INCLUDES} \
11         $(BOOST_INCLUDES)
12 AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR
13
14 include ../Makefile.dialogs
15
16 libqt2moc_o_SOURCES := FileDialog_private_moc.C \
17         emptytable_moc.C \
18         lengthcombo_moc.C \
19         qttableview_moc.C \
20         Qt2Base_moc.C \
21         $(MOCDIALOGS)
22
23 DISTCLEANFILES = $(libqt2moc_la_SOURCES) *.orig *.rej *~ *.bak core
24
25 ETAGS_ARGS = --lang=c++
26
27 %_moc.C: ../%.h
28         $(MOC) -o $@ $<