Using mutexes around accesses to refcounts seems to make the Windows build much less...
[synfig.git] / synfig-core / trunk / src / synfig / Makefile.am
1 # $Id$
2
3 MAINTAINERCLEANFILES = \
4         Makefile.in
5
6 INCLUDES = \
7         -I$(top_builddir) -I$(top_srcdir)/src @INCLTDL@
8
9 EXTRA_DIST = \
10         surfacenew.cpp pch.h synfig.nsh
11
12 LAYERHEADERS = \
13         layer_bitmap.h   layer_composite.h   layer_duplicate.h   layer_mime.h   layer_motionblur.h                      \
14         layer_pastecanvas.h   layer_polygon.h   layer_shape.h   layer_solidcolor.h
15 LAYERSOURCES = \
16         layer_bitmap.cpp layer_composite.cpp layer_duplicate.cpp layer_mime.cpp layer_motionblur.cpp                    \
17         layer_pastecanvas.cpp layer_polygon.cpp layer_shape.cpp layer_solidcolor.cpp
18
19 TARGETHEADERS = \
20         target_multi.h   target_null.h   target_null_tile.h   target_scanline.h   target_tile.h
21 TARGETSOURCES = \
22         target_multi.cpp target_null.cpp target_null_tile.cpp target_scanline.cpp target_tile.cpp
23
24 IMPORTERHEADERS = \
25         listimporter.h
26 IMPORTERSOURCES = \
27         listimporter.cpp
28
29 VALUENODEHEADERS = \
30         valuenode_add.h   valuenode_animated.h   valuenode_atan2.h   valuenode_bline.h   valuenode_blinecalctangent.h   \
31         valuenode_blinecalcvertex.h   valuenode_blinecalcwidth.h   valuenode_blinereversetangent.h                      \
32         valuenode_composite.h   valuenode_const.h   valuenode_cos.h   valuenode_duplicate.h   valuenode_dynamiclist.h   \
33         valuenode_exp.h   valuenode_gradientrotate.h   valuenode_integer.h   valuenode_linear.h                         \
34         valuenode_radialcomposite.h   valuenode_range.h   valuenode_reciprocal.h   valuenode_reference.h                \
35         valuenode_repeat_gradient.h   valuenode_scale.h   valuenode_segcalctangent.h   valuenode_segcalcvertex.h        \
36         valuenode_sine.h   valuenode_step.h   valuenode_stripes.h   valuenode_subtract.h   valuenode_switch.h           \
37         valuenode_timedswap.h   valuenode_timeloop.h   valuenode_twotone.h
38 VALUENODESOURCES = \
39         valuenode_add.cpp valuenode_animated.cpp valuenode_atan2.cpp valuenode_bline.cpp valuenode_blinecalctangent.cpp \
40         valuenode_blinecalcvertex.cpp valuenode_blinecalcwidth.cpp valuenode_blinereversetangent.cpp                    \
41         valuenode_composite.cpp valuenode_const.cpp valuenode_cos.cpp valuenode_duplicate.cpp valuenode_dynamiclist.cpp \
42         valuenode_exp.cpp valuenode_gradientrotate.cpp valuenode_integer.cpp valuenode_linear.cpp                       \
43         valuenode_radialcomposite.cpp valuenode_range.cpp valuenode_reciprocal.cpp valuenode_reference.cpp              \
44         valuenode_repeat_gradient.cpp valuenode_scale.cpp valuenode_segcalctangent.cpp valuenode_segcalcvertex.cpp      \
45         valuenode_sine.cpp valuenode_step.cpp valuenode_stripes.cpp valuenode_subtract.cpp valuenode_switch.cpp         \
46         valuenode_timedswap.cpp valuenode_timeloop.cpp valuenode_twotone.cpp
47
48 VALUEHEADERS = \
49         blinepoint.h   gradient.h   value.h
50 VALUESOURCES = \
51         blinepoint.cpp gradient.cpp value.cpp
52
53 SYNFIGHEADERS = \
54         angle.h canvasbase.h general.h guidset.h interpolation.h nodebase.h protocol.h quick_rng.h real.h releases.h    \
55         segment.h smartfile.h string.h string_decl.h surfacenew.h synfig.h types.h vector.h version.h                   \
56         activepoint.h   blur.h   canvas.h   color.h   context.h   curve_helper.h   curveset.h   distance.h              \
57         exception.h   gamma.h   guid.h   importer.h   keyframe.h   layer.h   loadcanvas.h   main.h   module.h           \
58         mutex.h   node.h   palette.h   paramdesc.h   polynomial_root.h   rect.h   renddesc.h   render.h                 \
59         savecanvas.h   surface.h   target.h   time.h   timepointcollect.h   transform.h   uniqueid.h   valuenode.h      \
60         waypoint.h
61 SYNFIGSOURCES = \
62         activepoint.cpp blur.cpp canvas.cpp color.cpp context.cpp curve_helper.cpp curveset.cpp distance.cpp            \
63         exception.cpp gamma.cpp guid.cpp importer.cpp keyframe.cpp layer.cpp loadcanvas.cpp main.cpp module.cpp         \
64         mutex.cpp node.cpp palette.cpp paramdesc.cpp polynomial_root.cpp rect.cpp renddesc.cpp render.cpp               \
65         savecanvas.cpp surface.cpp target.cpp time.cpp timepointcollect.cpp transform.cpp uniqueid.cpp valuenode.cpp    \
66         waypoint.cpp
67
68 lib_LTLIBRARIES = libsynfig.la
69 libsynfig_la_SOURCES = \
70         $(VALUEHEADERS) $(VALUESOURCES) $(LAYERSOURCES) $(LAYERHEADERS) $(TARGETHEADERS) $(TARGETSOURCES)               \
71         $(VALUENODEHEADERS) $(VALUENODESOURCES) $(SYNFIGHEADERS) $(SYNFIGSOURCES) $(IMPORTERHEADERS) $(IMPORTERSOURCES)
72 libsynfig_la_LIBADD = @LIBLTDL@ @SYNFIG_LIBS@ @LIBADD_DL@
73 libsynfig_la_CXXFLAGS = @SYNFIG_CFLAGS@ -DLIBDIR="\"@libdir@\"" -DSYSCONFDIR="\"@sysconfdir@\""
74 libsynfig_la_LDFLAGS = -export-dynamic -no-undefined -version-info 0:0:0
75
76 include_synfigdir=@synfigincludedir@/synfig
77 include_synfig_HEADERS = \
78         $(SYNFIGHEADERS) $(LAYERHEADERS) $(TARGETHEADERS) $(VALUENODEHEADERS) $(IMPORTERHEADERS) $(VALUEHEADERS)