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