Reformat and clean up the automake files
[synfig.git] / synfig-core / trunk / src / synfig / Makefile.am
index 03658cf..a406f9a 100644 (file)
 # $Id$
 
-# SUBDIRS=proto
+MAINTAINERCLEANFILES = \
+       Makefile.in
 
-MAINTAINERCLEANFILES=Makefile.in proto/nodebase.h
-INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/libltdl
+INCLUDES = \
+       -I$(top_builddir) \
+       -I$(top_srcdir)/src \
+       @INCLTDL@
 
-EXTRA_DIST=surfacenew.cpp pch.h proto/Makefile proto/nodebase.h proto/nodebase.px proto/proto.m4 synfig.nsh
+EXTRA_DIST = \
+       surfacenew.cpp \
+       pch.h \
+       synfig.nsh
 
-LAYERHEADERS=layer_motionblur.h layer_pastecanvas.h layer_solidcolor.h layer_polygon.h layer_composite.h layer_bitmap.h layer_mime.h layer_shape.h
-LAYERSOURCES=layer_motionblur.cpp layer_pastecanvas.cpp layer_solidcolor.cpp layer_polygon.cpp layer_composite.cpp layer_bitmap.cpp layer_mime.cpp layer_shape.cpp
 
-TARGETHEADERS=target_scanline.h target_tile.h target_multi.h target_null.h target_null_tile.h
-TARGETSOURCES=target_scanline.cpp target_tile.cpp target_multi.cpp target_null.cpp target_null_tile.cpp
+LAYERHEADERS = \
+       layer_bitmap.h \
+       layer_composite.h \
+       layer_duplicate.h \
+       layer_mime.h \
+       layer_motionblur.h \
+       layer_pastecanvas.h \
+       layer_polygon.h \
+       layer_shape.h \
+       layer_solidcolor.h
 
-IMPORTERHEADERS=listimporter.h
-IMPORTERSOURCES=listimporter.cpp
+LAYERSOURCES = \
+       layer_bitmap.cpp \
+       layer_composite.cpp \
+       layer_duplicate.cpp \
+       layer_mime.cpp \
+       layer_motionblur.cpp \
+       layer_pastecanvas.cpp \
+       layer_polygon.cpp \
+       layer_shape.cpp \
+       layer_solidcolor.cpp
 
-VALUENODEHEADERS=valuenode_exp.h valuenode_sine.h valuenode_radialcomposite.h valuenode_bline.h valuenode_blinecalcvertex.h valuenode_blinecalctangent.h valuenode_segcalcvertex.h valuenode_segcalctangent.h valuenode_twotone.h valuenode_repeat_gradient.h valuenode_stripes.h valuenode_add.h valuenode_subtract.h valuenode_const.h valuenode_reference.h valuenode_linear.h valuenode_composite.h valuenode_dynamiclist.h valuenode_animated.h valuenode_scale.h valuenode_timedswap.h valuenode_gradientrotate.h
-VALUENODESOURCES=valuenode_exp.cpp valuenode_sine.cpp valuenode_radialcomposite.cpp valuenode_bline.cpp valuenode_blinecalcvertex.cpp valuenode_blinecalctangent.cpp valuenode_segcalcvertex.cpp valuenode_segcalctangent.cpp valuenode_twotone.cpp valuenode_repeat_gradient.cpp valuenode_stripes.cpp valuenode_add.cpp valuenode_subtract.cpp valuenode_const.cpp valuenode_reference.cpp valuenode_linear.cpp valuenode_composite.cpp valuenode_dynamiclist.cpp valuenode_animated.cpp valuenode_scale.cpp valuenode_timedswap.cpp valuenode_gradientrotate.cpp
 
