mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
980ba296f5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5941 a592a061-630c-0410-9148-cb99ea01b6c8
31 lines
733 B
Makefile
31 lines
733 B
Makefile
include $(top_srcdir)/config/common.am
|
|
include $(srcdir)/../Makefile.dialogs
|
|
|
|
EXTRA_DIST = $(UIFILES)
|
|
|
|
DISTCLEANFILES += *.C *.h
|
|
|
|
SUBDIRS = . moc
|
|
|
|
noinst_LTLIBRARIES = libqt2ui.la
|
|
|
|
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/frontends \
|
|
-I$(top_srcdir)/src/frontends/qt2 \
|
|
$(FRONTEND_INCLUDES) $(BOOST_INCLUDES) \
|
|
-I$(top_srcdir)/src/frontends/controllers
|
|
|
|
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
|
|
|
|
|
nodist_libqt2ui_la_SOURCES = $(UIFILES:.ui=.h) $(UIFILES:.ui=.C)
|
|
|
|
libqt2ui.la: $(libqt2ui_la_OBJECTS) $(libqt2ui_la_DEPENDENCIES)
|
|
|
|
# Use _() for localization instead of tr() or trUtf8()
|
|
UICFLAGS=-tr qt_
|
|
|
|
%.h: %.ui
|
|
$(UIC) $(UICFLAGS) $< -o $@
|
|
%.C: %.h %.ui
|
|
$(UIC) $(UICFLAGS) -impl $^ -o $@
|