2002-03-13 18:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
2003-01-13 10:33:23 +00:00
|
|
|
include $(srcdir)/../Makefile.dialogs
|
2002-03-13 18:24:44 +00:00
|
|
|
|
2003-01-13 10:33:23 +00:00
|
|
|
EXTRA_DIST = $(UIFILES)
|
2003-01-12 22:24:47 +00:00
|
|
|
|
2003-01-13 10:33:23 +00:00
|
|
|
DISTCLEANFILES += *.C *.h
|
2003-01-12 22:24:47 +00:00
|
|
|
|
2003-01-13 10:33:23 +00:00
|
|
|
SUBDIRS = . moc
|
2003-01-12 22:24:47 +00:00
|
|
|
|
2002-03-01 17:30:53 +00:00
|
|
|
noinst_LTLIBRARIES = libqt2ui.la
|
2002-03-13 18:24:44 +00:00
|
|
|
|
2002-09-24 18:20:26 +00:00
|
|
|
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/frontends \
|
|
|
|
-I$(top_srcdir)/src/frontends/qt2 \
|
|
|
|
$(FRONTEND_INCLUDES) $(BOOST_INCLUDES) \
|
2001-08-19 13:25:15 +00:00
|
|
|
-I$(top_srcdir)/src/frontends/controllers
|
2002-03-13 18:24:44 +00:00
|
|
|
|
2002-11-18 21:19:02 +00:00
|
|
|
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
2002-03-13 18:24:44 +00:00
|
|
|
|
|
|
|
|
2003-01-13 10:33:23 +00:00
|
|
|
nodist_libqt2ui_la_SOURCES = $(UIFILES:.ui=.h) $(UIFILES:.ui=.C)
|
2002-03-01 17:30:53 +00:00
|
|
|
|
|
|
|
libqt2ui.la: $(libqt2ui_la_OBJECTS) $(libqt2ui_la_DEPENDENCIES)
|
2001-08-19 13:25:15 +00:00
|
|
|
|
2002-12-08 20:27:03 +00:00
|
|
|
# Use _() for localization instead of tr() or trUtf8()
|
2002-12-17 20:37:13 +00:00
|
|
|
UICFLAGS=-tr qt_
|
2002-04-08 09:42:58 +00:00
|
|
|
|
2003-01-12 22:24:47 +00:00
|
|
|
%.h: %.ui
|
|
|
|
$(UIC) $(UICFLAGS) $< -o $@
|
|
|
|
%.C: %.h %.ui
|
|
|
|
$(UIC) $(UICFLAGS) -impl $^ -o $@
|