view src/amidi-plug/Makefile @ 326:90a843d02970 trunk

[svn] - some OSes use macros for some f*() functions, therefore make sure we properly cast our opaque data to a FILE* struct.
author nenolod
date Sat, 02 Dec 2006 14:43:27 -0800
parents 59d793da5395
children 0c50f248ed10
line wrap: on
line source

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

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

noinst_HEADERS = amidi-plug.h i_backend.h i_midi.h i_midievent.h \
                 i_vfslayer.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_vfslayer.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