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