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

OBJECTIVE_LIBS = libamidi-plug.so

noinst_HEADERS = amidi-plug.h i_seq.h i_midi.h i_configure.h \
                 i_fileinfo.h i_utils.h i_common.h

LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)

LIBADD = $(GTK_LIBS) $(ALSA_LIBS) -lpthread
SOURCES = amidi-plug.c i_seq.c i_midi.c \
          i_configure.c i_utils.c i_fileinfo.c

DATA = amidi-plug.logo.xpm amidi-plug.midiicon.xpm

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

CFLAGS += -fPIC -DPIC $(GTK_CFLAGS) $(ALSA_CFLAGS) \
	-I../../../intl -I../../..