-VALUEHEADERS=blinepoint.h gradient.h value.h
-VALUESOURCES=blinepoint.cpp gradient.cpp value.cpp
+TARGETHEADERS = \
+       target_multi.h \
+       target_null.h \
+       target_null_tile.h \
+       target_scanline.h \
+       target_tile.h
+
+TARGETSOURCES = \
+       target_multi.cpp \
+       target_null.cpp \
+       target_null_tile.cpp \
+       target_scanline.cpp \
+       target_tile.cpp
+
+
+IMPORTERHEADERS = \
+       listimporter.h
+
+IMPORTERSOURCES = \
+       listimporter.cpp
+
+
+VALUENODEHEADERS = \
+       valuenode_add.h \
+       valuenode_anglestring.h \
+       valuenode_animated.h \
+       valuenode_atan2.h \
+       valuenode_bline.h \
+       valuenode_blinecalctangent.h \
+       valuenode_blinecalcvertex.h \
+       valuenode_blinecalcwidth.h \
+       valuenode_blinereversetangent.h \
+       valuenode_composite.h \
+       valuenode_const.h \
+       valuenode_cos.h \
+       valuenode_dotproduct.h \
+       valuenode_duplicate.h \
+       valuenode_dynamiclist.h \
+       valuenode_exp.h \
+       valuenode_gradientcolor.h \
+       valuenode_gradientrotate.h \
+       valuenode_greyed.h \
+       valuenode_integer.h \
+       valuenode_intstring.h \
+       valuenode_join.h \
+       valuenode_linear.h \
+       valuenode_log.h \
+       valuenode_radialcomposite.h \
+       valuenode_range.h \
+       valuenode_realstring.h \
+       valuenode_reciprocal.h \
+       valuenode_reference.h \
+       valuenode_repeat_gradient.h \
+       valuenode_scale.h \
+       valuenode_segcalctangent.h \
+       valuenode_segcalcvertex.h \
+       valuenode_sine.h \
+       valuenode_step.h \
+       valuenode_stripes.h \
+       valuenode_subtract.h \
+       valuenode_switch.h \
+       valuenode_timedswap.h \
+       valuenode_timeloop.h \
+       valuenode_timestring.h \
+       valuenode_twotone.h \
+       valuenode_vectorangle.h \
+       valuenode_vectorlength.h \
+       valuenode_vectorx.h \
+       valuenode_vectory.h
+
+VALUENODESOURCES = \
+       valuenode_add.cpp \
+       valuenode_anglestring.cpp \
+       valuenode_animated.cpp \
+       valuenode_atan2.cpp \
+       valuenode_bline.cpp \
+       valuenode_blinecalctangent.cpp \
+       valuenode_blinecalcvertex.cpp \
+       valuenode_blinecalcwidth.cpp \
+       valuenode_blinereversetangent.cpp \
+       valuenode_composite.cpp \
+       valuenode_const.cpp \
+       valuenode_cos.cpp \
+       valuenode_dotproduct.cpp \
+       valuenode_duplicate.cpp \
+       valuenode_dynamiclist.cpp \
+       valuenode_exp.cpp \
+       valuenode_gradientcolor.cpp \
+       valuenode_gradientrotate.cpp \
+       valuenode_greyed.cpp \
+       valuenode_integer.cpp \
+       valuenode_intstring.cpp \
+       valuenode_join.cpp \
+       valuenode_linear.cpp \
+       valuenode_log.cpp \
+       valuenode_radialcomposite.cpp \
+       valuenode_range.cpp \
+       valuenode_realstring.cpp \
+       valuenode_reciprocal.cpp \
+       valuenode_reference.cpp \
+       valuenode_repeat_gradient.cpp \
+       valuenode_scale.cpp \
+       valuenode_segcalctangent.cpp \
+       valuenode_segcalcvertex.cpp \
+       valuenode_sine.cpp \
+       valuenode_step.cpp \
+       valuenode_stripes.cpp \
+       valuenode_subtract.cpp \
+       valuenode_switch.cpp \
+       valuenode_timedswap.cpp \
+       valuenode_timeloop.cpp \
+       valuenode_timestring.cpp \
+       valuenode_twotone.cpp \
+       valuenode_vectorangle.cpp \
+       valuenode_vectorlength.cpp \
+       valuenode_vectorx.cpp \
+       valuenode_vectory.cpp
+
+
+VALUEHEADERS = \
+       blinepoint.h \
+       gradient.h \
+       value.h
+
+VALUESOURCES = \
+       blinepoint.cpp \
+       gradient.cpp \
+       value.cpp
+
+
+SYNFIGHEADERS = \
+       angle.h \
+       canvasbase.h \
+       general.h \
+       guidset.h \
+       interpolation.h \
+       nodebase.h \
+       protocol.h \
+       quick_rng.h \
+       real.h \
+       releases.h \
+       segment.h \
+       smartfile.h \
+       string.h \
+       string_decl.h \
+       surfacenew.h \
+       synfig.h \
+       types.h \
+       vector.h \
+       version.h \
+       activepoint.h \
+       blur.h \
+       canvas.h \
+       color.h \
+       context.h \
+       curve_helper.h \
+       curveset.h \
+       distance.h \
+       exception.h \
+       gamma.h \
+       guid.h \
+       importer.h \
+       keyframe.h \
+       layer.h \
+       loadcanvas.h \
+       main.h \
+       module.h \
+       mutex.h \
+       node.h \
+       palette.h \
+       paramdesc.h \
+       polynomial_root.h \
+       rect.h \
+       renddesc.h \
+       render.h \
+       savecanvas.h \
+       surface.h \
+       target.h \
+       time.h \
+       timepointcollect.h \
+       transform.h \
+       uniqueid.h \
+       valuenode.h \
+       waypoint.h
+
+SYNFIGSOURCES = \
+       activepoint.cpp \
+       blur.cpp \
+       canvas.cpp \
+       color.cpp \
+       context.cpp \
+       curve_helper.cpp \
+       curveset.cpp \
+       distance.cpp \
+       exception.cpp \
+       gamma.cpp \
+       guid.cpp \
+       importer.cpp \
+       keyframe.cpp \
+       layer.cpp \
+       loadcanvas.cpp \
+       main.cpp \
+       module.cpp \
+       mutex.cpp \
+       node.cpp \
+       palette.cpp \
+       paramdesc.cpp \
+       polynomial_root.cpp \
+       rect.cpp \
+       renddesc.cpp \
+       render.cpp \
+       savecanvas.cpp \
+       surface.cpp \
+       target.cpp \
+       time.cpp \
+       timepointcollect.cpp \
+       transform.cpp \
+       uniqueid.cpp \
+       valuenode.cpp \
+       waypoint.cpp
 
