view src/audtool/Makefile @ 3131:dfe8f4eb3dba trunk

Automated merge with ssh://hg.atheme.org//hg/audacious
author William Pitcock <nenolod@atheme-project.org>
date Fri, 20 Jul 2007 20:09:08 -0500
parents d1198fb765c6
children 9ddf21ab5c84
line wrap: on
line source

include ../../mk/rules.mk
include ../../mk/init.mk
include ../../mk/objective.mk

OBJECTIVE_BINS = audtool

LDFLAGS += $(AUDLDFLAGS)
LDADD = \
	$(DBUS_LIBS) \
	-L../libaudclient -laudclient \
	$(GTK_LIBS)      \
	$(MOWGLI_LIBS)	 \
	$(LIBGLADE_LIBS)

CFLAGS += \
	$(GTK_CFLAGS)      \
	$(DBUS_CFLAGS)     \
	$(LIBGLADE_CFLAGS) \
	$(BEEP_DEFINES)    \
	$(ARCH_DEFINES)    \
	$(MOWGLI_CFLAGS)   \
	-I.. -I../..   \
	-I../intl

SOURCES =	 			\
	audtool_main.c			\
	audtool_handlers_general.c	\
	audtool_handlers_playback.c	\
	audtool_handlers_playlist.c	\
	audtool_handlers_playqueue.c	\
	audtool_handlers_vitals.c	\
	audtool_report.c

OBJECTS = ${SOURCES:.c=.o}

audtool: $(OBJECTS)
	$(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@
	@printf "%10s     %-20s\n" LINK $@