Makefile.am 960 Bytes
Newer Older
Owen Taylor's avatar
Owen Taylor committed
1 2 3 4 5 6 7
## Process this file with automake to produce Makefile.in

configincludedir = $(pkglibdir)/include

bin_SCRIPTS=glib-config

EXTRA_DIST =	\
Tim Janik's avatar
Tim Janik committed
8 9
		glib.m4 \
		glib.spec
Owen Taylor's avatar
Owen Taylor committed
10 11 12 13 14 15 16 17 18 19 20 21 22

lib_LTLIBRARIES = libglib-1.1.la

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

include_HEADERS = \
		glib.h

configinclude_DATA = \
		glibconfig.h

libglib_1_1_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)

INCLUDES = -I$(top_srcdir)

noinst_PROGRAMS = testglib
testglib_LDADD = libglib-@LT_RELEASE@.la

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"`