Makefile.am 1.07 KB
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
	 util.h source.h stats.h refbuf.h client.h format.h format_vorbis.h\
Michael Smith's avatar
Michael Smith committed
11
	 compat.h format_mp3.h
Jack Moffitt's avatar
Jack Moffitt committed
12
icecast_SOURCES = config.c main.c logging.c sighandler.c connection.c global.c\
Michael Smith's avatar
Michael Smith committed
13 14 15
	 util.c source.c stats.c refbuf.c client.c format.c format_vorbis.c\
	 format_mp3.c
    
Jack Moffitt's avatar
Jack Moffitt committed
16 17
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
18

Jack Moffitt's avatar
Jack Moffitt committed
19 20
LIBS = @LIBS@ -lpthread @SOCKET_LIBS@ @XML_LIBS@ @OGG_LIBS@ @VORBIS_LIBS@
CFLAGS = @CFLAGS@ @XML_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@
Jack Moffitt's avatar
Jack Moffitt committed
21 22 23 24 25 26 27 28

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:
Jack Moffitt's avatar
Jack Moffitt committed
29
        $(MAKE) all CFLAGS="@DEBUG@ @XML_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@"
Jack Moffitt's avatar
Jack Moffitt committed
30 31

profile:
Jack Moffitt's avatar
Jack Moffitt committed
32
        $(MAKE) all CFLAGS="@PROFILE@ @XML_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@"
Jack Moffitt's avatar
Jack Moffitt committed
33