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 = xformsImage.C xformsImage.h
+noinst_LTLIBRARIES = libxforms.la
-if USE_BASIC_IMAGE_LOADER
-else
-XFORMSIMAGE = xformsImage.C xformsImage.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 = \
forms_gettext.h \
bmtable.c \
bmtable.h \
- combox.C \
+ 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 \
- lyxlookup.C \
- lyxlookup.h \
xfont_loader.C \
xfont_loader.h \
xfont_metrics.C \
xforms_helpers.h \
xforms_resize.C \
xforms_resize.h \
- $(XFORMSIMAGE) xformsBC.C \
+ xformsBC.C \
xformsBC.h \
+ xformsImage.C \
+ xformsImage.h \
+ xformsTimeout.C \
+ xformsTimeout.h \
xscreen.C \
xscreen.h \
Alert_pimpl.C \
ColorHandler.h \
Dialogs.C \
Dialogs2.C \
- Dialogs_impl.h \
- DropDown.h \
- DropDown.C \
- FeedbackController.C \
- FeedbackController.h \
FileDialog.C \
FontInfo.C \
FontInfo.h \
FormAboutlyx.h \
FormBase.C \
FormBase.h \
- FormBaseDeprecated.C \
- FormBaseDeprecated.h \
+ FormDialogView.C \
+ FormDialogView.h \
FormBibitem.C \
FormBibitem.h \
FormBibtex.C \
FormBibtex.h \
+ FormBox.C \
+ FormBox.h \
FormBrowser.C \
FormBrowser.h \
+ FormBranch.C \
+ FormBranch.h \
+ FormChanges.C \
+ FormChanges.h \
FormCharacter.C \
FormCharacter.h \
FormCitation.C \
FormCitation.h \
+ FormColorpicker.C \
+ FormColorpicker.h \
FormDocument.C \
FormDocument.h \
- FormError.C \
- FormError.h \
+ FormErrorList.C \
+ FormErrorList.h \
FormERT.C \
FormERT.h \
FormExternal.C \
FormExternal.h \
FormFloat.C \
FormFloat.h \
- FormWrap.C \
- FormWrap.h \
FormForks.C \
FormForks.h \
FormGraphics.C \
FormGraphics.h \
FormInclude.C \
FormInclude.h \
- FormIndex.C \
- FormIndex.h \
- FormInset.C \
- FormInset.h \
FormLog.C \
FormLog.h \
FormMathsBitmap.C \
FormMathsBitmap.h \
- FormMathsDeco.C \
- FormMathsDeco.h \
FormMathsDelim.C \
FormMathsDelim.h \
FormMathsMatrix.C \
FormMathsStyle.h \
FormMinipage.C \
FormMinipage.h \
+ FormNote.C \
+ FormNote.h \
FormParagraph.C \
FormParagraph.h \
FormPreamble.C \
FormTabularCreate.h \
FormTexinfo.C \
FormTexinfo.h \
+ FormText.C \
+ FormText.h \
FormThesaurus.C \
FormThesaurus.h \
FormToc.C \
FormUrl.h \
FormVCLog.C \
FormVCLog.h \
+ FormVSpace.C \
+ FormVSpace.h \
+ FormWrap.C \
+ FormWrap.h \
LyXKeySymFactory.C \
LyXScreenFactory.C \
- MathsCallbacks.h \
- Menubar_pimpl.C \
- Menubar_pimpl.h \
+ 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 \
XWorkArea.h \
XWorkArea.C
-libxforms.la: $(libxforms_la_OBJECTS) $(libxforms_la_DEPENDENCIES)
+lyx_forms.h: stamp-forms
+ @:
+
+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 > $@