remove_wwindowstate name changed
[wmaker-crm.git] / Makefile.am
blobf34fcd683ff1ac55dcd4aa77a4b067a2ec8cc21a
1 ## Process this file with automake to produce Makefile.in
3 AUTOMAKE_OPTIONS =
5 BUILT_SOURCES = config-paths.h
7 DISTCLEANFILES = config-paths.h
9 config.h: config-paths.h
11 config-paths.h: Makefile
12         @echo "Generating $@"
13         @echo '/* this is a generated file - do not edit */' > $@
14         @echo '' >> $@
15         @echo '/* gettext domain used for menu translations */' >> $@
16         @if test -z "$(menutextdomain)"; then \
17           echo '/* #undef MENU_TEXTDOMAIN "$(menutextdomain)" */' >> $@; \
18         else \
19           echo '#define MENU_TEXTDOMAIN "$(menutextdomain)"' >> $@; \
20         fi
21         @echo '' >> $@
22         @echo '/* define an extra path for pixmaps */' >> $@
23         @echo '#define PIXMAPDIR "$(pixmapdir)"' >> $@
24         @echo '' >> $@
25         @echo '/* where shared data is stored */' >> $@
26         @echo '#define PKGDATADIR "$(datadir)/WindowMaker"' >> $@
27         @echo '' >> $@
28         @echo '/* where the configuration is stored */' >> $@
29         @echo '#define SYSCONFDIR "$(sysconfdir)"' >> $@
31 ACLOCAL_AMFLAGS = -I m4
33 SUBDIRS = wrlib WINGs src util po WindowMaker wmlib WPrefs.app doc test
35 EXTRA_DIST = TODO BUGS BUGFORM FAQ FAQ.I18N INSTALL \
36         INSTALL-WMAKER README.definable-cursor \
37         The-perfect-Window-Maker-patch.txt \
38         README COPYING.WTFPL autogen.sh
40 if USE_LCOV
41 coverage-reset:
42         find . -type f -name '*.gcda' -exec rm -f '{}' ';'
43         lcov --directory . --zerocounters
45 coverage:
46         rm -rf coverage @lcov_output_directory@
47         -mkdir -p coverage @lcov_output_directory@
48         lcov --compat-libtool --capture --directory . --output-file coverage/coverage.info
49         genhtml --output-directory @lcov_output_directory@ coverage/coverage.info
51 .PHONY: coverage-reset coverage
52 endif