Makefile.am 1.12 KB
Newer Older
Owen Taylor's avatar
Owen Taylor committed
1 2
## Process this file with automake to produce Makefile.in

Tim Janik's avatar
Tim Janik committed
3 4
SUBDIRS = gmodule

Owen Taylor's avatar
Owen Taylor committed
5 6 7
configincludedir = $(pkglibdir)/include

bin_SCRIPTS=glib-config
Tim Janik's avatar
Tim Janik committed
8 9
BUILT_SOURCES=glib-config
glib-config: glib-config.in
Owen Taylor's avatar
Owen Taylor committed
10

11 12
DEFS += -DG_LOG_DOMAIN=g_log_domain_glib

Owen Taylor's avatar
Owen Taylor committed
13
EXTRA_DIST =	\
Tim Janik's avatar
Tim Janik committed
14 15
		glib.m4 \
		glib.spec
Owen Taylor's avatar
Owen Taylor committed
16

17 18 19
# build . first, then SUBDIRS
all-recursive-am: all-am

20
lib_LTLIBRARIES = libglib.la
Owen Taylor's avatar
Owen Taylor committed
21

22
libglib_la_SOURCES = \
Owen Taylor's avatar
Owen Taylor committed
23 24 25 26 27 28
		garray.c	\
		gcache.c	\
		gcompletion.c	\
		gdataset.c	\
		gerror.c	\
		ghash.c		\
Tim Janik's avatar
Tim Janik committed
29
		ghook.c		\
Owen Taylor's avatar
Owen Taylor committed
30 31 32
		glist.c		\
		gmem.c		\
		gmessages.c	\
Tim Janik's avatar
Tim Janik committed
33
		gnode.c		\
Owen Taylor's avatar
Owen Taylor committed
34 35 36 37
		gprimes.c	\
		gslist.c	\
		gtimer.c	\
		gtree.c		\
38
		grel.c		\
Owen Taylor's avatar
Owen Taylor committed
39
		gstring.c	\
40
		gstrfuncs.c	\
Owen Taylor's avatar
Owen Taylor committed
41 42 43 44 45 46 47 48 49
		gscanner.c	\
		gutils.c

include_HEADERS = \
		glib.h

configinclude_DATA = \
		glibconfig.h

50 51
libglib_la_LDFLAGS = \
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE)
Owen Taylor's avatar
Owen Taylor committed
52 53 54
INCLUDES = -I$(top_srcdir)

noinst_PROGRAMS = testglib
55
testglib_LDADD = libglib.la
Owen Taylor's avatar
Owen Taylor committed
56 57 58 59 60 61 62 63 64 65 66 67 68

m4datadir = $(datadir)/aclocal
m4data_DATA = glib.m4

.PHONY: files release

files:
	@files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
	  echo $$p; \
	done

release:
	$(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`