minor hack to cause SUBDIRS (gmodule) to be build last. we do this by
[platform/upstream/glib.git] / glib / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 SUBDIRS = gmodule
4
5 configincludedir = $(pkglibdir)/include
6
7 bin_SCRIPTS=glib-config
8 BUILT_SOURCES=glib-config
9 glib-config: glib-config.in
10
11 EXTRA_DIST =    \
12                 glib.m4 \
13                 glib.spec
14
15 # build . first, then SUBDIRS
16 all-recursive-am: all-am
17
18 lib_LTLIBRARIES = libglib-1.1.la
19
20 libglib_1_1_la_SOURCES = \
21                 garray.c        \
22                 gcache.c        \
23                 gcompletion.c   \
24                 gdataset.c      \
25                 gerror.c        \
26                 ghash.c         \
27                 glist.c         \
28                 gmem.c          \
29                 gmessages.c     \
30                 gnode.c         \
31                 gprimes.c       \
32                 gslist.c        \
33                 gtimer.c        \
34                 gtree.c         \
35                 grel.c          \
36                 gstring.c       \
37                 gstrfuncs.c     \
38                 gscanner.c      \
39                 gutils.c
40
41 include_HEADERS = \
42                 glib.h
43
44 configinclude_DATA = \
45                 glibconfig.h
46
47 libglib_1_1_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
48
49 INCLUDES = -I$(top_srcdir)
50
51 noinst_PROGRAMS = testglib
52 testglib_LDADD = libglib-@LT_RELEASE@.la
53
54 m4datadir = $(datadir)/aclocal
55 m4data_DATA = glib.m4
56
57 .PHONY: files release
58
59 files:
60         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
61           echo $$p; \
62         done
63
64 release:
65         $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`