view src/sid/Makefile @ 17:cf1054422f81 trunk

[svn] - fix a lot of paths - reduce more makefiles
author nenolod
date Mon, 18 Sep 2006 03:38:44 -0700
parents ada5b8bf1471
children 0c50f248ed10
line wrap: on
line source

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

OBJECTIVE_LIBS = libsid$(SHARED_SUFFIX)

###
### Source targets
###
EXTRA_DIST = xmms-sid-logo.xpm

# Generals
CFLAGS   += $(PICFLAGS) -D_REENTRANT $(PLUGIN_CFLAGS) $(SIDPLAY1_INCLUDES) $(SIDPLAY2_INCLUDES) $(BUILDERS_INCLUDES) $(GTK_CFLAGS) -I../../intl -I../..
CXXFLAGS  += $(PICFLAGS) -D_REENTRANT $(PLUGIN_CFLAGS) $(SIDPLAY1_INCLUDES) $(SIDPLAY2_INCLUDES) $(BUILDERS_INCLUDES) $(GTK_CFLAGS) -I../../intl -I../..

# Generated libraries

LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)

LDFLAGS += $(BUILDERS_LDFLAGS)
LIBADD  = $(SIDPLAY1_LDADD) $(SIDPLAY2_LDADD) $(RESID_LDADD) $(HARDSID_LDADD) $(GTK_LIBS) -lstdc++
SOURCES =	\
	xs_init.c	\
	xs_about.c	\
	xs_support.c	\
	xs_config.c	\
	xs_md5.c	\
	xs_length.c	\
	xs_genui.c	\
	xs_glade.c	\
	xs_interface.c	\
	xs_stil.c	\
	xs_title.c	\
	xs_fileinfo.c	\
	xs_filter.c	\
	xs_sidplay1.cc	\
	xs_sidplay2.cc	\
	xmms-sid.c

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

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