annotate src/amidi-plug/Makefile @ 2006:a56a26a5f233

Revised the plugindir logic.
author Eugene Paskevich <eugene@raptor.kiev.ua>
date Wed, 10 Oct 2007 01:40:13 +0300
parents e2904348f154
children 1ad002ce1bd0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1899
5af55c925d6e amidi-plug: partial transition to new build system
William Pitcock <nenolod@atheme.org>
parents: 894
diff changeset
1 PLUGIN = amidi-plug$(PLUGIN_SUFFIX)
40
f15e55bc0e60 [svn] - fixed some issues for amidiplug compilation after migraton in audacious-plugins (backends were not compiled and amidiplug was uselessly installed twice on make install)
giacomo
parents: 17
diff changeset
2 SUBDIRS = pcfg $(AMIDIPLUG_BACKENDS)
17
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
3
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
4 noinst_HEADERS = amidi-plug.h i_backend.h i_midi.h i_midievent.h \
240
59d793da5395 [svn] - import amidi-plug 0.7 (among new features, a transposer to play midi files in different keys)
giacomo
parents: 40
diff changeset
5 i_vfslayer.h i_configure.h i_configure_private.h \
437
e1c6b223431e [svn] - amidiplug: on midi backend init, pass a function that helps the backend to get the location of amidi-plug.conf
giacomo
parents: 388
diff changeset
6 i_configure_file.h i_configure-ap.h i_configure-alsa.h \
17
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
7 i_configure-fluidsynth.h i_configure-dummy.h \
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
8 i_fileinfo.h i_utils.h i_common.h \
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
9 amidi-plug-icon.xpm amidi-plug.logo.xpm \
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
10 amidi-plug.midiicon.xpm
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
11
1899
5af55c925d6e amidi-plug: partial transition to new build system
William Pitcock <nenolod@atheme.org>
parents: 894
diff changeset
12 SRCS = amidi-plug.c i_vfslayer.c i_midi.c i_backend.c \
17
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
13 i_configure.c i_configure-ap.c i_configure-alsa.c \
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
14 i_configure-fluidsynth.c i_configure-dummy.c \
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
15 i_utils.c i_fileinfo.c
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
16
1899
5af55c925d6e amidi-plug: partial transition to new build system
William Pitcock <nenolod@atheme.org>
parents: 894
diff changeset
17 include ../../buildsys.mk
5af55c925d6e amidi-plug: partial transition to new build system
William Pitcock <nenolod@atheme.org>
parents: 894
diff changeset
18 include ../../extra.mk
5af55c925d6e amidi-plug: partial transition to new build system
William Pitcock <nenolod@atheme.org>
parents: 894
diff changeset
19
17
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
20 OBJECTS = ${SOURCES:.c=.o}
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
21
1899
5af55c925d6e amidi-plug: partial transition to new build system
William Pitcock <nenolod@atheme.org>
parents: 894
diff changeset
22 EXT_DEPS = ./pcfg/libpcfg.a
894
f19e6748d8eb [svn] maintenance of build system:
yaz
parents: 578
diff changeset
23
1899
5af55c925d6e amidi-plug: partial transition to new build system
William Pitcock <nenolod@atheme.org>
parents: 894
diff changeset
24 CFLAGS += $(PLUGIN_CFLAGS)
5af55c925d6e amidi-plug: partial transition to new build system
William Pitcock <nenolod@atheme.org>
parents: 894
diff changeset
25 CPPFLAGS += $(PLUGIN_CPPFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(GMODULE_CFLAGS) $(MOWGLI_CFLAGS) \
2006
a56a26a5f233 Revised the plugindir logic.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents: 2005
diff changeset
26 -DAMIDIPLUGBACKENDDIR=\"$(plugindir)/$(AMIDIPLUG_BACKEND_DIR)\" -I../../intl -I../..
17
cf1054422f81 [svn] - fix a lot of paths
nenolod
parents:
diff changeset
27
1899
5af55c925d6e amidi-plug: partial transition to new build system
William Pitcock <nenolod@atheme.org>
parents: 894
diff changeset
28 LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(GMODULE_LIBS) -lpthread ./pcfg/libpcfg.a
2006
a56a26a5f233 Revised the plugindir logic.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents: 2005
diff changeset
29
a56a26a5f233 Revised the plugindir logic.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents: 2005
diff changeset
30 plugindir := $(plugindir)/$(INPUT_PLUGIN_DIR)