source: trunk/third/glib2/Makefile.am @ 20721

Revision 20721, 2.7 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20720, which included commits to RCS files with non-trunk default branches.
Line 
1## Process this file with automake to produce Makefile.in
2
3AUTOMAKE_OPTIONS = 1.7
4
5SUBDIRS = . m4macros glib gobject gmodule gthread tests build po docs
6
7bin_SCRIPTS = glib-gettextize
8
9INCLUDES = -DG_LOG_DOMAIN=g_log_domain_glib @GLIB_DEBUG_FLAGS@ \
10        -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION
11
12EXTRA_DIST =                    \
13        ChangeLog.pre-2-2       \
14        ChangeLog.pre-2-0       \
15        ChangeLog.pre-1-2       \
16        glib-zip.in             \
17        NEWS.pre-1-3            \
18        acglib.m4               \
19        sanity_check            \
20        README.in               \
21        INSTALL.in              \
22        README.win32            \
23        makefile.msc            \
24        glibconfig.h.win32.in   \
25        msvc_recommended_pragmas.h \
26        config.h.win32.in       \
27        po/po2tbl.sed.in        \
28        glib-2.0.pc.in          \
29        gobject-2.0.pc.in       \
30        gmodule-2.0.pc.in       \
31        gthread-2.0.pc.in       \
32        glib-2.0-uninstalled.pc.in      \
33        gobject-2.0-uninstalled.pc.in   \
34        gmodule-2.0-uninstalled.pc.in   \
35        gthread-2.0-uninstalled.pc.in   \
36        gtk-doc.make
37
38# These may be in the builddir too
39BUILT_EXTRA_DIST =              \
40        README                  \
41        INSTALL                 \
42        glibconfig.h.win32      \
43        config.h.win32
44
45
46configexecincludedir = $(libdir)/glib-2.0/include
47#configexecinclude_DATA = glibconfig.h
48
49install-exec-local: glibconfig.h
50        $(mkinstalldirs) $(DESTDIR)$(configexecincludedir)
51        file=$(DESTDIR)$(configexecincludedir)/glibconfig.h; \
52        if test -r $$file && cmp -s glibconfig.h $$file; then :; \
53        else $(INSTALL_DATA) glibconfig.h $$file; fi
54
55uninstall-local:
56        rm -f $(DESTDIR)$(configexecincludedir)/glibconfig.h
57
58CONFIGURE_DEPENDENCIES = acglib.m4
59
60BUILT_SOURCES = stamp-gc-h #note: not glibconfig.h
61glibconfig.h: stamp-gc-h
62        @if test -f glibconfig.h; then :; \
63        else rm -f stamp-gc-h; $(MAKE) stamp-gc-h; fi
64stamp-gc-h: config.status
65        cd $(top_builddir) && $(SHELL) ./config.status glibconfig.h
66        echo timestamp > stamp-gc-h
67
68pkgconfigdir = $(libdir)/pkgconfig
69pkgconfig_DATA = glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc gthread-2.0.pc
70
71$(pkgconfig_DATA): config.status
72
73# install mkinstalldirs for glib-gettextize's benefit
74gettextdir = $(datadir)/glib-2.0/gettext
75gettext_SCRIPTS = mkinstalldirs
76
77# build documentation when doing distcheck
78DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
79
80DISTCLEANFILES = glibconfig-sysdefs.h glibconfig.h stamp-gc-h
81
82distclean-local:
83        if test $(srcdir) = .; then :; else \
84            rm -f $(BUILT_EXTRA_DIST); \
85        fi
86
87.PHONY: files release sanity snapshot
88
89files:
90        @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
91          echo $$p; \
92        done
93
94release:
95        rm -rf .deps */.deps
96        cd docs && make glib.html
97        $(MAKE) distcheck
98
99sanity:
100        ./sanity_check $(VERSION)
101
102snapshot:
103        $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
104
105snapcheck:
106        $(MAKE) distcheck distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
107
108dist-hook: $(BUILT_EXTRA_DIST)
109        files='$(BUILT_EXTRA_DIST)'; \
110        for f in $$files; do \
111          if test -f $$f; then d=.; else d=$(srcdir); fi; \
112          rm -f $(distdir)/$$f && cp $$d/$$f $(distdir) || exit 1; done
Note: See TracBrowser for help on using the repository browser.