]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Makefile.am
OK I'll try guii1 again ...
[lyx.git] / src / frontends / xforms / Makefile.am
index 5ed1ba0ea43ff7817dd7778d19d3c01dc27e8115..a774fa5098374cc7002be035f34e844a3336bd8a 100644 (file)
@@ -1,17 +1,22 @@
-AUTOMAKE_OPTIONS = foreign 1.4
-DISTCLEANFILES= *.orig *.rej *~ *.bak core
-MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
+include $(top_srcdir)/config/common.am
+
 noinst_LTLIBRARIES = libxforms.la
-BOOST_INCLUDES = -I$(top_srcdir)/boost
-INCLUDES = -I${top_srcdir}/images -I${top_srcdir}/src/ \
-       -I${top_srcdir}/src/frontends/ \
-       -I${top_srcdir}/src/frontends/controllers \
-       ${SIGC_CFLAGS} $(BOOST_INCLUDES)
-LIBS=
-LDFLAGS=
-LYXDATADIRS = forms
-ETAGS_ARGS = --lang=c++
-# Alphabetical order please.  It makes it easier to figure out what's missing. 
+
+INCLUDES = -I$(top_srcdir)/images -I$(top_srcdir)/src/ \
+       -I$(top_srcdir)/src/frontends/ \
+       -I$(top_srcdir)/src/frontends/controllers \
+       $(SIGC_CFLAGS) $(BOOST_INCLUDES)
+
+SUBDIRS = forms
+
+EXTRA_DIST = xformsGImage.C xformsGImage.h
+
+if USE_BASIC_IMAGE_LOADER
+else
+XFORMSGIMAGE = xformsGImage.C xformsGImage.h
+endif
+
+# Alphabetical order please.  It makes it easier to figure out what's missing.
 libxforms_la_SOURCES = \
        Alert_pimpl.C \
        bmtable.c \
@@ -23,12 +28,13 @@ libxforms_la_SOURCES = \
        Dialogs.C \
        DropDown.h \
        DropDown.C \
+       FeedbackController.C \
+       FeedbackController.h \
        FileDialog.C \
        FormFiledialog.h \
        FormFiledialog.C \
        form_filedialog.C \
        form_filedialog.h \
-       GUIRunTime.C \
        FormAboutlyx.C \
        FormAboutlyx.h \
        form_aboutlyx.C \
@@ -77,6 +83,10 @@ libxforms_la_SOURCES = \
        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 \
@@ -147,6 +157,10 @@ libxforms_la_SOURCES = \
        FormSearch.h \
        form_search.C \
        form_search.h \
+       FormSendto.C \
+       FormSendto.h \
+       form_sendto.C \
+       form_sendto.h \
        FormShowFile.C \
        FormShowFile.h \
        FormSpellchecker.C \
@@ -179,10 +193,11 @@ libxforms_la_SOURCES = \
        form_url.h \
        FormVCLog.C \
        FormVCLog.h \
-       input_validators.h \
+       GUIRunTime.C \
        input_validators.C \
-       MathsSymbols.h \
+       input_validators.h \
        MathsSymbols.C \
+       MathsSymbols.h \
        Menubar_pimpl.C \
        Menubar_pimpl.h \
        RadioButtonGroup.C \
@@ -191,9 +206,15 @@ libxforms_la_SOURCES = \
        Timeout_pimpl.h \
        Toolbar_pimpl.C \
        Toolbar_pimpl.h \
+       Tooltips.C \
+       Tooltips.h \
+       XPainter.h \
+       XPainter.C \
        xforms_helpers.C \
        xforms_helpers.h \
-       xformsBC.C \
+       xforms_resize.C \
+       xforms_resize.h \
+       $(XFORMSGIMAGE) xformsBC.C \
        xformsBC.h
 
 # These still have to be added. Sooner or later. ARRae-20000411
@@ -203,22 +224,22 @@ libxforms_la_SOURCES = \
 #      GUI_runtime.C \
 #      GUI_applymenu.C
 
-libxforms_la_LIBADD = @LYX_LIBS@ @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
+libxforms.la: $(libxforms_la_OBJECTS) $(libxforms_la_DEPENDENCIES)
 
 # for convenience only
 updatesrc:
        $(MAKE) -C forms updatesrc
+
 # 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
+#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