view src/flac/Makefile @ 894:f19e6748d8eb trunk

[svn] maintenance of build system: - link for OBJECTIVE_LIBS had not occurred even if OBJECTIVE_LIBS_NOINST was re-linked. LIBDEP macro is introduced to indicate dependency. - make rules such as $(AR) cq $@ $(OBJECTS) in individual Makefile have been removed. these linkage will be done through objective.mk. - *.h has been removed from SOURCES. these files had been passed to linker as object files.
author yaz
date Sat, 24 Mar 2007 09:08:58 -0700
parents d24c2d0fb60c
children
line wrap: on
line source

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

SUBDIRS = libflac plugin_common

noinst_HEADERS = \
	charset.h \
	configure.h \
	plugin.h \
	tag.h \
	fast_float_math_hack.h \
	replaygain_analysis.h \
	grabbag.h \
	replaygain_synthesis.h

OBJECTIVE_LIBS = libflac$(SHARED_SUFFIX)

LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)

LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) -L./libflac -L./plugin_common -laudflac -lplugin_common $(OGG_VORBIS_LIBS)

SOURCES = \
	charset.c \
	configure.c \
	fileinfo.c \
	plugin.c \
	tag.c \
	replaygain_synthesis.c \
	replaygain.c \
	replaygain_analysis.c \
	file.c

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

LIBDEP = libflac/libaudflac.a plugin_common/libplugin_common.a

# XXX: debian
CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../.. -I./libflac $(OGG_VORBIS_CFLAGS)

include ../../mk/objective.mk