1## Process this file with automake to produce Makefile.in
2
3ACLOCAL_AMFLAGS = -I m4
4
5SUBDIRS = conf doc web admin src
6if WIN32
7SUBDIRS += win32
8endif
9
10BUILT_SOURCES = git_hash.h
11dist_check_SCRIPTS = GIT-VERSION-GEN
12CLEANFILES = git_hash.h
13
14EXTRA_DIST = HACKING config.h.vc6 m4/acx_pthread.m4 m4/ogg.m4 \
15    m4/theora.m4 m4/vorbis.m4 m4/speex.m4\
16    m4/xiph_compiler.m4 m4/xiph_curl.m4 m4/xiph_net.m4 \
17    m4/xiph_types.m4 m4/xiph_xml2.m4 m4/xiph_openssl.m4 icecast.spec
18
19docdir = $(datadir)/doc/$(PACKAGE)
20doc_DATA = README AUTHORS COPYING NEWS TODO
21
22git_hash.h: FORCE
23	@$(SHELL_PATH) $(srcdir)/GIT-VERSION-GEN
24FORCE:
25
26debug:
27	$(MAKE) all CFLAGS="-Wno-unused-parameter @DEBUG@"
28
29profile:
30	$(MAKE) all CFLAGS="@PROFILE@"
31
32staticdebug:
33	$(MAKE) all CFLAGS="-g -DLIBXML_STATIC -DCURL_STATICLIB" LDFLAGS="${LDFLAGS} -all-static"
34static:
35	$(MAKE) all CFLAGS="-O2 -DLIBXML_STATIC -DCURL_STATICLIB" LDFLAGS="${LDFLAGS} -static-libstdc++" CXXFLAGS=
36