More Win32 updates. Add missing Win32 files to distributed files.
[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 gthread docs tests
5 all-recursive-am: all-am
6 # alpha `automake' supports this better
7 #SUBDIRS = . gmodule gthread docs tests
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         acglib.m4               \
21         sanity_check            \
22         README.win32            \
23         glib.def                \
24         makefile.msc            \
25         giowin32.c              \
26         glibconfig.h.win32      \
27         config.h.win32
28
29 lib_LTLIBRARIES = libglib.la
30
31 libglib_la_SOURCES = \
32         garray.c        \
33         gcache.c        \
34         gcompletion.c   \
35         gdataset.c      \
36         gdate.c         \
37         gerror.c        \
38         ghash.c         \
39         ghook.c         \
40         giochannel.c    \
41         giounix.c       \
42         glist.c         \
43         gmain.c         \
44         gmem.c          \
45         gmessages.c     \
46         gmutex.c        \
47         gnode.c         \
48         gprimes.c       \
49         grel.c          \
50         gscanner.c      \
51         gslist.c        \
52         gstrfuncs.c     \
53         gstring.c       \
54         gtimer.c        \
55         gtree.c         \
56         gutils.c
57
58 include_HEADERS = \
59         glib.h
60
61 configinclude_DATA = \
62         glibconfig.h
63
64 configure: configure.in acglib.m4               
65
66 BUILT_SOURCES = stamp-gc-h #note: not glibconfig.h
67 glibconfig.h: stamp-gc-h
68         @:
69 stamp-gc-h: config.status
70         CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status
71         echo timestamp > stamp-gc-h
72
73 libglib_la_LDFLAGS = \
74         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
75         -release $(LT_RELEASE)
76
77 noinst_PROGRAMS = testglib testgdate testgdateparser
78 testglib_LDADD = libglib.la
79 testgdate_LDADD = libglib.la
80 testgdateparser_LDADD = libglib.la
81
82 m4datadir = $(datadir)/aclocal
83 m4data_DATA = glib.m4
84
85 .PHONY: files release sanity snapshot
86
87 files:
88         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
89           echo $$p; \
90         done
91
92 release:
93         rm -rf .deps */.deps
94         cd docs && make glib.html
95         $(MAKE) distcheck
96
97 sanity:
98         ./sanity_check $(VERSION)
99
100 snapshot:
101         $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`