1# $Id$ 2 3MAINTAINERCLEANFILES = \ 4 COPYING \ 5 INSTALL \ 6 config/config.guess \ 7 config/config.sub \ 8 config/ltmain.sh \ 9 config/install-sh \ 10 config/mkinstalldirs \ 11 config/aclocal.m4 \ 12 config/missing \ 13 config/texinfo.tex \ 14 config/depcomp \ 15 aclocal.m4 \ 16 config.h.in \ 17 configure \ 18 stamp-h.in \ 19 Makefile.in \ 20 config.log \ 21 config.status \ 22 .doc_stamp \ 23 .DS_Store \ 24 include/etl_profile.h.in \ 25 doxygen.cfg 26 27 28SUBDIRS = \ 29 ETL \ 30 test 31 32 33# Install the pkg-config file: 34pkgconfigdir = $(libdir)/pkgconfig 35pkgconfig_DATA = ETL.pc 36 37#Install the -config/m4 alternative to pkg-config: 38bin_SCRIPTS = ETL-config 39 40aclocaldir = $(prefix)/share/aclocal 41ACLOCAL_AMFLAGS = -I m4 42 43EXTRA_DIST = \ 44 COPYING \ 45 m4/subs.m4 \ 46 config/depcomp \ 47 m4/cxx_macros.m4 \ 48 ETL-config.in \ 49 m4/ETL.m4 \ 50 doxygen.cfg.in \ 51 doxygen.cfg \ 52 ETL.pc.in 53 54 55SVN=svn 56TAG=@PACKAGE_TARNAME@_@VERSION_MAJ@_@VERSION_MIN@_@VERSION_REV@ 57 58GREP=grep 59 60PRINTF=printf 61 62SH=sh 63 64DOXYGEN=doxygen 65 66stats: 67 -@echo 68 -@echo -- Stats 69 -@echo 70 -@$(PRINTF) "Total lines: " 71 -@wc -l `(find $(top_srcdir)/ETL -name '*.[ch]*')` | $(GREP) total 72 -@$(PRINTF) "Total size: " 73 -@du -hcs `find $(top_srcdir)/ETL -name '*.[ch]*'` | $(GREP) total 74 -@echo 75 76ChangeLog: 77 ../autobuild/git2cl > ChangeLog 78 79listfixmes: 80 -@echo 81 -@echo -- List of pending FIXMEs 82 -@echo 83 -@$(GREP) FIXME -n `(find $(top_srcdir) -name '*.[ch]*')` 84 -@echo 85 86listhacks: 87 -@echo 88 -@echo -- List of pending HACKs 89 -@echo 90 -@$(GREP) HACK -n `(find $(top_srcdir) -name '*.[ch]*')` 91 -@echo 92 93run: check 94 95.doc_stamp: doxygen.cfg 96 $(DOXYGEN) doxygen.cfg 97 touch .doc_stamp 98 99html: .doc_stamp 100 101rtf: .doc_stamp 102 103docs: html 104 105.PHONY: stats listfixmes listhacks check docs pdf html rtf 106