-SYNFIGHEADERS=protocol.h surfacenew.h mutex.h timepointcollect.h interpolation.h guidset.h guid.h quick_rng.h rect.h node.h smartfile.h distance.h palette.h main.h waypoint.h activepoint.h gamma.h uniqueid.h canvasbase.h context.h real.h paramdesc.h string_decl.h angle.h keyframe.h synfig.h renddesc.h general.h importer.h surface.h module.h layer.h vector.h color.h canvas.h render.h target.h loadcanvas.h savecanvas.h valuenode.h version.h segment.h types.h exception.h string.h time.h blur.h transform.h curve_helper.h polynomial_root.h curveset.h
-SYNFIGSOURCES=mutex.cpp timepointcollect.cpp rect.cpp node.cpp guid.cpp loadcanvas.cpp distance.cpp palette.cpp paramdesc.cpp waypoint.cpp activepoint.cpp gamma.cpp uniqueid.cpp context.cpp renddesc.cpp time.cpp exception.cpp keyframe.cpp main.cpp surface.cpp module.cpp importer.cpp layer.cpp color.cpp canvas.cpp render.cpp target.cpp savecanvas.cpp valuenode.cpp blur.cpp curve_helper.cpp polynomial_root.cpp transform.cpp curveset.cpp
 
 lib_LTLIBRARIES = libsynfig.la
-libsynfig_la_SOURCES = $(VALUEHEADERS) $(VALUESOURCES) $(LAYERSOURCES) $(LAYERHEADERS) $(TARGETHEADERS) $(TARGETSOURCES) $(VALUENODEHEADERS) $(VALUENODESOURCES) $(SYNFIGHEADERS) $(SYNFIGSOURCES) $(IMPORTERHEADERS) $(IMPORTERSOURCES)
-libsynfig_la_LIBADD = @LIBLTDL@ @SYNFIG_LIBS@ @LIBADD_DL@
-libsynfig_la_CXXFLAGS = @SYNFIG_CFLAGS@ -DLIBDIR="\"@libdir@\"" -DSYSCONFDIR="\"@sysconfdir@\""
-libsynfig_la_LDFLAGS = -export-dynamic -no-undefined -version-info 0:0:0
 
-include_synfigdir=@synfigincludedir@/synfig
-include_synfig_HEADERS = $(SYNFIGHEADERS) $(LAYERHEADERS) $(TARGETHEADERS) $(VALUENODEHEADERS) $(IMPORTERHEADERS) $(VALUEHEADERS)
+libsynfig_la_SOURCES = \
+       $(VALUEHEADERS) \
+       $(VALUESOURCES) \
+       $(LAYERSOURCES) \
+       $(LAYERHEADERS) \
+       $(TARGETHEADERS) \
+       $(TARGETSOURCES) \
+       $(VALUENODEHEADERS) \
+       $(VALUENODESOURCES) \
+       $(SYNFIGHEADERS) \
+       $(SYNFIGSOURCES) \
+       $(IMPORTERHEADERS) \
+       $(IMPORTERSOURCES)
+
+libsynfig_la_LIBADD = \
+       @LIBLTDL@ \
+       @SYNFIG_LIBS@ \
+       @LIBADD_DL@
+
+libsynfig_la_CXXFLAGS = \
+       @SYNFIG_CFLAGS@ \
+       -DLIBDIR="\"@libdir@\"" \
+       -DSYSCONFDIR="\"@sysconfdir@\""
+
+libsynfig_la_LDFLAGS = \
+       -export-dynamic \
+       -no-undefined \
+       -version-info 0:0:0
+
+
+include_synfigdir = @synfigincludedir@/synfig
+
+include_synfig_HEADERS = \
+       $(SYNFIGHEADERS) \
+       $(LAYERHEADERS) \
+       $(TARGETHEADERS) \
+       $(VALUENODEHEADERS) \
+       $(IMPORTERHEADERS) \
+       $(VALUEHEADERS)