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

OBJECTIVE_LIBS = libcdaudio.so

LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)

SOURCES = cdaudio.c cddb.c cdinfo.c configure.c http.c 

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

CFLAGS += -fPIC -DPIC @GTK_CFLAGS@ -I../../../intl -I../../..

libcdaudio.so: $(OBJECTS)
	$(CC) $(CFLAGS) -shared -o $@ $(OBJECTS)
