1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = . gmodule gthread docs tests
5 configincludedir = $(pkglibdir)/include
7 bin_SCRIPTS=glib-config
8 BUILT_SOURCES=glib-config
9 glib-config: glib-config.in
11 INCLUDES = -DG_LOG_DOMAIN=g_log_domain_glib @GLIB_DEBUG_FLAGS@
25 lib_LTLIBRARIES = libglib.la
27 libglib_la_SOURCES = \
57 configinclude_DATA = \
60 configure: configure.in acglib.m4
62 BUILT_SOURCES = stamp-gc-h #note: not glibconfig.h
63 glibconfig.h: stamp-gc-h
65 stamp-gc-h: config.status
66 CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status
67 echo timestamp > stamp-gc-h
69 libglib_la_LDFLAGS = \
70 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
71 -release $(LT_RELEASE)
73 noinst_PROGRAMS = testglib testgdate testgdateparser
74 testglib_LDADD = libglib.la
75 testgdate_LDADD = libglib.la
76 testgdateparser_LDADD = libglib.la
78 m4datadir = $(datadir)/aclocal
81 .PHONY: files release sanity snapshot
84 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
90 cd docs && make glib.html
94 ./sanity_check $(VERSION)
97 $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`