-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.