]> git.lyx.org Git - lyx.git/blob - src/frontends/qt3/ui/moc/Makefile.am
Convert ui files to qt3 format:
[lyx.git] / src / frontends / qt3 / 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 EXTRA_DIST = pch.h
7
8 BUILT_SOUCES = $(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         $(QT_INCLUDES) \
18         $(BOOST_INCLUDES)
19
20 noinst_LTLIBRARIES = libqt3uimoc.la
21
22 nodist_libqt3uimoc_la_SOURCES = $(UIFILES:.ui=_moc.C)
23 # The trick.
24 libqt3uimoc_la_LINK = touch libqt3uimoc.la ; echo
25
26 %_moc.C: ../%.h
27         $(MOC) -o $@ $<