lyx_mirror/src/frontends/qt4/ui/Makefile.am
Lars Gullik Bjønnes 12e5a52b92 Added initial qt4 work by Abdelrazak Younes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13294 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 17:24:44 +00:00

32 lines
715 B
Makefile

include $(top_srcdir)/config/common.am
include $(srcdir)/../Makefile.dialogs
CLEANFILES += *.C *Base.h *Module.h *Dialog.h
SUBDIRS = .
EXTRA_DIST = pch.h $(UIFILES)
BUILT_SOURCES = $(PCH_FILE) $(UIFILES:.ui=.h)
AM_CPPFLAGS += \
$(QT4_CPPFLAGS) -DQT_NO_TRANSLATION \
$(PCH_FLAGS) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/frontends \
-I$(top_srcdir)/src/frontends/qt4 \
$(QT4_INCLUDES) $(BOOST_INCLUDES) \
-I$(top_srcdir)/src/frontends/controllers
noinst_LTLIBRARIES = libqt4ui.la
nodist_libqt4ui_la_SOURCES = $(UIFILES:.ui=.h)
# The trick.
libqt4ui_la_LINK = touch libqt4ui.la ; echo
# Use _() for localization instead of tr() or trUtf8()
UICFLAGS=-tr qt_
%.h: %.ui
$(UIC4) $(UIC4FLAGS) $< -o $@