include $(top_srcdir)/config/common.am
-noinst_LTLIBRARIES = libxforms.la
+SUBDIRS = forms
+CLEANFILES = stamp-xpm stamp-xforms
+DISTCLEANFILES += lyx_forms.h-tmp lyx_xpm.h-tmp
+BUILT_SOURCES = lyx_forms.h lyx_xpm.h
-INCLUDES = -I$(top_srcdir)/images -I$(top_srcdir)/src/ \
- -I$(top_srcdir)/src/frontends/ \
- -I$(top_srcdir)/src/frontends/controllers \
- $(SIGC_CFLAGS) $(BOOST_INCLUDES)
+EXTRA_DIST = lyx_forms.h.in lyx_xpm.h.in
-SUBDIRS = forms
+INCLUDES = -I$(top_srcdir)/images -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src/frontends \
+ -I$(top_srcdir)/src/frontends/controllers \
+ $(BOOST_INCLUDES)
-EXTRA_DIST = xformsGImage.C xformsGImage.h
+noinst_LTLIBRARIES = libxforms.la
-if USE_BASIC_IMAGE_LOADER
-else
-XFORMSGIMAGE = xformsGImage.C xformsGImage.h
-endif
+libxforms_la_LIBADD = @XFORMS_LIBS@ forms/*.lo
# Alphabetical order please. It makes it easier to figure out what's missing.
libxforms_la_SOURCES = \
- Alert_pimpl.C \
+ forms_fwd.h \
+ forms_gettext.C \
+ forms_gettext.h \
bmtable.c \
bmtable.h \
+ checkedwidgets.C \
+ checkedwidgets.h \
+ combox.c \
+ combox.h \
+ freebrowser.c \
+ freebrowser.h \
+ fdesign_base.C \
+ fdesign_base.h \
+ input_validators.C \
+ input_validators.h \
+ lyx_gui.C \
+ xfont_loader.C \
+ xfont_loader.h \
+ xfont_metrics.C \
+ xfont_metrics.h \
+ xforms_helpers.C \
+ xforms_helpers.h \
+ xforms_resize.C \
+ xforms_resize.h \
+ xformsBC.C \
+ xformsBC.h \
+ xformsImage.C \
+ xformsImage.h \
+ xformsTimeout.C \
+ xformsTimeout.h \
+ xscreen.C \
+ xscreen.h \
+ Alert_pimpl.C \
Color.C \
Color.h \
ColorHandler.C \
ColorHandler.h \
- combox.C \
- combox.h \
Dialogs.C \
- DropDown.h \
- DropDown.C \
- FeedbackController.C \
- FeedbackController.h \
+ Dialogs2.C \
FileDialog.C \
FontInfo.C \
FontInfo.h \
FormFiledialog.h \
FormFiledialog.C \
- form_filedialog.C \
- form_filedialog.h \
FormAboutlyx.C \
FormAboutlyx.h \
- form_aboutlyx.C \
- form_aboutlyx.h \
FormBase.C \
FormBase.h \
- FormBaseDeprecated.C \
- FormBaseDeprecated.h \
+ FormDialogView.C \
+ FormDialogView.h \
FormBibitem.C \
FormBibitem.h \
- form_bibitem.C \
- form_bibitem.h \
FormBibtex.C \
FormBibtex.h \
- form_bibtex.C \
- form_bibtex.h \
+ FormBox.C \
+ FormBox.h \
FormBrowser.C \
FormBrowser.h \
- form_browser.C \
- form_browser.h \
+ FormBranch.C \
+ FormBranch.h \
+ FormChanges.C \
+ FormChanges.h \
FormCharacter.C \
FormCharacter.h \
- form_character.C \
- form_character.h \
FormCitation.C \
FormCitation.h \
- form_citation.C \
- form_citation.h \
+ FormColorpicker.C \
+ FormColorpicker.h \
FormDocument.C \
FormDocument.h \
- form_document.C \
- form_document.h \
- FormError.C \
- FormError.h \
- form_error.C \
- form_error.h \
+ FormErrorList.C \
+ FormErrorList.h \
FormERT.C \
FormERT.h \
- form_ert.C \
- form_ert.h \
FormExternal.C \
FormExternal.h \
- form_external.C \
- form_external.h \
FormFloat.C \
FormFloat.h \
- form_float.C \
- form_float.h \
FormForks.C \
FormForks.h \
- form_forks.C \
- form_forks.h \
FormGraphics.C \
FormGraphics.h \
- form_graphics.C \
- form_graphics.h \
FormInclude.C \
FormInclude.h \
- form_include.C \
- form_include.h \
- FormIndex.C \
- FormIndex.h \
- form_index.C \
- form_index.h \
- FormInset.C \
- FormInset.h \
FormLog.C \
FormLog.h \
FormMathsBitmap.C \
FormMathsBitmap.h \
- FormMathsDeco.C \
- FormMathsDeco.h \
- form_maths_deco.C \
- form_maths_deco.h \
FormMathsDelim.C \
FormMathsDelim.h \
- form_maths_delim.C \
- form_maths_delim.h \
FormMathsMatrix.C \
FormMathsMatrix.h \
- form_maths_matrix.C \
- form_maths_matrix.h \
FormMathsPanel.C \
FormMathsPanel.h \
- form_maths_panel.C \
- form_maths_panel.h \
FormMathsSpace.C \
FormMathsSpace.h \
- form_maths_space.C \
- form_maths_space.h \
FormMathsStyle.C \
FormMathsStyle.h \
- form_maths_style.C \
- form_maths_style.h \
FormMinipage.C \
FormMinipage.h \
- form_minipage.C \
- form_minipage.h \
+ FormNote.C \
+ FormNote.h \
FormParagraph.C \
FormParagraph.h \
- form_paragraph.C \
- form_paragraph.h \
FormPreamble.C \
FormPreamble.h \
- form_preamble.C \
- form_preamble.h \
FormPreferences.C \
FormPreferences.h \
- form_preferences.C \
- form_preferences.h \
FormPrint.C \
FormPrint.h \
- form_print.C \
- form_print.h \
FormRef.C \
FormRef.h \
- form_ref.C \
- form_ref.h \
FormSearch.C \
FormSearch.h \
- form_search.C \
- form_search.h \
FormSendto.C \
FormSendto.h \
- form_sendto.C \
- form_sendto.h \
FormShowFile.C \
FormShowFile.h \
FormSpellchecker.C \
FormSpellchecker.h \
- form_spellchecker.C \
- form_spellchecker.h \
FormTabular.C \
FormTabular.h \
- form_tabular.C \
- form_tabular.h \
FormTabularCreate.C \
FormTabularCreate.h \
- form_tabular_create.C \
- form_tabular_create.h \
FormTexinfo.C \
FormTexinfo.h \
- form_texinfo.C \
- form_texinfo.h \
+ FormText.C \
+ FormText.h \
FormThesaurus.C \
FormThesaurus.h \
- form_thesaurus.C \
- form_thesaurus.h \
FormToc.C \
FormToc.h \
- form_toc.C \
- form_toc.h \
FormUrl.C \
FormUrl.h \
- form_url.C \
- form_url.h \
FormVCLog.C \
FormVCLog.h \
- input_validators.C \
- input_validators.h \
- lyx_gui.C \
- lyxlookup.C \
- lyxlookup.h \
- MathsSymbols.C \
- MathsSymbols.h \
- Menubar_pimpl.C \
- Menubar_pimpl.h \
+ FormVSpace.C \
+ FormVSpace.h \
+ FormWrap.C \
+ FormWrap.h \
+ LyXKeySymFactory.C \
+ LyXScreenFactory.C \
+ XFormsMenubar.C \
+ XFormsMenubar.h \
RadioButtonGroup.C \
RadioButtonGroup.h \
- Timeout_pimpl.C \
- Timeout_pimpl.h \
- Toolbar_pimpl.C \
- Toolbar_pimpl.h \
+ XFormsToolbar.C \
+ XFormsToolbar.h \
Tooltips.C \
Tooltips.h \
+ WorkAreaFactory.C \
XFormsView.C \
XFormsView.h \
+ XLyXKeySym.C \
+ XLyXKeySym.h \
+ XMiniBuffer.C \
+ XMiniBuffer.h \
XPainter.C \
XPainter.h \
XWorkArea.h \
- XWorkArea.C \
- xfont_loader.C \
- xfont_loader.h \
- xfont_metrics.C \
- xfont_metrics.h \
- xforms_helpers.C \
- xforms_helpers.h \
- xforms_resize.C \
- xforms_resize.h \
- $(XFORMSGIMAGE) xformsBC.C \
- xformsBC.h
+ XWorkArea.C
+
+lyx_forms.h: stamp-forms
+ @:
-libxforms.la: $(libxforms_la_OBJECTS) $(libxforms_la_DEPENDENCIES)
+stamp-forms: lyx_forms.h-tmp
+ cmp -s $< lyx_forms.h || {\
+ rm -f lyx_forms.h ;\
+ cp $< lyx_forms.h ;\
+ }
+ echo timestamp > $@
-# for convenience only
-updatesrc:
- $(MAKE) -C forms updatesrc
+lyx_xpm.h: stamp-xpm
+ @:
-# 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
+stamp-xpm: lyx_xpm.h-tmp
+ cmp -s $< lyx_xpm.h || {\
+ rm -f lyx_xpm.h ;\
+ cp $< lyx_xpm.h ;\
+ }
+ echo timestamp > $@