There are outstanding issues, but they should be resolvable in-place. If
[platform/upstream/glib.git] / glib / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 # build . first, then SUBDIRS
4 SUBDIRS = gmodule docs
5 all-recursive-am: all-am
6 # alpha `automake' supports this better
7 #SUBDIRS = . gmodule docs
8
9 configincludedir = $(pkglibdir)/include
10
11 bin_SCRIPTS=glib-config
12 BUILT_SOURCES=glib-config
13 glib-config: glib-config.in
14
15 INCLUDES = -DG_LOG_DOMAIN=g_log_domain_glib @GLIB_DEBUG_FLAGS@
16
17 EXTRA_DIST = \
18         glib.m4         \
19         glib.spec       \
20         sanity_check    \
21         README.win32    \
22         glib.def        \
23         makefile.lcc    \
24         makefile.msc    \
25         glibconfig.h.win32
26
27 lib_LTLIBRARIES = libglib.la
28
29 libglib_la_SOURCES = \
30                 garray.c        \
31                 gcache.c        \
32                 gcompletion.c   \
33                 gdataset.c      \
34                 gdate.c         \
35                 gerror.c        \
36                 ghash.c         \
37                 ghook.c         \
38                 glist.c         \
39                 gmem.c          \
40                 gmessages.c     \
41                 gnode.c         \
42                 gprimes.c       \
43                 gslist.c        \
44                 gtimer.c        \
45                 gtree.c         \
46                 grel.c          \
47                 gstring.c       \
48                 gstrfuncs.c     \
49                 gscanner.c      \
50                 gutils.c
51
52 include_HEADERS = \
53                 glib.h
54
55 configinclude_DATA = \
56                 glibconfig.h
57
58 BUILT_SOURCES = stamp-gc-h #note: not glibconfig.h
59 glibconfig.h: stamp-gc-h
60         @:
61 stamp-gc-h: config.status
62         CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status
63         echo timestamp > stamp-gc-h
64
65 libglib_la_LDFLAGS = \
66         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE)
67
68 noinst_PROGRAMS = testglib
69 testglib_LDADD = libglib.la
70
71 m4datadir = $(datadir)/aclocal
72 m4data_DATA = glib.m4
73
74 .PHONY: files release sanity snapshot
75
76 files:
77         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
78           echo $$p; \
79         done
80
81 release:
82         rm -rf .deps */.deps
83         cd docs && make glib.html
84         $(MAKE) distcheck
85
86 sanity:
87         ./sanity_check $(VERSION)
88
89 snapshot:
90         $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`