removed the GListAllocator type and its g_*_allocator_*() function
[platform/upstream/glib.git] / 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
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                 gerror.c        \
35                 ghash.c         \
36                 ghook.c         \
37                 glist.c         \
38                 gmem.c          \
39                 gmessages.c     \
40                 gnode.c         \
41                 gprimes.c       \
42                 gslist.c        \
43                 gtimer.c        \
44                 gtree.c         \
45                 grel.c          \
46                 gstring.c       \
47                 gstrfuncs.c     \
48                 gscanner.c      \
49                 gutils.c
50
51 include_HEADERS = \
52                 glib.h
53
54 configinclude_DATA = \
55                 glibconfig.h
56
57 BUILT_SOURCES = stamp-gc-h #note: not glibconfig.h
58 glibconfig.h: stamp-gc-h
59         @:
60 stamp-gc-h: config.status
61         CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status
62         echo timestamp > stamp-gc-h
63
64 libglib_la_LDFLAGS = \
65         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE)
66
67 noinst_PROGRAMS = testglib
68 testglib_LDADD = libglib.la
69
70 m4datadir = $(datadir)/aclocal
71 m4data_DATA = glib.m4
72
73 .PHONY: files release sanity snapshot
74
75 files:
76         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
77           echo $$p; \
78         done
79
80 release:
81         rm -rf .deps */.deps
82         cd docs && make glib.html
83         $(MAKE) distcheck
84
85 sanity:
86         ./sanity_check $(VERSION)
87
88 snapshot:
89         $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`