1 ## Process this file with automake to produce Makefile.in
5 SUBDIRS = . gobject gmodule gthread docs tests build
7 bin_SCRIPTS=glib-config-2.0
8 BUILT_SOURCES=glib-config-2.0
9 glib-config-2.0: glib-config-2.0.in
11 INCLUDES = -DG_LOG_DOMAIN=g_log_domain_glib @GLIB_DEBUG_FLAGS@
28 glibconfig.h.win32.in \
40 lib_LTLIBRARIES = libglib-1.3.la
42 libglib_1_3_la_SOURCES = \
81 glibincludedir=$(includedir)/glib-2.0
82 glibinclude_HEADERS = \
88 configexecincludedir = $(libdir)/glib-2.0/include
89 #configexecinclude_DATA = glibconfig.h
91 install-exec-local: glibconfig.h
92 $(mkinstalldirs) $(DESTDIR)$(configexecincludedir)
93 file=$(DESTDIR)$(configexecincludedir)/glibconfig.h; \
94 if test -r $$file && cmp -s glibconfig.h $$file; then :; \
95 else $(INSTALL_DATA) glibconfig.h $$file; fi
97 configure: configure.in acglib.m4
99 BUILT_SOURCES = stamp-gc-h #note: not glibconfig.h
100 glibconfig.h: stamp-gc-h
101 @if test -f glibconfig.h; then :; \
102 else rm -f stamp-gc-h; $(MAKE) stamp-gc-h; fi
103 stamp-gc-h: config.status
104 CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status
105 echo timestamp > stamp-gc-h
107 libglib_1_3_la_LDFLAGS = \
108 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
111 noinst_PROGRAMS = testglib testgdate testgdateparser
112 testglib_LDADD = libglib-1.3.la
113 testgdate_LDADD = libglib-1.3.la
114 testgdateparser_LDADD = libglib-1.3.la
116 m4datadir = $(datadir)/aclocal
117 m4data_DATA = glib-2.0.m4
119 pkgconfigdir = $(libdir)/pkgconfig
120 pkgconfig_DATA = glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc gthread-2.0.pc
122 glibconfig.h.win32: $(top_builddir)/config.status $(top_srcdir)/glibconfig.h.win32.in
123 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
125 config.h.win32: $(top_builddir)/config.status $(top_srcdir)/config.h.win32.in
126 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
128 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/makefile.msc.in
129 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
131 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/makefile.mingw.in
132 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
134 glib.rc: $(top_builddir)/config.status $(top_srcdir)/glib.rc.in
135 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
137 .PHONY: files release sanity snapshot
140 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
146 cd docs && make glib.html
150 ./sanity_check $(VERSION)
153 $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
156 $(MAKE) distcheck distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
159 cp glib.spec $(distdir)