changeset 585:72a03593dfc0 trunk

[svn] build objective for amidi-plug
author nenolod
date Thu, 02 Feb 2006 18:16:10 -0800
parents f6ebe4972465
children 4daff04c6389
files Plugins/Input/amidi-plug/Makefile.am Plugins/Input/amidi-plug/Makefile.in
diffstat 2 files changed, 21 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/amidi-plug/Makefile.am	Thu Feb 02 18:13:17 2006 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-if ENABLE_AMIDIPLUG
-
-lib_LTLIBRARIES = libamidi-plug.la
-
-endif
-
-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)
-
-libamidi_plug_la_LDFLAGS = $(PLUGIN_LDFLAGS)
-libamidi_plug_la_LIBADD = $(GTK_LIBS) @ALSA_LIBS@ -lpthread
-libamidi_plug_la_SOURCES = amidi-plug.c i_seq.c i_midi.c \
-                           i_configure.c i_utils.c i_fileinfo.c \
-                           amidi-plug.logo.xpm amidi-plug.midiicon.xpm
-
-INCLUDES = $(GTK_CFLAGS) @ALSA_CFLAGS@ -I$(top_builddir)/intl -I$(top_srcdir)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Plugins/Input/amidi-plug/Makefile.in	Thu Feb 02 18:16:10 2006 -0800
@@ -0,0 +1,21 @@
+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)
+
+LDFLAGS = $(PLUGIN_LDFLAGS)
+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../../..