Makefile.am 739 Bytes
Newer Older
Jack Moffitt's avatar
Jack Moffitt committed
1 2
## Process this file with automake to produce Makefile.in

brendan's avatar
brendan committed
3
AUTOMAKE_OPTIONS = 1.6 foreign
4
ACLOCAL_AMFLAGS = -I m4
Jack Moffitt's avatar
Jack Moffitt committed
5

6 7 8 9
SUBDIRS = include src doc win32
if HAVE_EXAMPLES
SUBDIRS += examples
endif
Jack Moffitt's avatar
Jack Moffitt committed
10

11
EXTRA_DIST = INSTALL m4/shout.m4 m4/acx_pthread.m4 \
brendan's avatar
brendan committed
12
	m4/ogg.m4 m4/vorbis.m4 m4/xiph_compiler.m4 m4/xiph_net.m4 \
13
	m4/xiph_types.m4 libshout.ckport
14

15
docdir = $(datadir)/doc/$(PACKAGE)
brendan's avatar
brendan committed
16
doc_DATA = COPYING NEWS README examples/example.c examples/nonblocking.c
17 18

m4datadir = $(datadir)/aclocal
19
m4data_DATA = m4/shout.m4
20

21 22 23
ckportdir = $(libdir)/ckport/db
ckport_DATA = libshout.ckport

24 25 26 27
if HAVE_PKGCONFIG
  pkgconfigdir = $(libdir)/pkgconfig
  pkgconfig_DATA = shout.pc
endif
28

Jack Moffitt's avatar
Jack Moffitt committed
29 30 31 32 33
debug:
	$(MAKE) all CFLAGS="@DEBUG@"

profile:
	$(MAKE) all CFLAGS="@PROFILE@"