Makefile.am 916 Bytes
Newer Older
Jack Moffitt's avatar
Jack Moffitt committed
1
2
3
4
5
6
7
8
9
## Process this with automake to create Makefile.in

AUTOMAKE_OPTIONS = foreign

SUBDIRS = avl thread httpp net log timing

bin_PROGRAMS = icecast

noinst_HEADERS = config.h os.h logging.h sighandler.h connection.h global.h\
10
11
	 util.h source.h stats.h refbuf.h client.h format.h format_vorbis.h\
	 compat.h
Jack Moffitt's avatar
Jack Moffitt committed
12
13
14
15
16
icecast_SOURCES = config.c main.c logging.c sighandler.c connection.c global.c\
	 util.c source.c stats.c refbuf.c client.c format.c format_vorbis.c

icecast_LDADD = net/libicenet.la thread/libicethread.la httpp/libicehttpp.la\
		log/libicelog.la avl/libiceavl.la timing/libicetiming.la
Jack Moffitt's avatar
Jack Moffitt committed
17
18

LIBS = -lpthread @SOCKET_LIBS@ @XML_LIBS@ @OGG_LIBS@ @VORBIS_LIBS@
Jack Moffitt's avatar
Jack Moffitt committed
19
20
21
22
23
24
25
26
27
28
29
30
31

INCLUDES = -I$(srcdir)/net -I$(srcdir)/thread -I$(srcdir)/avl -I$(srcdir)/httpp \
	-I$(srcdir)/log -I$(srcdir)/timing

# SCCS stuff (for BitKeeper)
GET = true

debug:
        $(MAKE) all CFLAGS="@DEBUG@"

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