Makefile.am 434 Bytes
Newer Older
1 2 3 4
## Process this with automake to create Makefile.in

AUTOMAKE_OPTIONS = foreign

5 6 7 8 9 10 11 12 13 14
EXTRA_DIST = icecast.xml.in

sysconf_DATA = icecast.xml

edit = sed -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
	-e 's,@localstatedir\@,$(localstatedir),g' \
	-e 's,@PACKAGE\@,$(PACKAGE),g'

icecast.xml: $(srcdir)/icecast.xml.in
	$(edit) $(srcdir)/icecast.xml.in > icecast.xml
15 16

debug:
Michael Smith's avatar
Michael Smith committed
17
	$(MAKE) all CFLAGS="@DEBUG@"
18 19

profile:
Michael Smith's avatar
Michael Smith committed
20
	$(MAKE) all CFLAGS="@PROFILE@"
21