2002-03-13 18:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
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
|
|
|
|
2001-08-29 19:34:05 +00:00
|
|
|
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR
|
2002-03-13 18:24:44 +00:00
|
|
|
|
|
|
|
|
2002-04-08 17:55:47 +00:00
|
|
|
SUBDIRS = . moc
|
2001-08-19 13:25:15 +00:00
|
|
|
|
2002-04-08 09:42:58 +00:00
|
|
|
include $(srcdir)/../Makefile.dialogs
|
2001-10-17 15:38:59 +00:00
|
|
|
|
2002-03-13 18:24:44 +00:00
|
|
|
DISTCLEANFILES += $(UIDIALOGS)
|
2001-10-17 15:38:59 +00:00
|
|
|
|
2002-04-08 09:42:58 +00:00
|
|
|
nodist_libqt2ui_la_SOURCES = $(UIDIALOGS)
|
2002-03-01 17:30:53 +00:00
|
|
|
|
|
|
|
libqt2ui.la: $(libqt2ui_la_OBJECTS) $(libqt2ui_la_DEPENDENCIES)
|
2001-08-19 13:25:15 +00:00
|
|
|
|
2001-08-27 16:51:13 +00:00
|
|
|
# a pattern to change tr() to _()
|
|
|
|
|
2002-03-13 18:24:44 +00:00
|
|
|
SED = sed
|
|
|
|
SEDREPLACETR = s,[^A-Za-z]tr[ ]*(,_(,g
|
|
|
|
SEDREMOVEEMPTY = s,_[ ]*([ ]*""[ ]*),"",g
|
2002-04-08 09:42:58 +00:00
|
|
|
|
2002-03-01 18:47:56 +00:00
|
|
|
QAskForTextDialog.h: QAskForTextDialog.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
QAskForTextDialog.C: QAskForTextDialog.h QAskForTextDialog.ui
|
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
2002-04-08 09:42:58 +00:00
|
|
|
|
2002-10-09 08:59:02 +00:00
|
|
|
ClassModuleBase.h: ClassModuleBase.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
ClassModuleBase.C: ClassModuleBase.h ClassModuleBase.ui
|
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
|
|
|
|
|
|
|
BulletsModuleBase.h: BulletsModuleBase.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
BulletsModuleBase.C: BulletsModuleBase.h BulletsModuleBase.ui
|
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
|
|
|
|
|
|
|
PackagesModuleBase.h: PackagesModuleBase.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
PackagesModuleBase.C: PackagesModuleBase.h PackagesModuleBase.ui
|
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
|
|
|
|
|
|
|
PaperModuleBase.h: PaperModuleBase.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
PaperModuleBase.C: PaperModuleBase.h PaperModuleBase.ui
|
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
|
|
|
|
|
|
|
MarginsModuleBase.h: MarginsModuleBase.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
MarginsModuleBase.C: MarginsModuleBase.h MarginsModuleBase.ui
|
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
|
|
|
|
|
|
|
LanguageModuleBase.h: LanguageModuleBase.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
LanguageModuleBase.C: LanguageModuleBase.h LanguageModuleBase.ui
|
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
|
|
|
|
|
|
|
NumberingModuleBase.h: NumberingModuleBase.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
NumberingModuleBase.C: NumberingModuleBase.h NumberingModuleBase.ui
|
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
|
|
|
|
|
|
|
BiblioModuleBase.h: BiblioModuleBase.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
BiblioModuleBase.C: BiblioModuleBase.h BiblioModuleBase.ui
|
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
|
|
|
|
|
|
|
PreambleModuleBase.h: PreambleModuleBase.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
PreambleModuleBase.C: PreambleModuleBase.h PreambleModuleBase.ui
|
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
|
|
|
|
|
|
|
|
2002-11-13 05:36:07 +00:00
|
|
|
%Module.h: %Module.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
%Module.C: %Module.h %Module.ui
|
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
2002-10-09 08:59:02 +00:00
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
%Base.h: %.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
%Base.C: %Base.h %.ui
|
2001-08-27 16:51:13 +00:00
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|