view src/amidi-plug/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
children f15e55bc0e60
line wrap: on
line source

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

OBJECTIVE_LIBS = libamidi-plug$(SHARED_SUFFIX)
SUBDIRS = pcfg 

noinst_HEADERS = amidi-plug.h i_backend.h i_midi.h i_midievent.h \
                 i_configure.h i_configure_private.h \
                 i_configure-ap.h i_configure-alsa.h \
                 i_configure-fluidsynth.h i_configure-dummy.h \
                 i_fileinfo.h i_utils.h i_common.h \
                 amidi-plug-icon.xpm amidi-plug.logo.xpm \
                 amidi-plug.midiicon.xpm

LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)

LIBADD = $(GTK_LIBS) $(GMODULE_LIBS) -lpthread ./pcfg/libpcfg.a
SOURCES = amidi-plug.c i_midi.c i_backend.c \
          i_configure.c i_configure-ap.c i_configure-alsa.c \
          i_configure-fluidsynth.c i_configure-dummy.c \
          i_utils.c i_fileinfo.c

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

CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GMODULE_CFLAGS) -DAMIDIPLUGBACKENDDIR=\"$(AMIDIPLUGBACKENDDIR)\" \
          -I../../intl -I../..

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