]> git.lyx.org Git - lyx.git/blob - src/frontends/qt3/moc/Makefile.am
Convert ui files to qt3 format:
[lyx.git] / src / frontends / qt3 / moc / Makefile.am
1 include $(top_srcdir)/config/common.am
2 include $(srcdir)/../Makefile.dialogs
3
4 DISTCLEANFILES += *.C
5
6 EXTRA_DIST = pch.h
7
8 BUILT_SOURCES = $(PCH_FILE)
9
10 AM_CPPFLAGS += \
11         $(QT_CPPFLAGS) -DQT_NO_TRANSLATION \
12         $(PCH_FLAGS) \
13         -I$(top_srcdir)/src \
14         -I$(top_srcdir)/src/frontends \
15         -I$(top_srcdir)/src/frontends/qt3 \
16         -I$(top_srcdir)/src/frontends/controllers \
17         -I$(top_builddir)/src/frontends/qt3 \
18         $(QT_INCLUDES) \
19         $(BOOST_INCLUDES)
20
21 noinst_LTLIBRARIES = libqt3moc.la
22
23 nodist_libqt3moc_la_SOURCES = $(MOCFILES:.C=_moc.C)
24 # The trick.
25 libqt3moc_la_LINK = touch libqt3moc.la ; echo
26
27 %_moc.C: $(srcdir)/../%.h
28         $(MOC) -o $@ $<