1 ## Process this file with automake to produce Makefile.in
3 # build . first, then SUBDIRS
4 SUBDIRS = gmodule gthread docs tests
5 all-recursive-am: all-am
6 # alpha `automake' supports this better
7 #SUBDIRS = . gmodule gthread docs tests
9 configincludedir = $(pkglibdir)/include
11 bin_SCRIPTS=glib-config
12 BUILT_SOURCES=glib-config
13 glib-config: glib-config.in
15 INCLUDES = -DG_LOG_DOMAIN=g_log_domain_glib @GLIB_DEBUG_FLAGS@
28 lib_LTLIBRARIES = libglib.la
30 libglib_la_SOURCES = \
60 configinclude_DATA = \
63 configure: configure.in acglib.m4
65 BUILT_SOURCES = stamp-gc-h #note: not glibconfig.h
66 glibconfig.h: stamp-gc-h
68 stamp-gc-h: config.status
69 CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status
70 echo timestamp > stamp-gc-h
72 libglib_la_LDFLAGS = \
73 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
74 -release $(LT_RELEASE)
76 noinst_PROGRAMS = testglib testgdate testgdateparser
77 testglib_LDADD = libglib.la
78 testgdate_LDADD = libglib.la
79 testgdateparser_LDADD = libglib.la
81 m4datadir = $(datadir)/aclocal
84 .PHONY: files release sanity snapshot
87 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
93 cd docs && make glib.html
97 ./sanity_check $(VERSION)
100 $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`