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
+
+EXTRA_DIST = lyx_forms.h.in lyx_xpm.h.in
INCLUDES = -I$(top_srcdir)/images -I$(top_srcdir)/src \
-I$(top_srcdir)/src/frontends \
-I$(top_srcdir)/src/frontends/controllers \
$(BOOST_INCLUDES)
-SUBDIRS = forms
+noinst_LTLIBRARIES = libxforms.la
+
+libxforms_la_LIBADD = @XFORMS_LIBS@ forms/*.lo
# Alphabetical order please. It makes it easier to figure out what's missing.
libxforms_la_SOURCES = \
bmtable.h \
checkedwidgets.C \
checkedwidgets.h \
- combox.C \
+ combox.c \
combox.h \
+ freebrowser.c \
+ freebrowser.h \
fdesign_base.C \
fdesign_base.h \
input_validators.C \
ColorHandler.h \
Dialogs.C \
Dialogs2.C \
- Dialogs3.C \
- Dialogs_impl.h \
- DropDown.h \
- DropDown.C \
FileDialog.C \
FontInfo.C \
FontInfo.h \
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 \
FormMathsStyle.h \
FormMinipage.C \
FormMinipage.h \
+ FormNote.C \
+ FormNote.h \
FormParagraph.C \
FormParagraph.h \
FormPreamble.C \
FormUrl.h \
FormVCLog.C \
FormVCLog.h \
+ FormVSpace.C \
+ FormVSpace.h \
FormWrap.C \
FormWrap.h \
LyXKeySymFactory.C \
LyXScreenFactory.C \
- Menubar_pimpl.C \
- Menubar_pimpl.h \
+ XFormsMenubar.C \
+ XFormsMenubar.h \
RadioButtonGroup.C \
RadioButtonGroup.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 > $@
+
+lyx_xpm.h: stamp-xpm
+ @:
+
+stamp-xpm: lyx_xpm.h-tmp
+ cmp -s $< lyx_xpm.h || {\
+ rm -f lyx_xpm.h ;\
+ cp $< lyx_xpm.h ;\
+ }
+ echo timestamp > $@