Use LinkableValueNode members functions when possible in the derived valuenodes.
[synfig.git] / synfig-core / Makefile.am
1 # $Id$
2
3 MAINTAINERCLEANFILES = \
4         COPYING \
5         INSTALL \
6         synfig.pc \
7         synfig-$(VERSION).tar.gz \
8         doxygen.cfg \
9         config/config.guess \
10         config/config.sub \
11         config/ltmain.sh \
12         config/ltmain.sh.orig \
13         config/ltmain.sh.rej \
14         config/install-sh \
15         config/mkinstalldirs \
16         config/aclocal.m4 \
17         config/missing \
18         config/texinfo.tex \
19         config/depcomp \
20         aclocal.m4 \
21         config.h.in \
22         configure \
23         stamp-h.in \
24         Makefile.in \
25         config.log \
26         config.status \
27         .doc_stamp \
28         .DS_Store \
29         include/etl_profile.h.in \
30         libltdl/COPYING.LIB \
31         libltdl/Makefile.in \
32         libltdl/acinclude.m4 \
33         libltdl/config-h.in \
34         libltdl/configure.in \
35         libltdl/ltdl.h \
36         libltdl/Makefile.am \
37         libltdl/README \
38         libltdl/aclocal.m4 \
39         libltdl/configure \
40         libltdl/ltdl.c \
41         libltdl/stamp-h.in
42
43
44 SUBDIRS = \
45         libltdl \
46         build_tools \
47         src \
48         examples \
49         po
50
51
52 # Install the pkg-config file:
53 pkgconfigdir = $(libdir)/pkgconfig
54 pkgconfig_DATA = synfig.pc
55
56 bin_SCRIPTS = synfig-config
57
58 ACLOCAL_AMFLAGS = -I m4
59
60 EXTRA_DIST = \
61         ChangeLog.old \
62         TODO \
63         m4/subs.m4 \
64         config/package \
65         doc/hw-gfx-mapping.txt \
66         win32build.sh \
67         macosxbuild.sh \
68         win32inst.nsi.in \
69         COPYING \
70         config/depcomp \
71         m4/synfig.m4 \
72         m4/cxx_macros.m4 \
73         synfig.kdevprj \
74         synfig-config.in \
75         m4/ETL.m4 \
76         doxygen.cfg.in \
77         doxygen.cfg \
78         synfig.pc.in \
79         m4/pkgconfig.m4 \
80         m4/libxml++.m4 \
81         @PACKAGE_TARNAME@.pc.in \
82         pkg-info/macosx/core-resources/ReadMe.txt \
83         pkg-info/macosx/core-resources/Welcome.txt \
84         pkg-info/macosx/core-resources/install.sh
85
86
87 GREP=grep
88 PRINTF=printf
89 SH=sh
90 DOXYGEN=doxygen
91
92 SVN=svn
93 TAG=@PACKAGE_TARNAME@_@VERSION_MAJ@_@VERSION_MIN@_@VERSION_REV@
94
95 stats:
96         -@echo
97         -@echo  -- Stats
98         -@echo
99         -@$(PRINTF) "Total lines: "
100         -@wc -l $(shell find $(top_srcdir)/src -name '*.[ch]*') | $(GREP) total
101         -@$(PRINTF) "Total size: "
102         -@du -hcs $(shell find $(top_srcdir)/src -name '*.[ch]*') | $(GREP) total
103         -@echo 
104
105 ChangeLog:
106         ../autobuild/git2cl > ChangeLog
107
108 listfixmes:
109         -@echo
110         -@echo  -- List of pending FIXMEs
111         -@echo
112         -@$(GREP) -e FIXME -e "\\fixme" -n $(shell find $(top_srcdir) -name '*.[ch]*')
113         -@echo
114
115 listhacks:
116         -@echo
117         -@echo  -- List of pending HACKs
118         -@echo
119         -@$(GREP) -e HACK -e "\\hack" -n $(shell find $(top_srcdir) -name '*.[ch]*')
120         -@echo
121
122 listtodos:
123         -@echo
124         -@echo  -- List of pending TODOs
125         -@echo
126         -@$(GREP) -e TODO -e "\\todo" -n $(shell find $(top_srcdir) -name '*.[ch]*')
127         -@echo
128
129 listoptimizes:
130         -@echo
131         -@echo  -- List of pending optimizations
132         -@echo
133         -@$(GREP) -e OPTIMIZE -e "\\optimize" -n $(shell find $(top_srcdir) -name '*.[ch]*')
134         -@echo
135
136 listwritemes:
137         -@echo
138         -@echo  -- List of pending WRITEMEs
139         -@echo
140         -@$(GREP) -e WRITEME -e "\\writeme" -n $(shell find $(top_srcdir) -name '*.[ch]*')
141         -@echo
142
143 install-bin:
144         make -C src/synfig install-libLTLIBRARIES
145
146 RMDIR=rm -fr
147
148 if WIN32_PKG    
149 package: all win32inst.nsi
150         cp -fu `which libHalf-6.dll` src/modules/mod_openexr/.libs/
151         cp -fu `which libIlmImf-6.dll` src/modules/mod_openexr/.libs/
152         cp -fu `which libIlmThread-6.dll` src/modules/mod_openexr/.libs/
153         cp -fu `which libIex-6.dll` src/modules/mod_openexr/.libs/
154         makensis win32inst.nsi
155 else
156 if MACOSX_PKG
157 package: all pkg-info/macosx/synfig-core.info
158         [ -d pkg_root ] && $(RMDIR) pkg_root || true
159         make install-strip prefix="`pwd`/pkg_root"
160         $(srcdir)/config/package pkg_root pkg-info/macosx/synfig-core.info -r $(srcdir)/pkg-info/macosx/core-resources
161 endif
162 endif
163
164 run: check
165
166 .doc_stamp: doxygen.cfg
167         $(DOXYGEN) doxygen.cfg
168         touch .doc_stamp
169
170 benchmark:
171         synfig -b -t null -q --time 0 $(srcdir)/examples/*.sif
172
173 html: .doc_stamp
174
175 rtf: .doc_stamp
176
177 docs: html
178
179 .PHONY: stats listfixmes listhacks check docs pdf html rtf