2001-01-26 10:16:05 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign 1.4
|
2001-03-16 17:20:06 +00:00
|
|
|
DISTCLEANFILES= *.orig *.rej *~ *.bak core
|
2001-01-26 10:16:05 +00:00
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
|
|
|
noinst_LTLIBRARIES = libqt2.la
|
|
|
|
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
|
|
|
INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/ \
|
|
|
|
${SIGC_CFLAGS} ${FRONTEND_INCLUDES} $(BOOST_INCLUDES) \
|
2001-03-16 17:20:06 +00:00
|
|
|
-I$(top_srcdir)/src/frontends/controllers
|
2001-03-26 19:34:45 +00:00
|
|
|
DEFINES += -DQT_CLEAN_NAMESPACE
|
2001-01-26 10:16:05 +00:00
|
|
|
|
|
|
|
# moc generated files
|
2001-03-12 11:22:26 +00:00
|
|
|
BUILTSOURCES = \
|
|
|
|
moc_FileDialog_private.C \
|
2001-03-26 19:34:45 +00:00
|
|
|
moc_Qt2Base.C \
|
2001-03-16 17:20:06 +00:00
|
|
|
moc_FormCitationDialog.C \
|
|
|
|
moc_FormCitationDialogImpl.C \
|
2001-03-24 07:50:48 +00:00
|
|
|
moc_FormCopyrightDialog.C \
|
|
|
|
moc_FormCopyrightDialogImpl.C \
|
2001-04-02 20:08:43 +00:00
|
|
|
moc_FormCreditsDialog.C \
|
|
|
|
moc_FormCreditsDialogImpl.C \
|
2001-03-05 10:16:03 +00:00
|
|
|
moc_chardlg.C \
|
|
|
|
moc_chardlgimpl.C \
|
2001-02-12 14:09:09 +00:00
|
|
|
moc_paragraphdlg.C \
|
|
|
|
moc_paragraphdlgimpl.C \
|
|
|
|
moc_printdlg.C \
|
|
|
|
moc_printdlgimpl.C \
|
2001-03-06 14:23:02 +00:00
|
|
|
moc_searchdlg.C \
|
|
|
|
moc_searchdlgimpl.C \
|
2001-02-12 14:09:09 +00:00
|
|
|
moc_tabularcreatedlg.C \
|
|
|
|
moc_tabularcreatedlgimpl.C \
|
|
|
|
moc_emptytable.C
|
2001-01-26 10:16:05 +00:00
|
|
|
|
|
|
|
LYXDATADIRS = dlg
|
|
|
|
DISTCLEANFILES = $(BUILTSOURCES) *.orig *.rej *~ *.bak core
|
|
|
|
|
|
|
|
libqt2_la_OBJADD = \
|
2001-03-19 13:28:31 +00:00
|
|
|
../controllers/ButtonController.lo \
|
|
|
|
../xforms/combox.lo \
|
2001-01-26 10:16:05 +00:00
|
|
|
../xforms/Color.lo \
|
2001-03-16 17:20:06 +00:00
|
|
|
../xforms/FormBaseDeprecated.lo \
|
2001-03-19 13:28:31 +00:00
|
|
|
../xforms/FormBibitem.lo \
|
|
|
|
../xforms/FormBibtex.lo \
|
|
|
|
../xforms/FormBrowser.lo \
|
2001-03-29 15:02:19 +00:00
|
|
|
../xforms/FormDocument.lo \
|
2001-01-26 10:16:05 +00:00
|
|
|
../xforms/FormError.lo \
|
2001-03-19 13:28:31 +00:00
|
|
|
../xforms/FormExternal.lo \
|
2001-01-26 10:16:05 +00:00
|
|
|
../xforms/FormGraphics.lo \
|
2001-03-19 13:28:31 +00:00
|
|
|
../xforms/FormInclude.lo \
|
2001-01-26 10:16:05 +00:00
|
|
|
../xforms/FormIndex.lo \
|
|
|
|
../xforms/FormInset.lo \
|
2001-03-19 13:28:31 +00:00
|
|
|
../xforms/FormLog.lo \
|
|
|
|
../xforms/FormMinipage.lo \
|
2001-03-06 14:23:02 +00:00
|
|
|
../xforms/FormPreamble.lo \
|
2001-01-26 10:16:05 +00:00
|
|
|
../xforms/FormPreferences.lo \
|
|
|
|
../xforms/FormRef.lo \
|
|
|
|
../xforms/FormTabular.lo \
|
|
|
|
../xforms/FormToc.lo \
|
|
|
|
../xforms/FormUrl.lo \
|
2001-03-19 13:28:31 +00:00
|
|
|
../xforms/FormVCLog.lo \
|
|
|
|
../xforms/MathsSymbols.lo \
|
2001-01-26 10:16:05 +00:00
|
|
|
../xforms/Menubar_pimpl.lo \
|
|
|
|
../xforms/RadioButtonGroup.lo \
|
2001-02-12 14:09:09 +00:00
|
|
|
../xforms/Timeout_pimpl.lo \
|
2001-03-19 13:28:31 +00:00
|
|
|
../xforms/Toolbar_pimpl.lo \
|
|
|
|
../xforms/bmtable.lo \
|
|
|
|
../xforms/form_bibitem.lo \
|
|
|
|
../xforms/form_bibtex.lo \
|
|
|
|
../xforms/form_browser.lo \
|
2001-03-12 11:22:26 +00:00
|
|
|
../xforms/form_credits.lo \
|
2001-01-26 10:16:05 +00:00
|
|
|
../xforms/form_document.lo \
|
|
|
|
../xforms/form_error.lo \
|
2001-03-19 13:28:31 +00:00
|
|
|
../xforms/form_external.lo \
|
2001-01-26 10:16:05 +00:00
|
|
|
../xforms/form_index.lo \
|
2001-02-12 14:09:09 +00:00
|
|
|
../xforms/form_graphics.lo \
|
2001-03-19 13:28:31 +00:00
|
|
|
../xforms/form_include.lo \
|
|
|
|
../xforms/form_index.lo \
|
|
|
|
../xforms/form_minipage.lo \
|
2001-03-06 14:23:02 +00:00
|
|
|
../xforms/form_preamble.lo \
|
2001-01-26 10:16:05 +00:00
|
|
|
../xforms/form_preferences.lo \
|
|
|
|
../xforms/form_ref.lo \
|
|
|
|
../xforms/form_tabular.lo \
|
|
|
|
../xforms/form_toc.lo \
|
|
|
|
../xforms/form_url.lo \
|
|
|
|
../xforms/input_validators.lo \
|
2001-03-19 13:28:31 +00:00
|
|
|
../xforms/xformsBC.lo \
|
|
|
|
../xforms/xforms_helpers.lo
|
2001-01-26 10:16:05 +00:00
|
|
|
|
|
|
|
LIBS=
|
|
|
|
LDFLAGS= $(libqt2_la_OBJADD)
|
|
|
|
ETAGS_ARGS = --lang=c++
|
|
|
|
|
|
|
|
libqt2_la_SOURCES = \
|
|
|
|
$(BUILTSOURCES) \
|
|
|
|
Dialogs.C \
|
|
|
|
GUIRunTime.C \
|
2001-03-05 10:16:03 +00:00
|
|
|
FormCharacter.C \
|
|
|
|
FormCharacter.h \
|
|
|
|
chardlg.C \
|
|
|
|
chardlg.h \
|
|
|
|
chardlgimpl.C \
|
|
|
|
chardlgimpl.h \
|
2001-03-12 11:22:26 +00:00
|
|
|
FileDialog.C \
|
|
|
|
FileDialog_private.C \
|
2001-03-26 19:34:45 +00:00
|
|
|
Qt2Base.C \
|
|
|
|
Qt2Base.h \
|
2001-03-16 17:20:06 +00:00
|
|
|
FormCitation.C \
|
|
|
|
FormCitation.h \
|
|
|
|
FormCitationDialog.C \
|
|
|
|
FormCitationDialog.h \
|
|
|
|
FormCitationDialogImpl.C \
|
|
|
|
FormCitationDialogImpl.h \
|
2001-03-23 22:07:56 +00:00
|
|
|
FormCopyright.C \
|
|
|
|
FormCopyright.h \
|
|
|
|
FormCopyrightDialog.C \
|
|
|
|
FormCopyrightDialog.h \
|
|
|
|
FormCopyrightDialogImpl.C \
|
|
|
|
FormCopyrightDialogImpl.h \
|
2001-04-02 20:08:43 +00:00
|
|
|
FormCredits.C \
|
|
|
|
FormCredits.h \
|
|
|
|
FormCreditsDialog.C \
|
|
|
|
FormCreditsDialog.h \
|
|
|
|
FormCreditsDialogImpl.C \
|
|
|
|
FormCreditsDialogImpl.h \
|
2001-02-12 14:09:09 +00:00
|
|
|
FormParagraph.C \
|
|
|
|
FormParagraph.h \
|
|
|
|
paragraphdlg.C \
|
|
|
|
paragraphdlg.h \
|
|
|
|
paragraphdlgimpl.C \
|
|
|
|
paragraphdlgimpl.h \
|
|
|
|
FormPrint.C \
|
|
|
|
FormPrint.h \
|
|
|
|
printdlg.C \
|
|
|
|
printdlg.h \
|
|
|
|
printdlgimpl.C \
|
|
|
|
printdlgimpl.h \
|
|
|
|
emptytable.C \
|
|
|
|
emptytable.h \
|
2001-03-06 14:23:02 +00:00
|
|
|
FormSearch.C \
|
|
|
|
FormSearch.h \
|
|
|
|
searchdlg.C \
|
|
|
|
searchdlg.h \
|
|
|
|
searchdlgimpl.C \
|
|
|
|
searchdlgimpl.h \
|
2001-03-15 16:34:44 +00:00
|
|
|
FormSplash.C \
|
|
|
|
FormSplash.h \
|
|
|
|
FormSplashImpl.C \
|
|
|
|
FormSplashImpl.h \
|
2001-02-12 14:09:09 +00:00
|
|
|
FormTabularCreate.C \
|
|
|
|
FormTabularCreate.h \
|
|
|
|
tabularcreatedlg.C \
|
|
|
|
tabularcreatedlg.h \
|
|
|
|
tabularcreatedlgimpl.C \
|
2001-03-23 22:07:56 +00:00
|
|
|
tabularcreatedlgimpl.h \
|
|
|
|
qt2BC.C \
|
|
|
|
qt2BC.h
|
2001-01-26 10:16:05 +00:00
|
|
|
|
|
|
|
# just copied from old lyx repository
|
|
|
|
dist-hook:
|
|
|
|
for subdir in $(LYXDATADIRS) ; do \
|
|
|
|
test -d $(distdir)/$$subdir \
|
|
|
|
|| mkdir $(distdir)/$$subdir \
|
|
|
|
|| exit 1; \
|
|
|
|
chmod 777 $(distdir)/$$subdir; \
|
|
|
|
list=`(cd $(srcdir)/$$subdir && ls -1 | grep -v CVS)`; \
|
|
|
|
echo $$list ; \
|
|
|
|
for fil in $$list ; do \
|
|
|
|
cp -p $(srcdir)/$$subdir/$$fil $(distdir)/$$subdir ; \
|
|
|
|
done ; \
|
|
|
|
done
|
|
|
|
|
2001-04-02 20:08:43 +00:00
|
|
|
moc_%.C: %.h
|
2001-03-24 15:59:01 +00:00
|
|
|
$(MOC) -o $@ $<
|
|
|
|
|
2001-03-16 17:20:06 +00:00
|
|
|
FormCitation.C: FormCitationDialog.h
|
|
|
|
FormCitationDialog.h: FormCitationDialog.ui
|
2001-02-12 14:09:09 +00:00
|
|
|
$(UIC) -o $@ $<
|
2001-03-16 17:20:06 +00:00
|
|
|
FormCitationDialog.C: FormCitationDialog.ui
|
|
|
|
$(UIC) -impl FormCitationDialog.h -o $@ $<
|
2001-02-12 14:09:09 +00:00
|
|
|
|
2001-03-23 22:07:56 +00:00
|
|
|
FormCopyright.C: FormCopyrightDialogImpl.h
|
|
|
|
FormCopyrightDialog.h: FormCopyrightDialog.ui
|
|
|
|
$(UIC) -o $@ $<
|
|
|
|
FormCopyrightDialog.C: FormCopyrightDialog.ui
|
|
|
|
$(UIC) -impl FormCopyrightDialog.h -o $@ $<
|
2001-04-02 20:08:43 +00:00
|
|
|
|
|
|
|
FormCredits.C: FormCreditsDialogImpl.h
|
|
|
|
FormCreditsDialog.h: FormCreditsDialog.ui
|
|
|
|
$(UIC) -o $@ $<
|
|
|
|
FormCreditsDialog.C: FormCreditsDialog.ui
|
|
|
|
$(UIC) -impl FormCreditsDialog.h -o $@ $<
|
2001-03-23 22:07:56 +00:00
|
|
|
|
2001-02-12 14:09:09 +00:00
|
|
|
FormParagraph.C: paragraphdlg.h
|
|
|
|
paragraphdlg.h: paragraphdlg.ui
|
|
|
|
$(UIC) -o $@ $<
|
|
|
|
paragraphdlg.C: paragraphdlg.ui
|
|
|
|
$(UIC) -impl paragraphdlg.h -o $@ $<
|
|
|
|
|
|
|
|
FormPrint.C: printdlg.h
|
|
|
|
printdlg.h: printdlg.ui
|
|
|
|
$(UIC) -o $@ $<
|
|
|
|
printdlg.C: printdlg.ui
|
|
|
|
$(UIC) -impl printdlg.h -o $@ $<
|
|
|
|
|
|
|
|
FormTabularCreate.C: tabularcreatedlg.h
|
|
|
|
tabularcreatedlg.h: tabularcreatedlg.ui
|
|
|
|
$(UIC) -o $@ $<
|
|
|
|
tabularcreatedlg.C: tabularcreatedlg.ui
|
|
|
|
$(UIC) -impl tabularcreatedlg.h -o $@ $<
|
2001-03-05 10:16:03 +00:00
|
|
|
|
|
|
|
FormCharacter.C: chardlg.h
|
|
|
|
chardlg.h: chardlg.ui
|
|
|
|
$(UIC) -o $@ $<
|
|
|
|
chardlg.C: chardlg.ui
|
|
|
|
$(UIC) -impl chardlg.h -o $@ $<
|
|
|
|
|
2001-03-06 14:23:02 +00:00
|
|
|
FormSearch.C: searchdlg.h
|
|
|
|
searchdlg.h: searchdlg.ui
|
|
|
|
$(UIC) -o $@ $<
|
|
|
|
searchdlg.C: searchdlg.ui
|
|
|
|
$(UIC) -impl searchdlg.h -o $@ $<
|